Gantt chart shows only 1 colour
Hi,
I built a gannt chart using dynamicXML built from PL/SQL. This chart shows only 1 colour (blue) even if I try to change the colours.
There is an example (with fixed values) on my workspace POS_SCHULUNG user demo/demo and the application 56754 page 4
What did I wrong?
Please help me, it is very urgent.
Regrads
Siegwin
Hi Siegwin,
Although the data section of your generated chart XML contains references to styles, such as CadetBlue2, yellow, etc, you haven't actually defined those styles within the <period_styles> tags of the XML. Therefore, the chart will apply the default blue colour to each timeline of the chart. You'll see that there's a default style called defaultStyle already generated for you in the XML i.e. <period_style name="defaultStyle"> What you need to do is create your own styles, mirroring the defaultStyle example, in order to apply other colours to your gantt chart. I've updated your XML to include a new yellow style, so you can see that one of the elements of the chart now picks up that colour.
My sample chart, Resource Gantt with Custom Styles, should hopefully help to explain what you need to do in order to apply custom colours to your chart: http://apex.oracle.com/pls/apex/f?p=36648:60
I hope this helps.
Regards,
Hilary
Similar Messages
-
Hi,
we are developing a Gantt chart in an ABAP webdynpro. The chart is not a problem, however only points are being displayed, not bars - as expected.
The same problem was described for J2EE webdynpros. Unfortunately, the way it was solved there does not seem to work in ABAP.
Is there anybody who can advise on this?
Thanx, ReneA colleague of mine solved the problem. The attribute 'Marker Shape' of the default series must be set to None.
Cheers,
Rene -
Gantt Chart Shows Months With Nothing in it Requiring User to Scroll to Dates
I have a task list with a filtered list of dates that all fall in October yet the Gantt chart starts in April. Thus a user has to scroll all the way over to the far right to see any of the active tasks in the list. Is there a solution for this? Am I missing
some basic setting? I also don't see the "You are here" date line. I am on SharePoint 2013 0365.
Thanks!
eHi ,
You can click the ribbon button "Zoom Out" under list tab to show a larger time increment on the time scale, then it should show the whole task bar and status without scrolling to the right.
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you havefeedback for TechNet Subscriber Support, contact
[email protected]
Daniel Yang
TechNet Community Support -
How to show dependency Arrrow in Project Gantt chart ?
Hi,
I have a requirement in which I need to show a Gantt chart showing Project and corresponding task of it. If Say Task2 is dependent on Task1 then I need to show an arrrow between these two tasks showing the dependency direction. But in my prototype project I am not able to show these arrow. I have attached my sample project. In this (Project2) I have a Task table having taskId, startTime, endTime and dependentTask coulmn, After I created EO, VO, AM and run the AM, I can see the Task2 is dependent on Task1, using the viewlink accessor window
But when I drag and drop this on a page as Project Gantt chart I can not see the dependency arrows. while creating gantt chart, in the dependency tab of Gantt chart I have provided fromTaskId -> taskId and To task Id -> dependentTask.
Still the arrows are not coming, Please help.
The table creation script is below
create table task_data (
name varchar2(30),
taskId varchar2(30) primary key,
startTime date,
endTime date,
dependentTask varchar2(30),
type varchar2(30)
insert into task_data values ('Project1', '1', '01-JAN-2012', '30-JAN-2012', null, 'PROJECT');
insert into task_data values ('Task1', '2', '01-JAN-2012', '10-JAN-2012', null, 'TASK');
insert into task_data values ('Task2', '3', '10-JAN-2012', '20-JAN-2012', '2', 'TASK');
insert into task_data values ('Task3', '4', '20-JAN-2012', '30-JAN-2012', '3', 'TASK');
commit;Publish your prototype somewhere where we can download it.
-
BO 4.0 Web Intelligence, Error: Column Chart shows not the whole data
Hello,
I want to create a case study in BusinessObjetcs 4.0 (Web Intelligence) with a column chart.
Year is the Category Axis and Revenue is the Value Axis.
Unfortunately the resulting chart shows only the year 2008.
If I choose Month as Regional Color the chart shows all years (2008-2011).
What I do wrong? Or is this a bug?
Thank you!
Best regards,
WladimirHi again,
What I think is that there simply isn't data in the report other than the 2008,
or at least the combination of the section master/year only has 2008 data.
If that is not what you expect and there should be more data, also when looking specifically at the values for just this section,
then you could check if you may be have incomplete query results. Standard they will be limited to 5000 rows, unless your universe designer decides otherwise.
Check the number of rows returned (free cell with query details),
if it is 5000 (or any other nice round figure) have a chat with the universe designer.
Good luck,
Marianne -
Gantt chart is not showing the topmost task properly
Hi,
I have tried to create a gantt chart similar to [http://www.anychart.com/products/anygantt/gallery/sample_02.html]
, except the connectors are not necessary. I could do this by dropping some parts out from the custom XML, but the parent tasks are always displayed with the same style as the child tasks. I want to make the parent periods display so that they are different from the child periods like in the chart example, where they are gray and thinner. How is that possible ?
TiinaHi Tiina,
Firstly, just to explain the current behaviour, the timeline bars in Gantt charts generated in APEX have a default style called defaultStyle applied to them. This style controls the appearance of the various components of the timeline region, such as the actual bar colour, the progress bar colour, etc. The default style needs to be applied to the <task> tags within the chart XML i.e. the tags containing the data for your Gantt chart. In order to allow our users to control the appearance of the timeline items via attributes on the Chart Attributes page, we update the default Style with values selected on the Chart Attributes page and then we reference that style in the <task> tag, as follows:
<project_chart>
<tasks>
<task id="7782" parent="" name="Charts Integration" actual_start="2009.03.21 12.03.00" actual_end="2009.09.21 12.09.00" baseline_start="2009.03.18 12.03.00" baseline_end="2009.09.26 12.09.00" progress="60" style="defaultStyle"/>
</tasks>
</project_chart>....where style="defaultStyle" is the reference to the style. If you look in the XML you'll see where the default Style has been defined. The <tasks> tags are generated at runtime, and populated with the resultset for the chart series query. If we didn't apply a default style to these tags, then users would be required to manually generate the <tasks> tags themselves in order to apply a style to their Gantt chart data.
In AnyChart, no style has been applied to the example you selected - http://www.anychart.com/products/anygantt/gallery/sample_02.html - only default AnyChart settings are being used here. Due to the existence of style="defaultStyle" in your Gantt data, you'll have to make the necessary changes within the </styles> tags of your XML. These changes can be made via the options exposed on the Chart Attributes page or by customizing the XML. I know this isn't exactly the same as the AnyChart example, but you can achieve something similar by just updating the Chart Attribute settings, as done on this example: http://apex.oracle.com/pls/apex/f?p=36648:50. I hope this helps.
Regards,
Hilary -
Gantt Chart component not showing the duration (Safari and FireFox on OS X
Hi,
I created a Gantt Chart component that should show the duration of several project tasks in a graphical way. I did not specify subtasks, only tasks.
Because this is a rather simple thing to do (see http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_58/jdtut_11r2_58_3.html), and apparently the graphical part of the Gantt chart is not shown on my Mac, I would like to know whether someone has tried this on a Windows machine and got it working?
Kind regards,
PhilipIn Safari, the "sample" page loads and it shows the graphical part of the Gantt. In Firefox the sample page does not load:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<partial-response><noop/></partial-response>
Thanks Shay!
Maybe the WLS is causing the problems at my side? I also noted the left-right mouse swipe movements to scroll in a panel does not work when using my local JDev and IntegratedWLS, but it does work on your sample page.
Kind regards,
Philip
Edited by: verscph on Mar 15, 2012 9:52 AM -
How to show a Milestone in a Gantt Chart?
Hi All,
I have made a Gantt Chart and want to show a milestone for a particular date.
I am trying the following code in my BSP Page and I can see the text i.e (Test) in the UI but can not see the milestone icon.
<i><phtmlb:ganttChartActivity row = "5"
startDate = "20070604"
endDate = "20070604"
text = "Test"
color = "BLACK"
type = "MILESTONE"
shading = "SOLID"
textInsideActivity = "false" /></i>
Can anyone please help me.
<b>Regards,</b>
AbhinavHi Patrick,
I have gone through the thread and the note provided in the thread, It is useful.
But for some reason even after following everything properly the Milestone symbol does not appear in my ganttChart but the text which I have provided for the Milestone appears on my ganttChart.
I have even gone through "ganttChartSample.htm" in BSP Application
"bspext_phtmlb" and followed the same thing still the milestone symbol does not apear at all.
Regards,
Abhinav -
Traffic light in Gantt chart and Colour change in the same.
Dear All,
I have designed an interactive ALV report and put a button in the output to display Gantt Chart. The Gantt chart is displaying fine after pressing the button based on the output.
I have two questions as below.
1) Is it possible to diplay Traffic light in Gantt chart output from an interactive report. Please provide the code as well as process.
2) How to change the colour of the fields like date or time field of the Gantt chart output from an interactive report. Please provide the code as well as process.
Shyamal.
ABAP.Hi friend,
For displaying trafic lights there is a simple options in the layout
under exceptions there are few fields,
lights_fieldname type slis_fieldname,
lights_tabname type slis_tabname,
lights_rollname like dfies-rollname,
lights_condense(1) type c.
First two fields will server the purpose if you need extra manipulation can go for other two also.
And for changing color in the fields there is an option called emphasize(4) in fieldcatlog which will do your purpose.
I think you know your requirement and code better so its better to adapt this in your logic the using our logic which will make you confuse.
if you want to highlight a particular cell in the ALV go for this codes in Wiki.
If you still need any help please revert back to me i will help you.
Thanks,
Sri Hari -
Hi All.
I m displaying a GANTT chart in an ABAP program using FMs "BARC_.... " I would like to know how we can change the colours of the time bars(Nodes) as well as the boxes..
Thanks,
VasukiHi,
In the class CL_WD_GANTT use the method SET_TOOLTIP method to set the tooltip.
Please elaborate your requriement.
Regards,
Lekha. -
Showing Activity Steps in Gantt chart
Using P6 v8.2 is it possible to display (and therefore print) activity steps in the gantt chart? This would be handy when distributing a lookahead to the craft. I've searched and tried everything that looked even halfway logical but so far no soap.
All help is appreciated,
DanSorry - Activity Step Count is the only thing you can display. I have always wanted this too. I guess their fear is that you would have too many steps and it wouldn't fit.
-
ADF Data visualization Gantt chart displaying 10 columns only
hi
i am using Gantt chart and it is only displaying 10 columns from the view object the 11 column is not visible
how can i solve this??
also these columns are taking so much space, and i want to make their width smaller, but when i change the style --> box --> width, the column alone change its width but without the header.
thanksPeople are not prone to answer questions that are not really a problem. You want to know something about a free product, install it and see for yourself. In any case spreading your question around is not going to help you, the people who know about ADF are still going to be looking in the ADF forum. If you don't get an answer there, what chance do you think you have that you'll get one here where it is off-topic?
I'll close with a word of advice: you generally pay for quality. If you want professional looking charts, you'll probably have to look at commercial products. -
Is there a way to print only the Gantt Chart?
Mike
R-InvestmentsCheck your page set up options when you do print preview. The last tab has some toggles where you can turn on/off printing the activity table and Gantt Chart.
-
Why Flash chart is showing only 15 bars
Hi,
I have created a flash chart, a 2d column chart, but it is showing only 15 columns, I have checked that query is returning more that 20 rows.
When I created a Pie chart with the same query, it too showing 15 pieces with one extra piece 'Other' by calculating other remaining rows.
Can anybody tell, why bar and pie chart are not showing all the rows?
Thanks
-SmithHi Ben,
Your tip really helped me to fix a chart problem. I have a stacked bar chart and there were more than 25 columns. Due to the limitation, the chart was showing incorrectly with wrong values. After increasing the limit, it displays correctly now.
Thanks a lot
Nattu -
Show Only First N Rows in SAP Design Studio Chart/Table
Hi,
Is it possible to show only first N rows of data in SAP Design Studio Charts/Cross Tab ?
Eg
Bex Query Output
Here If I mention First 2 rows, my chart looks like below
If I mention First 4 rows, my chart looks like below
Thanks
AnilHi Mustafa,
Thanks for your reply.
Actually our requirement is, we have one Bex Query where we are using Ranking Function.
We have 15 customers, and we need to know the ranking based on some calculations.
Whenever we execute the query with different time periods, the ranking of Customers will vary, for example if I execute query for year 2014, customer 1 can be Rank 1, If I execute for year 2013, Customer 7 can be Rank 1.
From this Query I need to show only Top 5 Customers in Cross Tab/Chart.
We tried to put condition on CY Ranking in Bex to show only Top 5, but the result was giving some diff customers and also for all Time periods we are getting same Customers In Top 5.
To overcome this, we thought instead of putting condition on Bex side, we are trying to pick only first 5 rows from Bex Query and show them in Chart/Cross Tab, something like we will map only first 5 rows in Xcelcius.
We would like to know is there any functionality in Design Studio to show only first 5 rows of data.
Regards,
Anil
Maybe you are looking for
-
How do I get "Open Tabs in Background" to work?
I have ios7 and had been using a different browser. But Safari under ios& seems to be so much faster that I want to use it. But. My preference is to go to a site rich with links and then click the ones that interest me and have each link open up in
-
Need help with upgrade from Adobe Creative Suite to PS CS4
My old laptop with Photoshop on it crashed and I ended up purchasing a new laptop. I'm trying to reload my PS CS4. I am using an upgrade from an educational Adobe Creative Suite Premium to the CS4 and when I loaded it on my old laptop I had to get i
-
MM related information in BI Content
hi all Experts, In BI Content where I get MM related informaion. thanks.
-
Number of OCMs in the world currently
Hi, Does anyone know the current number of OCM 11g in the world?
-
Dreamweaver CS5 is not Supported on This Type of Mac
I recently got a new iMac and went to reinstal my CS5 Web Premium Student Edition and only installed Dreamweaver. I was able to use it yesterday fine. Today when I booted up. the dreamweaver icon has a anti symbol over it and says "you can't open the