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 ?
Tiina

Hi 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=&quot;defaultStyle&quot; 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=&quot;defaultStyle&quot; 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

Similar Messages

  • 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,
    Philip

    In 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

  • Programitically adding column series in flex chart is not showing the chart

    <?xml version="1.0"?>
    <!-- Example showing using mx:LineSeries vs using AS to
    create chart series programmatically -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="drawChart()" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.charts.series.ColumnSeries;
    import mx.charts.series.LineSeries;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var categoryArray:ArrayCollection = new
    ArrayCollection();
    [Bindable]
    public var sArray:ArrayCollection = new ArrayCollection();
    public function drawChart():void
    var histMax:int = 25;
    var histMin:int = 5;
    var countMax:int = 6;
    var tmpArr:Array = new Array();
    categoryArray.removeAll();
    for(var n:int = 0; n < 10; n++)
    tmpArr[n] = histMin + Math.round((2 * n) / 20 * (histMax -
    histMin));
    categoryArray.addItem({data:tmpArr[n]});
    // Add a series to the chart with the x-values and y-values
    // from the arrays and set the series type to a column chart
    for(var chartSeries:int = 0; chartSeries < countMax;
    chartSeries++)
    var tmpseries:Array = new Array(10);
    for(var i:int = 1; i < 10; i++)
    tmpseries
    = 3 * Math.random();
    var cs:ColumnSeries = new ColumnSeries();
    columnchart1.series.join( = [cs];
    sArray.addItem({data:tmpseries});
    //columnchart1.dataProvider = sArray;
    cs = new ColumnSeries();
    cs.dataProvider= sArray;
    cs.displayName = 'Series';
    cs.yField = 'data';
    columnchart1.series[chartSeries] = cs;
    ]]>
    </mx:Script>
    <mx:Panel title="Dynamic Series Adding Sample"
    width="195%" height="90%" layout="absolute">
    <mx:ColumnChart id="columnchart1" height="338"
    width="396" showDataTips="true" type="stacked" x="10" y="0">
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="{categoryArray}"
    categoryField="data"/>
    </mx:horizontalAxis>
    <mx:verticalAxis>
    <mx:LinearAxis baseAtZero="true" maximum="3"
    autoAdjust="true"/>
    </mx:verticalAxis>
    </mx:ColumnChart>
    </mx:Panel>
    </mx:Application>

    <?xml version="1.0"?>
    <!-- Example showing using mx:ColumnSeries vs using AS to
    create chart series programmatically -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="drawChart()" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.graphics.SolidColor;
    import mx.charts.HitData;
    import mx.controls.Alert;
    import mx.charts.series.ColumnSeries;
    import mx.charts.series.LineSeries;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var categoryArray:ArrayCollection = new
    ArrayCollection();
    public function drawChart():void
    var histMax:int = 25;
    var histMin:int = 5;
    var countMax:int = 3;
    var tmpArr:Array = new Array();
    categoryArray.removeAll();
    for(var n:int = 0; n < 10; n++)
    tmpArr[n] = histMin + Math.round((2 * n) / 20 * (histMax -
    histMin));
    categoryArray.addItem({data:tmpArr[n]});
    var cs:ColumnSeries = new ColumnSeries();
    columnchart1.series = [cs];
    // Add a series to the chart with the x-values and y-values
    // from the arrays and set the series type to a column chart
    for(var chartSeries:int = 0; chartSeries < countMax;
    chartSeries++)
    var tmpseries:Array = new Array(10);
    for(var i:int = 0; i < 10; i++)
    tmpseries
    = 1 * Math.random();
    if(tmpseries > 0.5)
    tmpseries
    = 1;
    else
    tmpseries = 0;
    var testArrCol:ArrayCollection = new ArrayCollection();
    for(var j:int =0; j < 10; j++)
    var m:Number = tmpArr[j];
    var m1:Number = tmpseries[j];
    testArrCol.addItem({mData:m.toString(),nData:m1.toString()});
    cs = new ColumnSeries();
    cs.dataProvider = testArrCol;
    cs.displayName = 'Series' + chartSeries;
    cs.xField = 'mData';
    cs.yField = 'nData';
    columnchart1.series[chartSeries] = cs;
    public function myTipFunction(hitData:HitData):String
    return(ColumnSeries(hitData.element).displayName +" - "+
    hitData.item.mData + "\n" + "Value : "+ hitData.item.nData);
    ]]>
    </mx:Script>
    <mx:Panel title="Dynamic Series Adding Sample" width="98%"
    height="90%" layout="absolute">
    <mx:ColumnChart id="columnchart1" height="338"
    width="396" showDataTips="true" type="stacked" x="10" y="0"
    dataTipFunction="{myTipFunction}">
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="{categoryArray}"
    categoryField="data"/>
    </mx:horizontalAxis>
    <mx:verticalAxisRenderer>
    <mx:AxisRenderer visible="false"/>
    </mx:verticalAxisRenderer>
    </mx:ColumnChart>
    </mx:Panel>
    </mx:Application>

  • Gantt Chart View not listed in View Selector

    View Selector is missing view of type “Gantt” for List based on list template “171” i.e. “TasksWithTimelineAndHierarchy”
    Missing Gantt View
    Visible in Ribbon
    What we have done to create the Gantt view is as follows
    We are working with remote provisioning pattern to provision the site and required lists
    A Task List is provisioned using CSOM (Managed .Net) via a Provider Hosted App that is hosted as Azure Web Site
    We are creating a view based of type “Gantt”
    Sample ViewXml used for creating the view. Highlighted below is the property we have set for the same
    <View>
    <Title>Tasks_View_GanttChart</Title>
    <DefaultView>false</DefaultView>
    <PersonalView>false</PersonalView>
    <RowLimit>30</RowLimit>
    <Paged>true</Paged>
    <Scope>DefaultValue</Scope>
    <ViewType>Gantt</ViewType>         
    </View>
    Standard View Menu (View Selector) does not show Custom Gantt chart (created via CSOM) in the menu list. Refer screenshot mentioned earlier
    Custom Gantt chart view is available in ribbon menu though
    The same custom Gantt chart is visible in the standard menu if we are in “out of the box Gantt chart View” (Below ‘OOTB Gant chart’ is created from front end using the template ‘Gantt chart view’)
    Sample Code used to create the view
    ViewCreationInformation viewInfo = new ViewCreationInformation()
    Title = listViewTemplate.Title,
            ViewFields = viewFields,
    SetAsDefaultView = isDefaultView,
    PersonalView = isPersonalView,
    Query = query.ToString(),
    RowLimit = rowLimit,
    Paged = paged,
    ViewTypeKind = viewType
    View view = list.Views.Add(viewInfo);
    web.Context.ExecuteQuery();
    Any clue on this behavior? We have the same issue with Calendar View Type as well for the Calendar List.

    I found solution:
    You need modify XsltListViewWebPart tool bar option from one value to another, and then back. That solves that bug in SharePoint.
    public static void FixGanttIssue(SPList list, string ViewName)
    SPSite site = list.ParentWeb.Site;
    SPLimitedWebPartManager AllItemsMan = site.RootWeb.GetFile(list.Views[ViewName].Url).GetLimitedWebPartManager(System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared);
    XsltListViewWebPart wp = (XsltListViewWebPart)AllItemsMan.WebParts[0];
    wp.Toolbar = "Summary Toolbar";
    AllItemsMan.SaveChanges(wp);
    wp.Toolbar = "Full Toolbar";
    AllItemsMan.SaveChanges(wp);

  • Gantt Chart Data not getting pouplated

    Hello,
    I am using Gantt charts in apex for showing up large data.
    I am following this method to store huge data which is in xml(more than 32k) into a page item. (http://apex.oracle.com/pls/otn/f?p=35254:5:877211585824396::NO).
    I set my session state like APEX_UTIL.set_session_state (p_name => 'P10_DATA', p_value => APEX_APPLICATION.g_x01) and pass this item into gantt chart
    The problem i am facing is that even though i see that the value of P10_DATA is populated with all the data during debugging, upon opening session and checking the item's value, it displays null !!!
    Note:For data with less than 32k, Gantt chart loads correctly and the item's value gets saved.
    Anyine please help me with this..
    Regards,
    Uday

    Hello,
    I am using Gantt charts in apex for showing up large data.
    I am following this method to store huge data which is in xml(more than 32k) into a page item. (http://apex.oracle.com/pls/otn/f?p=35254:5:877211585824396::NO).
    I set my session state like APEX_UTIL.set_session_state (p_name => 'P10_DATA', p_value => APEX_APPLICATION.g_x01) and pass this item into gantt chart
    The problem i am facing is that even though i see that the value of P10_DATA is populated with all the data during debugging, upon opening session and checking the item's value, it displays null !!!
    Note:For data with less than 32k, Gantt chart loads correctly and the item's value gets saved.
    Anyine please help me with this..
    Regards,
    Uday

  • Chart is not showing in Web Query

    Hi,
    I tried to display the query in web. The table was showing fine with all the information.
    However, when I clicked the graph tab for showing the information in chart, the chart is not showing and I got an error message saying 'Chart "GR2Chart": Data Provider does not contain any data'
    Do you think I need to create the chart first using Web Application Designer?
    Thanks a lot for your help.

    Hi all,
    Thanks a lot for the answers. Unfortunately, the problem can't be solved yet.
    I have asked the BASIS to check IGS Service, and it has been installed and has been restarted too but it didn't help.
    Regarding the web application designer, we don't need to create the web layout on web application designer right? You can publish the query automatically from web publish button on query designer. Only workbooks that we need to create the web layout on web application designer.
    It's just wierd that the table is showing the data but on the chart, it's saying there is no data.
    Thanks for your help by the way.

  • Charts are not showing up on OBIEE 111160 on Windows 2008 64 bit

    Hi,
    We have installed OBIEE 111160 on Windows server 2008 64 bit. We pointed our RPD and web catalog to OBIEE 111160. But, some of our reports are not showing the chart view. We are able to see data in table view. If we run the same RPD and web catalog on Windows server 2003 32 bit with OBIEE 111160, the reports are showing chart view.
    Can anybody help..
    Thanks,
    Anilesh

    I'm running 11g in same config as you, for me no issues.
    Not sure exact reason but try these checks
    Control Panel->Java : open it
    goto Java tab, click View see how many jre are available. If the jre is out side of OFM_HOME make sure you have it in CLASSPATH.
    if this is not working out try to set OFM_HOME\Oracle_BI1\jdk\jre, enable it and try.
    Let me know updates :)

  • AnyType values not showing on Human Task 11g

    Hi All,
    I have a process where the input schema is mapped to an anyType variable. I then map this variable to the payload variable on the Human Task. But when I run this process and go to the worklist, I get nothing. How can I get the data stored on an anyType variable to be displayed on the Human Task Form.
    Any Ideas ?
    Thanks
    K

    I did have a look at the link provided. I have followed the correct steps. I suggest having a look at the xsd I pass to the Human Task. In the xsd you will see the element entityValue which is of type anyType. In this element i map the payload of a bpel process e.g. if the payload has name, surname, address, telephone etc , that will be passed with the values in the entityValue element. Now when I map to the Human Task, I map the element EntityRequest to the Human Task payload. When I trigger the process that calls the Human Task, in the worklist application, I am able to see all other values in my schema below except entityValue. I have also provided a dummy entityValue mapping. I just want it to show whats stored in that element, the highlighted part
    XSD schema thats I am using
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xmlns.up.ac.za/Integration/Generic/schemas/Exception"
    xmlns:ed="http://xmlns.up.ac.za/Integration/Generic/schemas/Exception"
    elementFormDefault="qualified">
    <element name="EntityRequest" type="ed:EntityRequestType"/>
    <complexType name="EntityRequestTpe">
    <sequence>
    <element name="header" type="ed:HeaderType"/>
    <element name="entityValue" type="xsd:anyType" minOccurs="0"/> *<---* problem area - will not show on Human Task
    <element name="entity" type="string"/>
    <element name="isn" type="integer"/>
    <element name="group" type="string"/>
    </sequence>
    </complexType>
    <complexType name="HeaderType">
    <sequence>
    <element name="error" type="ed:errorType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="errorType">
    <sequence>
    <element name="code" type="string"/>
    <element name="description" type="string"/>
    <element name="source" type="string"/>
    </sequence>
    </complexType>
    </schema>
    Below is an example of the data mapped to element entityValue
    <entityValue xmlns:ns0="http://xmlns.up.ac.za/Integration/OIM/schemas/OimBioSyncEBM">
    *<ns0:PersonStoreEBO>*
    *<PsEbo:BioData>*
    *<Bio:NAME_TITLE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">Dr</Bio:NAME_TITLE>*
    *<Bio:NAME_INITIALS xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">T</Bio:NAME_INITIALS>*
    *<Bio:PREF_FIRST_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:PREF_FIRST_NAME>*
    *<Bio:FIRST_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:FIRST_NAME>*
    *<Bio:MIDDLE_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:MIDDLE_NAME>*
    *<Bio:LAST_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:LAST_NAME>*
    *<Bio:NATIONAL_ID_TYPE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">NID</Bio:NATIONAL_ID_TYPE>*
    *<Bio:COUNTRY xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">ZAF</Bio:COUNTRY>*
    *<Bio:NATIONAL_ID xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">123456789</Bio:NATIONAL_ID>*
    *<Bio:MOBILE_PHONE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">0123456</Bio:MOBILE_PHONE>*
    *<Bio:SMS_SEND_IND xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">Y</Bio:SMS_SEND_IND>*
    *<Bio:SEX xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">M</Bio:SEX>*
    *<Bio:RACE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">2</Bio:RACE>*
    *<Bio:BIRTHDATE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">1912-12-12</Bio:BIRTHDATE>*
    *</PsEbo:BioData>*
    *</ns0:PersonStoreEBO>*
    </entityValue>
    Edited by: K on Jun 1, 2012 9:59 AM

  • My storage is not showing the correct space

    Hi,
    Why my storage is not showing the correct amount of space? I have MBA mid 2013 with 121gb. However my storage show a different value than its suppose to be especially on the apps. I google the problem, mostly its because of the time machine but I never use the time machine. and some of my friend tells its probably a junk. is the third party apps like apps cleaner and clean my mac is helpful? I attached the screen capture of my storage. As you can see the value of apps is 162gb in fact my flash is only 121gb. its doesn't make any sense. Please help.

    Do not use third party apps such as CleanMyMac on your Mac. They have no effect what so ever on storage space. Your Mac runs maintenance in the background for you >  Mac OS X: About background maintenance tasks
    Reindex Spotlight then check the storage >   Spotlight: How to re-index folders or volumes

  • Not showing the Data in VC application

    Hi I have developed the application in VC.
    It is showing the data some times , it is not showing the data. Can u please let me know what is the problem.
    when i checked using the Test Data service . It is showing the data. Then i have developed step by step, in between the time i use to run the application , it was showing the data. finally i have assigned to some role and user id. then also it is showing the data.
    Next day after i run the application , it is not  showing the data. displaying the message .
    "No Data Found".
    But when i run  the BAPI at the back end R/3 it is giving the data properly.
    Can u tell me what might be the problem
    REgards
    Vijay

    Hi Krishna,
    check the logs in the NWA. It seems that your connection is broken down sometimes, maybe a timeout. How many records does your data service return?
    Check it with external debugging of the BAPI, when you can reconstruct the error.
    Best Regards,
    Marcel

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • HT1338 i lost my iphone and my macbook pro does not show the icloud in system pref. What do i do? how do i download icloud?

    I lost my iphone and my macbook pro does not show the icloud in system pref. how do i get icloud on my mac?

    iCloud is only available in Lion, 10.7. You will have to upgrade to Lion in order to get into iCloud. If you transfered a .mac or .me address to iCloud through mobile me, or you have another device iCloud enabled, then you can log into the iCloud.com website.

  • Why this query does not show the result?

    Why the query with the schema prefixed does not show the result and the query without schema display the correct results?
    SQL> select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS';
    select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS'
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    SQL> select data_object_id,object_type from dba_objects where object_name='HR.JOBS';
    no rows selected
    SQL> select data_object_id, OWNER, object_type from dba_objects where object_name='JOBS';
    DATA_OBJECT_ID     OWNER                          OBJECT_TYPE
    69662              HR                                 TABLE
                       OE                                 SYNONYM
    SQL> SELECT USER FROM DUAL;
    USER
    SYS

    Hi,
    the column object_name refers to a object_name which is 'JOBS', the column owner refers to the owner 'HR', the value isn't stored together, so you have to select the two columns. It is the same behaviour as every other table/view. Have a look at the values in the view DBA_OBJECTS.
    Herald ten Dam
    Superconsult.nl

  • Report does not show the main section while calling from forms 6i

    Hi
    I am running report from report from forms 6i but is does not show the data in main section, where as the data in the header section is ok.
    But when i run the same report independantly from report builder it show the both header and main section with relevent data.
    pl solve the matter
    thanks in advance

    can you tell me more about this, you might check if you are using different users when you call this report or if the user has all privileges to see all tables in this report

  • HT1349 I have i tunes on two computers using the same apple id but each library is not showing the same songs

    I have i tunes on the computer with over 1000 songs on it and i also have loaded i tunes on my laptop as i want to get rid of the computer but the library on the laptop is not showing the same songs
    how can i transfer the songs from the computer to the laptop

    How to move your iTunes music to a new/different computer.
    http://support.apple.com/kb/HT4527

Maybe you are looking for