Gantt chart date format?

Hi,
If i define format string on a view object's date attribute and use this attribute on a gantt chart, I get an error:
avax.el.ELException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
     at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
     at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
     at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
     at oracle.adfinternal.view.faces.bi.renderkit.gantt.ProjectTaskbarsRenderer.encodeAll(ProjectTaskbarsRenderer.java:281)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
     at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1133)
     at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:104)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
     at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.encodeChild(TreeTableRenderer.java:744)
     at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1852)
     at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:1552)
     at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:964)
     at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:494)
     at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.encodeAll(TreeTableRenderer.java:597)
     at oracle.adfinternal.view.faces.bi.renderkit.gantt.GanttChartTreeTableRenderer.encodeAll(GanttChartTreeTableRenderer.java:105)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
     at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
     at oracle.adfinternal.view.faces.bi.renderkit.gantt.GanttChartTreeTable.encodeEnd(GanttChartTreeTable.java:89)
     at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:70)
     at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$RenderCallback.invokeContextCallback(InvokeOnComponentUtils.java:97)
     at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1024)
     at oracle.adf.view.faces.bi.component.gantt.UIGantt.invokeOnComponent(UIGantt.java:1718)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:188)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:123)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
     at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:159)
     at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
     at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
     at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:29)
     at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:616)
     at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:465)
     at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:2608)
     at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:969)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
     at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
     at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
     at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at net.kinvent.javax.RequestAgentFilter.doFilter(RequestAgentFilter.java:28)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56Any workarounds?

Just found another issue. Gantt chart seems to take into account users timezone from trinidad config when rendering tasks on timeline.
However, when you rollover a task, start and end date are displayed in system time. ProjectGantt has no "timeZone" property to override this behavior.

Similar Messages

  • Gantt Chart - #DATA# value

    Hi All,
    I am using Oracle Apex version 4.2.2.00.11.
    I do have a gantt chart in one of my application and that is working fine, in this gantt chart we are not using any custom XML generation logic.
    Now we got another requirement from client, in this we are going for custom XML generation logic because of the nature of data.
    They do expect the similar chart which we have already, now my requirement is, how can i look at the XML generated in my first Gantt Chart? because the XML part contains the parameter as, #DATA# and this contains the answer am searching for.
    Can anyone please help me to pull out the XML generated(#DATA#) by Apex in my first chart?
    Thanks in advance.
    With Regards,
    Sakthi.

    Run you page in debug mode. Then automagically a link appears below your chart "Show XML". Click that one 'et voila' ....

  • Line Chart - date format

    Hi,
    i have some troubles with a "normal" line-chart. (graphType="LINE_VERT_ABS")
    The data is something like that:
    xvalue           yvalue
    01.01.2006     100
    02.01.2006     101
    03.01.2006     102
    04.01.2006     101
    01.02.2006     102
    02.02.2006     102
    03.02.2006     101
    01.03.2006     100
    02.03.2006     99
    03.03.2006     101
    I define the chart with:
    groups="xvalue" dataValues="yvalue"
    worked fine, BUT:
    I had to change the date-format from dd.mm.yyyy to "only" mm/yy.
    Now just 1 yvalue of every xvalue-group is displayed - the chart has only the following points:
    xvalue          yvalue
    01/06          100
    02/06          102
    03/06          100
    Does anybody know a solution where every point is shown just with the other date-format?

    Change your default system date format.

  • 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

  • Problem with Gantt chart data (not a newbie)

    Post Author: wbvczar
    CA Forum: Charts and Graphs
    I am pulling data from an SQL 2000 database that stores the date as UNIX time in a string field.  Once I pull the data into Crystal via a Command, I then create a formula to convert to DateTime  format.  The problem is that when I enter this formula into the Chart Expert, it wants to count it instead of seeing it as a Date field. Is the problem because the original field format is not a DateTime field in the database?

    Post Author: wbvczar
    CA Forum: Charts and Graphs
    The formula (actually a function) is quite detailed (and lengthy) to compensate for daylight saving time changes.  I have posted it below, but I can verify that it is not splitting out the date and time separately.//Function  (numberVar v1)//date(1970,01,01)//Truncate((v1/(606024))-(5/24))Function (numbervar v1)//formula to adjust for UNIX time//HD stores dates as number of seconds since 1/1/1970 in Universal or GMT time. //convert from seconds to a date, //then convert to EST //finally, validate date for daylight savings time  // convert ARS date from # of seconds since 1/1/1970 in Universal (or GMT) timedatetimevar GMTdate := datetime(1970,01,01)(v1/(606024));//this equation tells the system when daylight savings time starts: datevar DaylightStarts :=                                                   if DayOfWeek ( Date (Year (Today),3 ,8 ) ) = 1 then Date (Year (Today),3 ,8)  else if DayOfWeek ( Date (Year (Today),3 ,9 ) ) = 1 then Date (Year (Today),3 ,9)  else if DayOfWeek ( Date (Year (Today),3 ,10) ) = 1 then Date (Year (Today),3 ,10) elseif DayOfWeek ( Date (Year (Today),3 ,11) ) = 1 then Date (Year (Today),3 ,11) elseif DayOfWeek ( Date (Year (Today),3 ,12) ) = 1 then Date (Year (Today),3 ,12) else if DayOfWeek ( Date (Year (Today),3 ,13) ) = 1 then Date (Year (Today),3 ,13) elseDate (Year (Today),3 ,14 );    //this is when it ends: datevar DaylightEnds :=                                                            if DayOfWeek ( Date (Year (Today),11 ,1 ) ) = 1 then Date (Year (Today),11,1 ) else if DayOfWeek ( Date (Year (Today),11 ,2 ) ) = 1 then Date (Year (Today),11,2 ) else if DayOfWeek ( Date (Year (Today),11 ,3 ) ) = 1 then Date (Year (Today),11,3 ) else if DayOfWeek ( Date (Year (Today),11 ,4 ) ) = 1 then Date (Year (Today),11,4 ) else if DayOfWeek ( Date (Year (Today),11 ,5 ) ) = 1 then Date (Year (Today),11,5 ) else if DayOfWeek ( Date (Year (Today),11 ,6 ) ) = 1 then Date (Year (Today),11,6 ) else Date (Year (Today),11 ,7 );//The timeadj equation adjusts things for daylight savings & time zone // if today is less than the 1st Sunday in April, or greater than or //equal to last Sunday in October then adjust 5 hours, else if DST then 4numbervar timeadj :=if (GMTdate < DaylightStarts) or (DaylightEnds <= GMTdate) then 5 else 4;//put it all together and we have datedate(GMTdate-(timeadj/24))

  • Chart Dates Format Problem

    My data set has monthly records with the date defined as a
    character with format '2007-02'. These values display correctly in
    graphs in my ColdFusion MX application when my local computer is
    acting as the host. However, when I move my application to our
    external host, the dates change to format {ts '2007-02-01
    00:00:00'}. This change makes the graph hard to read. I'm at a loss
    as to where I should be looking to fix this problem. Can anyone
    help?
    Thanks in advance.

    Hi,
    In the chart query, choose Advanced Query Mode.
    <!--- Set the locale of the hosting server --->
    <cfset locale = SetLocale("English (UK)")>
    <!--- Query to get the required data --->
    <cfquery name="qData" datasource="yourDSN">
    select theDateField, theValueField
    from tblName
    order by theDateField
    </cfquery>
    <!--- Create a query object containing the date field you
    want to display e.g. --->
    <cfset myQry = QueryNew("mydate,
    myvalue","varchar,decimal")>
    <!--- Loop through your recordset --->
    <cfloop query="qData">
    <!--- Populate myQry --->
    <cfset numrow = QueryAddRow(myQry,1)>
    <cfset tmp =
    QuerySetCell(myQry,"mydate",lsdateformat(qData.theDateField,"yyyy-mm"))>
    <cfset tmp =
    QuerySetCell(myQry,"myvalue",qData.theValueField)>
    </cfloop>
    Then, in your Label Column, choose mydate, and in your Value
    Column, choose myvalue.
    Hope this helps.
    Regards,
    Yogesh

  • Need your help regarding Conditional Chart Data formatting

    I have just started using BI, so I am sorry if what I am asking is a FAQ or a very simple question.
    I have a Line Bar Combo chart whose bars I have colored differently according to some conditions. When I drill down from a year/month series to the day of a particular month, though, the conditional formatting is lost.
    http://img141.imageshack.us/img141/5677/biimage.jpg
    Can anyone suggest me if I am missing something in the program options or if there is any workaround to this behavior?
    Thanks a lot in advance.

    Letz say you have colored the year black when it is 2008 and you display it in the graph and while you drill down from year to quarter in the back ground an adiitional column will be added (Quarter) and the conditional formatting will be still there for the year but will be very small(like a dot) as your quarter is exposed on the X axis.
    The deeper you drill the wider your x-axis will be and the smaller your formatting looks.
    You cant controll the drill. It will mimic what is present in the compound layout set up at the parent level.If you need to avoid multiple columns appearing on your X-axis and do some changes to your graphs then you need to navigate
    instead of drill. if the report is 3 levels deep then it has to be 3 diff reports(maintenance will be high)
    It will be seemless to the users whether you navigate or drill. Just a suggestion. There are some things which we need to compromise :)
    Thanks
    Prash

  • Setting Custom XML = Yes in resource gantt chart removes start & end dates

    I'm having a strange issue with a Resource Gantt chart in Apex 4.0.2.
    I built the chart using the Wizard and changed nothing from the defaults. Everything looks/acts fine on the chart when Use Custom XML = No. But I wanted to change a couple things like cell alignment and width, so I set this to Yes and modified the column attributes in the XML code. After doing so, when running the report, the values for Start Date and End Date are not showing. This is happening in both the datagrid and the tooltips, but the timeline is still showing the right information (ie a bar from start to end), so I know it still knows what the correct start and end dates are.
    Thinking I accidentally messed something up, I deleted the chart and recreated it (again, from the wizard). This time, I went back and only set Use Custom XML = Yes but did not change anything within the XML code itself. To my surprise, the dates were still missing. If I set it back to No then they reappear.
    Has anyone seen this before and/or know a way to fix it?
    Thanks,
    ~ John

    Hej John,
    APEX itself is using a field substitution "&DATE_FORMAT." to insert the date format into the XML file. This field substituion is used in may location in the default XML. APEX standard action is to substitute it with the value specified in the Gantt Setting "Date Format". This substitution takes place many places in the default XML file.
    Enabling custum XLM also means disabling APEX XML handling, the substitution does not take place, the "&DATE_FORMAT." contains in this case a null value.
    The default XML file, which can be viewed in apex developer mode, looks like:
    Start Date: {%ActualStart}{dateTimeFormat:&DATE_FORMAT.}
    The runtime XML, which can be viewed in debug mode, contains something like:
    Start Date: {2011.07.21 00:00:00}{dateTimeFormat:}
    ...a null value is not a valid AnaGantt date format.
    Two solutions:
    a) insert a correct AnyGannt date formatter in the custom XML like
    Start Date: {%ActualStart}{dateTimeFormat%YYYY.%MM.%dd %HH:%mm:%SS}
    or
    b) create a field DATE_FORMAT on page containg the chart and intialize it with the AnyGantt date formatter like %YYYY.%MM.%dd %HH:%mm:%SS".
    When running the page the substitution will take place usually.
    Regards,
    Benny

  • Gantt chart view

    Hello 
    Im new to project coming from a Primavera background, still trying to get used to the features. So this isnt really a problem just annoying really. When i open projects the gantt chart date always shows 2013 so i have to drag it along i thought maybe i could
    reset the date so the status date always shows instead. Is this possible?
    Thanks in advance :)

    Kathhee,
    The view will open as you left it.  As an alternative you can press Scroll to Task (CTRL-SHIFT-F5) and it will display the Gantt chart as per the focused task.
    Ben Howard [MVP] | web |
    blog |
    book | P2O

  • 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

  • Anychart Flash Gantt Chart

    Does anyone know how to install and use Anychart Flash Gantt Chart in APEX?
    Thanks.
    Andy

    Andy,
    You'll need to create a stored procedure (like the one that APEX's built-in Flash charts use) or an application level process that returns XML for your chart. I don't know the Gantt chart XML format, but I assume that most of it will be static, and the rest will be dynamical based on a SQL query. Take a look at the XML format on anychart.com to see what the basic template will be.
    - Marco

  • Date Format in SAP chart customizing - Gantt

    Hello Everybody,
    I have problems with date format in Gantt chart coding in
    ABAP using xml concatenate,
    when i am customizing the xml from chart designer.
    I want Time(X) axis  in Days but its showing in quarters or weeks.
    I also tried with LineFormat but i could not get control over it.
    can anybody please help me!!!
    here is my code:
    xml = '<?xml version="1.0" encoding="utf-8" ?><SAPChartCustomizing version="2.0">'.
      CONCATENATE xml '<GlobalSettings><Dimension>PseudoThree</Dimension>' INTO xml.
      CONCATENATE xml '  <TransparentColor>None</TransparentColor>' INTO xml.
      CONCATENATE xml '  <ColorPalette>Tradeshow</ColorPalette>' INTO xml.
      CONCATENATE xml '  <ColorOrder>Default</ColorOrder>' INTO xml.
      CONCATENATE xml '<Defaults><ChartType>Gantt</ChartType></Defaults></GlobalSettings>' INTO xml.
    CONCATENATE xml '<Values><Series><LineType>Direct</LineType><LineType1>Year</LineType1>
    <LineType2>Month</LineType2><LineType3>Day</LineType3><LineWidth>2</LineWidth>
    <MarkerShape>None</MarkerShape></Series></Values></SAPChartCustomizing>'
    INTO xml.
    *SEND CUSTOMIZING TO CHART ENGINE:
      lo_chart->set_customizing( data = xml ).
    Thanks in advance
    Bobby

    Hi Vijay,
    It's for ABAP only could you please post the solution.
    here i would like to share how i have given my series values:
    xml = '<?xml version="1.0"?>'.
      CONCATENATE xml '<ChartData>' INTO xml.
      CONCATENATE xml ' <Categories>' INTO xml.
      CONCATENATE xml '   <Category>Mat 1</Category>' INTO xml.
      CONCATENATE xml '   <Category>Mat 2</Category>' INTO xml.
      CONCATENATE xml '   <Category>Mat 3</Category>' INTO xml.
      CONCATENATE xml ' </Categories>' INTO xml.
      CONCATENATE xml ' <Series label="Op10" Customizing="Op10">' INTO xml.
      CONCATENATE xml '   <Point><Value type="time">20010101</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010115</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010120</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010130</Value></Point>' INTO xml.
      CONCATENATE xml '   <Point><Value type="time">20010101</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010125</Value></Point>' INTO xml.
      CONCATENATE xml ' </Series>' INTO xml.
    Thanks again.
    Bobby

  • How to convert from line chart data to CSV format

    Hi ,
    I am using Flex 3 and AS.
    I am getting data from MS SQL and display the data as line
    chart this is ok.
    But i want to convert this line chart data to CSV or .xsl
    format.I find one example in fourms the from data grid to CSV
    For this URL is
    http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/datagriddataexporter.php
    But i want Line chart to CSV.Please help me.

    Line chart is a just a visual representation of some data
    that's sitting in your database. Isn't it? You load this in Flex,
    probably using HTTPService class, and pass it to some chart object.
    Now when use says that she needs it in CSV format, you're
    gonna have to send another request to the server to produce the
    same data, convert into CSV or XLS format and let user download it.
    Of course, if use doesn't want to download, you don't have to
    go to the server, at least for CSV format. You can convert the same
    data that used plot the chart to convert to CSV.
    Am I missing something here?
    ATTA

  • Date format in charts

    Hello,
    is it possible to change the date format in a chart?? Example: From 'dd.mm.YYYY' to 'dd'
    Edited by: Gerrit Lober on Jun 25, 2008 2:21 PM

    Hi
    No it is not possible to change the date format in Chart
    Bcos the chart displays the values or the date from the report.
    If you need to change the display in chart then Display in the report should be changed.
    Regards
    M.A

  • How to set date format dd.MM.yy for chart time axis

    Is it possible to set default date format dd.MM.yy instead of MM/dd/yy in Flex charts without using label function ?
    In this case we do not know beforehand the length of the time span; it can be minutes, days or weeks.
    Setting locales in compiler options or locale settings for application seems not having any effect.

    For example
    - mx:Barchar
    - if time span is 4 minutes; time axis format is HH:mm and shows 10:00, 10:01, 10:02, 10:03 ; *this correct*
    - if time span is 5 days; time labels are automatically in MM/dd/yy format; question is how to change this automation
    to format dd.MM.yy
    - how to do this *without* dateformatter and *without* coding "if time span is is longer than day nyt less than week then use dd.MM.yy format" ?

Maybe you are looking for

  • How to tell how many times a method has executed?

    Hi, all I've got a main class (Model.java) that repeatedly calls a step() method in a sub class (Ocean.java). I want Ocean.java to execute its step() method following one set of rules for the first time it is called by Model.java, and a different set

  • Problem with file association

    I have read on this forum that people have problem with the file association when they haved installed StarOffice 8. I have the same problem. I install StarOffice on a computer as network administrator - every thing looks fine. When i then log off an

  • Does T61 with integrated graphic card come with 65W power adapters?

    Hi everyone, i am about to buy T61 without the graphic card. Plz help!, anyone knows it comes with which type of power adapters?? say 65W or 90W Thank you

  • Application server 9.0 with mysql

    Hello! I'm using glassfish with application server 9.0 and i want to connect with mysql. My settings are: datasource classname: com.mysql.jdbc.jdbc2.optional.MysqlDataSource resource type: javax.sql.connectionpoolDataSource ARE OK? I use mysql connec

  • Photoshop CS2 How to save after using channels

    I'm using a tutorial called Creative Focus with Lens blur to blur the background of an image.  I can follow the tutorial through to the the Depth map, but can't work out what to do after that.  I apply the settings for the depth map but can't go any