Text comments on line chart

Hi,
I have a single series flash chart displaying dates on X axis and some values on Y axis. The data comes from a table defined as
Week_Start DATE;
Production_Level NUMBER;
Txt_Comment VARCHAR2(255);
Some data points have textual comments attached to them (e.g. explanations for unusually high/low production levels) and I wouold like to display them beside the associated points.
Any ideas on how this can be done would be welcome...
I use APEX 3.0 with AnyChart 5.1.2 and Oracle 10g
Many thanks,
Constantine

Hi Sergio,
Thank you for your help.
This looks promising, except I can't get it to work - would you please take a look at the code I have and let me know what I am doing wrong?
Here is what my PL/SQL returns and this gets assigned to a hidden page item called P1_TMP_CHART_DATA:
<data>
<series name="Series 1">
<point name="Jan 01" y="0">
<attributes>
<attribute name="comment"><!CDATA[NONE]]></attribute>
</attributes>
</point>
<point name="Jan 08" y="96">
<attributes>
<attribute name="comment"><!CDATA[NONE]]></attribute>
</attributes>
</point>
</series>
</data>and here is the XML I have for my chart:
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
<anychart>
<margin all="1"/>
<settings>
<animation enabled="false"/>
</settings>
<charts>
<chart use_anychart3_data_model="true" use_sets_colors="false">
<chart_settings>
<title align_by="Chart" padding="0"><text>Cumulative Net Production</text></title>
<axes>
  <y_axis>
  <title padding="0">
    <text>boe/d</text>
  </title>
  <major_tickmark inside="True" outside="False" />
  <minor_tickmark inside="False" outside="False" />
  <minor_grid enabled="False" />
  <labels>
    <format>{%Value}{numDecimals:0}</format>
    <font size="10"/>
  </labels>
</y_axis>
<x_axis tickmarks_placement="Center">
  <title><text></text></title>
  <major_tickmark inside="False" outside="True" />
  <major_grid enabled="False" />
  <minor_grid enabled="False" />
  <labels rotation="90" padding="0">
    <font size="10"/>
  </labels>
  <scale major_interval="1"/>
</x_axis>
<extra>
  <y_axis name="y2" enabled="false">
    <scale minimum="0" maximum="1"/>
  </y_axis>
</extra>
</axes>
<chart_background>
  <inside_margin bottom="0" left="3" right="3" top="6" />
</chart_background>
</chart_settings>
<data_plot_settings default_series_type="Line">
<interactivity hoverable="False" allow_select="False" use_hand_cursor="False"/>
<line_series>
  <tooltip_settings enabled="true">
    <format><![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    <font family="Tahoma" size="10" color="0x"/>
    <position anchor="Float" valign="Top" padding="10" />
  </tooltip_settings>
  <label_settings enabled="true" mode="Outside" multi_line_align="Center">
    <format><![CDATA[{%comment} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    <background enabled="false"/>
    <font family="Tahoma" size="10" color="0x"/>
  </label_settings>
  <line_style>
    <line enabled="true" thickness="1" opacity="1" />
  </line_style>
  <marker_settings enabled="True" >
    <marker type="Circle" />
  </marker_settings>
</line_series>
</data_plot_settings>
&P1_TMP_CHART_DATA.
</chart>
</charts>
</anychart>Now, the problem is that when I run my page, I get the chart container with a message saying "XML parser failure: The element type must be terminated by the matching end-tag."
If I replace &P1_TMP_CHART_DATA. in my XML with #DATA# I get to see the chart with some sample data points, so I am guessing the XML itself (axes, title, etc) is probably OK and I messed something up in the definition of &P1_TMP_CHART_DATA.
Your help would be most appreciated.
Thanks,
Constantine
Edited by: Constantine on Jun 22, 2011 2:42 PM

Similar Messages

  • Text in legend in line chart

    Hello all.
    I have line chart with the legend. This legend contain text with length more then 20 characters. The text cuts off by some characters from the end, for example, it should be
    1. Test1Test2Test3
    2. Test4Test5Test6
    and it will be shown like
    1. Test1Test2Te
    2. Test4Test5Tes
    Changes in legend config window in Answers and in file cordalayout.cxml don't work.
    How else can I fix this problem?

    What OS is on your server? All browsers?
    I'm actually getting the exact opposite situation as you, I created legend items with really long text and they aren't being truncated at all. Even if I set the truncate value. I'm on Windows Server 2K3 and the same version of OBIEE.
    I'll keep testing to see if I can come up with something, but if someone else out there knows what's going on, I'd love to hear it.
    -Joe

  • Possible Bug when selecting the "text" tab on a Line Chart

    Thought I would pass this on.  Not sure if it has been logged yet or not.  Sometimes when building a line chart, the properties field locks up when I try and select the "text" tab.  The dialog boxes in the "text" tab do not show up and the "layout" tab is also highlighted.  I do not know what causes this, but it has happened to me numerous times.  The only solution is to totally delete the line chart and start all over.  It may be related to copying and pasting.  I set up a chart the way I need it and then copy/paste it rather than making all the changes on a default settings chart when I need another chart.
    Stan

    Hi Stan,
    Are you encountering this problem in the RTM version or SP1?
    Can you list the exact steps to reproduce this problem in the most simple case?
    Example:  add line chart, bind to data, copy, paste, click on text tab...............
    Thanks,
    Gerrit

  • JavaFX, Display Line Chart with additional text

    Hello:
    I am new to Java and JavaFX. I have been able to create a line chart that has four series using example code from the Oracle Javafx Documentation home. Below is the syntax used to create the line chart once the series info has been populated:
    Scene scene = new Scene(lineChart,800,600);
    lineChart.getData().addAll(series1, series2, series3, series4);
    When I display the chart, I would also like to display additional text.
    My chart measures four different averages by month. I would like to use the text to give more info about each series (ex: 6 month and 1 year total avg for each series). The Line Chart and the text that I want to add do not need to be related. I will calculate the 6 & 12 month avg and list it in the text separately.
    I am struggling to find a way to display the line chart with a separate text field. If anyone can point me to some sample code that does something similar I would greatly appreciate it.
    Thanks,
    Troy

    Hi,
    My data points in my line chart are an average for a single month for each series.
    Ideally I would like a table as shown below centered under the Line Chart if possible (I was unable to use underscores or spaces to build the example. The + signs would really just be a line and the ' are used for spaces):
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++``````````````++``Series 1```++```Series 2```++``Series 3```++``Series 4``++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++6 Month Avg````++```5.6`````++``````7.8 ```++ ````4.8`````++`````8.4``++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++12 Month Avg```++```6.9`````++``````9.3 ```++ ````2.5`````++```5.7````++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Edited by: user8835022 on Jul 26, 2012 3:35 AM

  • Horizontal Bar Chart and Overlaying Line Chart

    I am using SSRS 2008 and developing my reports in BIDS.
    I have a report with two data points. I want to chart the first as a bar (horizontal) chart and then the second as an overlaying line chart.
    I created both data series, originally, as a bar chart. I have clicked on the second series in the "Drop Data Fields Here" area and changed the chart to a line chart. When I do that, it changes both series to a line chart.
    However, if I use the column (vertical) chart for the first series, it will let me make the second one a line chart.
    Is this a limitation of SSRS 2008? Can I not have one data point be the horizontal bar chart and the second one a line chart?
    If so, are there any suggestions how to get around this?
    Thanks.

    Both charts for SSRS 2005/2008 are very limited when it comes to horizontal charts and are infact supporting only left-to-right bar charts, with no ability to combine them with other charting types (lines, areas, points etc.). For a SSRS charting solution that supports all types of charting type combinations in left-to-right and right-to-left horizontal fashion you can use Nevron Chart for SSRS - www.nevron.com. Besides a huge number of charting types and subtypes (most of which are not available in the MS Chart for SSRS 2008) it also provides better image quality in 2D and 3D modes, more settings, has support for rich text formatting in texts, has image filters, ability to customize via C# code and implements many more large and small charting related details.
    Best regards,
    Crank

  • How do I get more than 10 Y axis chart labels on a line chart

    I cannot find a way to get more than 10 y axis labels on a line chart. In AppleWorks you set your step size so a size of "10" which in my case equates to labels of 10, 20, 30, ..., 80, 90 and so on up to the MAX value. I would often have 20 or more labels. In iWork the size is the number of labels and the maximum size (number of labels) I can display is 10. With a min value of 30 and a max value of 330 each label jumps 30 points which doesn't give the resolution I need to see...and....when showing the data point values on the page in iWork they overlap each other and are unreadable even when stretched out on legal paper.

    What I am calling the X axis (horizontal) you are calling the Y axis. I need more than 10 labels on the vertical axis. Space for text is not a problem. I already have done exactly what you suggest for the horizontal axis. What I need is to get 30 value labels on the vertical axis (You show 5 in your example) along with the many more than 10 I have on the horizontal axis. The 10 through 300 value labels run vertically, and roughly 90 data points, one per day covering 3 months runs horizontally with a date label every 7 days. This graph represents values recorded daily at the same time each day.

  • 2D Line Chart question

    I have Apex 3.1 . I have created a 2D Line chart with for different series (so there are 4 lines on one chart). I also have a Legend on the left side next to the chart to label whatr each line is for. In my query for those lines I have the Name for the Legend as all CAPS but it shows up as first letter capital and the rest lower case. Is there a way to force it to all upper case?
    The second question I have is that underneath the legend I would like to have some type of text box were I can write a couple lines to help explain what is going on in the graph. Is there a way to do that?

    You basically have only a couple of options here:
    First, turn off the labels and possibly turn them into Hints. They wouldn't show on the chart, but when the user held over the data point, a tool tip would appear showing them the valuable.
    Second, adjust elements of the chart. What you are really looking at here is that your data set is causing this specific issue and not the charting engine or anything like that. You could try to manually change the axis max and min to get more spacing, or you could adjust the height of the chart to get more spacing, but this may not be a viable option. You could have one set of labels above the plotted line and another set of labels below the plotted line that way the values do not overlap with anything. However, from a conceptual standpoint, it will be difficult to determine in code which line should have values above and which should have values below. When your data set changes, you may end up with labels in the wrong place if you hard code where they are at.
    The current XML reference can be found at: http://www.anychart.com/products/anychart/docs/xmlReference/index.html however, that is for anychart 5. I'm looking for the link to the earlier versions...
    You can use this to create custom xml where you can adjust the position of the labels.
    Finally, you do not want expand the height of the chart between two points on the Y axis. That would change the structure of the chart and the visual properties of the chart and the shape of the data would be askew. You cannot do this for good reason. You can though use a logrithmic scale. In most cases though, this is not a practical solution. Data sets need to have very specific characteristics in order to be able to merit a logrithmic scale. Most queries require a simple linear scale.
    Austin

  • Legend with a line chart

    I am working on a line chart and want to add a legend to it.
    For the purpose I am using
    <mx:Legend dataProvider="{bigChart}"/>
    Now the y-axis in the chart can display different properties
    based on the items clicked before rendering. It can be profitAmount
    or it could be goodsSold. So the yAxis attribute keeps on changing.
    What happens with this legend is that the bos appears but
    with no text. Is there a way I can force some text to
    appear?

    nevermind I was missing displayName tag

  • Line Chart glitch - grid lines thick at certain heights

    The Flex Line Chart control does not display correctly at certain heights.  The gridlines that are supposed to be 1px pin stripes are sometimes displayed up to 100px wide.  This can be demonstrated with 1 line of code
    <mx:LineChart height="33000" x="200" y="0" id="chart_1"  width="100" ></mx:LineChart>
    I also have another small app that uses a timer to demonstrate how as the height increases the gridlines increase from:
    1px to 100px
    then back to 1px
    .... then as the chart's height increases another 7000px the 1px gridlines display correctly
    then it repeats going back to thick, then thin etc... almost a pulsating effect
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init();">
        <fx:Script>
            <![CDATA[
                import flash.utils.Timer;
                import flash.events.TimerEvent;
                private var timer:Timer = new Timer(10);
                private function init():void{
                    timer.addEventListener(TimerEvent.TIMER, changeheight);
                    timer.start();
                private function changeheight(event:TimerEvent):void{
                    chart_1.height=chart_1.height+30;
                    lblHeight.text="Chart Height:"+String(chart_1.height)+"px ";
            ]]>
        </fx:Script>
        <mx:LineChart height="33000" x="200" y="0" id="chart_1"  width="100" ></mx:LineChart>   
        <s:Label id="lblHeight"  />
        <s:Button y="80" click="timer.start();" label="Start" />
        <s:Button y="100" click="timer.stop();" label="Stop" />
    </s:Application>

    Are you able to acheive this.?
    PCXML script is used for chart rendering, and with that I think you can't demark the Gridlines.
    The following Xml file gives the definitions for the chart components including gridlines.
    chartviewtemplates.xml
    Which inturn refers to the following js for gridlines
    i think you have to work on the Js here demark the grid lines by default
    <Oracle_BIHome>\web\app\res\b_mozilla\views\chart
    dlggridlineseditor.js
    Before doing any changes take the backup.
    Thanks,
    Vino
    Edited by: Vinodh NK on Oct 22, 2010 3:44 AM

  • How to display a goal line in a Flash 2D Line Chart?

    Hello,
    I am using Apex 3.0.1 and have a Flash 2d Line Chart displaying a ratio that varies from 1.0 to 1.6 for every month for a year. I need to draw a goal line at 1.2 to show the goal for the ratio. Also, I have grid lines enabled for the y-axis.
    Any pointers/tips on how to accomplish displaying this goal line would be really useful.
    Thanks and Regards,
    Dev

    I'm having the same problem!
    APEX is relatively new to me. CUSTOM XML for tweaking charts is even more recent. I tried to get a goal line to work in a line chart as you described but I have had no success. I really require a target/goal/reference line in a vertical bar chart but getting it to work in a line chart would be a welcome first step.
    I have tried the following 2 samples of code without success:
    <objects>
    <line value='94' text='Target' text_position='right' color='0xFF3300' size='1' alpha='100'/>
    </objects>
    and
    <objects>
    <trend start_value='94' end_value='94' start_argument='' end_argument='' value='' color='0xFF3300' thickness='1' alpha='100'/>
    </objects>
    ==> in the following blocks of the CUSTOM XML:
    <chart .....</chart>
    <chart..<line_chart .....</line_chart>..</chart>
    <workspace> .. <chart_area .....</chart_area> ..</workspace>
    <workspace> .. <y_axis .....</y_axis> ..</workspace>
    <workspace> .. <grid> ..<values .....</values ..</grid> ..</workspace>
    <workspace> .. <grid> .....</grid> ..</workspace>
    Any idea where I am going wrong or what could be missing? Maybe I'm not putting the <objects> parameters in the correct place in the code?
    System Info:
    Product Build: 3.0.1.00.07
    NLS_CHARACTERSET: WE8MSWIN1252
    DAD CHARACTERSET: UTF-8
    JOB_QUEUE_PROCESSES: 10
    Database Version Information
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Thanks for any help!
    Lawrence

  • PL/SQL in a line chart

    Hello,
    I am learning to use APEX to build charts on our intranet. I'm getting errors when I try the PL/SQL code below on a line chart (btw I'm a noob in PL).
    The error description is after the code. Can someone please point out what's wrong with my code?
    Any help will be very much appreciated. Thanks.
    declare
    q varchar2(4000);
    g varchar2(4000);
    w varchar2(4000);
    c varchar2(4000);
    qte varchar2(1) := CHR(39);
    begin
    q:=' select null link , month, ';
    g:=' group by month ';
    q:= q ||' to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),'||qte||'999.00'||qte||')||' || qte||'%'||qte || ' as Cont_Rt ';
    q:= q ||' from axe_csa_daily_performance_mth ';
    w := ' ';
    if :P1_CENTER != 'All' then
    if instr(w,'where')=0 then
         w:= ' where CENTER = :P1_CENTER ';
    else w:=w||' and CENTER = :P1_CENTER ';
    end if;
    end if;
    if :P1_UNIT != 'All' then
    if instr(w,'where')=0 then
         w:= ' where ops_unit = :P1_UNIT ';
    else w:=w||' and ops_unit = :P1_UNIT ';
    end if;
    end if;
    if :P1_SUBUNIT!= 'All' then
    if instr(w,'where')=0 then
         w:= ' where sub_unit = :P1_SUBUNIT ';
    else w:=w||' and sub_unit = :P1_SUBUNIT ';
    end if;
    end if;
    if :P1_TM!= 'All' then
    if instr(w,'where')=0 then
         w:= ' where MGR_LNM'||','||'MGR_FNM = :P1_TM ';
    else w:=w||' and MGR_LNM'||','||'MGR_FNM = :P1_TM ';
    end if;
    end if;
    if :P1_TL!= 'All' then
    if instr(w,'where')=0 then
         w:= ' where LDR_LNM'||','||'LDR_FNM = :P1_TM ';
    else w:=w||' and LDR_LNM'||','||'LDR_FNM = :P1_TL ';
    end if;
    end if;
    if :P1_FROM <= :P1_TO then
    if instr(w,'where')=0 then
         w:= ' where month >= TO_DATE('||qte||:P1_FROM||qte||','||qte||'mm/dd/yyyy'||qte||') and month <= TO_DATE('||qte||:P1_TO||qte||','||qte||'mm/dd/yyyy'||qte||')' ;
    else w:=w||' and month >= TO_DATE('||qte||:P1_FROM||qte||','||qte||'mm/dd/yyyy'||qte||') and month <= TO_DATE('||qte||:P1_TO||qte||','||qte||'mm/dd/yyyy'||qte||')' ;
    end if;
    end if;
    q:= q || w || g;
    return q;
    end;
    1 error has occurred
    Invalid chart query: select null link , month, to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),'999.00')||'%' as Cont_Rt from axe_csa_daily_performance_mth group by month
    Use the following syntax:
    SELECT LINK, LABEL, VALUE
    FROM ...
    Or use the following syntax for a query returning multiple series:
    SELECT LINK, LABEL, VALUE1 [, VALUE2 [, VALUE3...]]
    FROM ...
    LINK URL
    LABEL Text that displays along a chart axis.
    VALUE1, VALUE2, VALUE3... Numeric columns that define the data values.
    Note: The series names for Column and Line charts are derived from the column aliases used in the query.

    Hello,
    Your code:
    Invalid chart query: select null link , month, to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),'999.00')||'%' as Cont_Rt from axe_csa_daily_performance_mth group by monthtry:
    select null link , month label, to_char(decode((sum(nvl(i_worked,0)) + sum(nvl(o_worked,0))),0,0,null,0,(sum(nvl(i_cont,0)) + sum(nvl(o_cont,0))) *100/ (sum(nvl(i_worked,0)) + sum(nvl(o_worked,0)))),999) value from axe_csa_daily_performance_mth group by monthI didn't check all the brackets, but by appending a percentage it isn't a value (numeric) anymore....
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Hiding measure values line chart

    Hie Guys,
    I have a line chart with measure object "X" and dimension "Month". Now, the measure values are going to be zero for all previous months. I do not want those zero values to be displayed in the line chart. Is there a way to do this in Webi? I tried to create a variable to substitute Measure object X.
    Variable = If (Measure Object =0) Then "" Else Measure Object. This did not work as the chart only takes measures and the variable is text. Anybody have any suggestions? Thanks.

    Jeewan, Consider this as sample data.
    Now create three variables....
    Month 1 = [M1] Where ([M1]<>0)
    Month 2 = [M2] Where ([M2]<>0)
    Month 3 = [M3]  Where ([M3]<>0)
    Now your data will be
    Right Click on it. Turn into Line Chart. Finally your output is as you required.
    Regards,
    G Sujitha

  • Changing column name in Line chart

    Hello All,
    We are BO 4.0 SP6.
    We are creating WEBI reports which includes charts as well.
    We have two columns " Current Period" and "Last Period" and using them in WEBI report and Line chart.
    In the table I am displaying the column name " Current period " as "Oct-14" using some formula.
    But I am not able to change the name in the chart.
    Can we change the column name in the graph using some formulas? Please advice.
    PFA the screenshot for your reference.
    Regards
    Prasad Ambati

    Hi,
    Do not Drag it inside chart area .
    Align Them above Legend Text ( Current Period ),
    so that Actual Legend Text will be hidden .

  • JavaFX line chart with data labels onMouseOver

    Hello
    Is it possible to show the value of a data point in a line chart?
    Here is an example but in flash: [Example of Data labels|http://www.fusioncharts.com/Demos/Blueprint/Default.asp]

    Hi
    I don't use the scene.chart routines but have implemented my own chart with the feature you want - see www.eco-wand.com demonstration which has the feature you wand in the History scene.
    To achieve this, I use the onMouseMoved function to give me the x position within the chart rectangle. I use this to look up my data sequence to get the values which I then display as text.
    abg

  • Line chart - possible to have an unbroken line through NULL values?

    Hi,
    I have a line chart. In the middle of my data are a few missing (NULL) values.
    Right now, if there is a null value in the data set, the line is broken. Is it possible to have the line connect through these null values without breaking?
    I appreciate your help.
    Here is an example:
    ###### DATASET (note the null value on 7/15)
    <DATA>
    <MY_ROW>
    <DT>2009-07-13T00:00:00.000+00:00</DT>
    <VAL>5</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-14T00:00:00.000+00:00</DT>
    <VAL>10</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-15T00:00:00.000+00:00</DT>
    <VAL/>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-16T00:00:00.000+00:00</DT>
    <VAL>10</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-17T00:00:00.000+00:00</DT>
    <VAL>15</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-18T00:00:00.000+00:00</DT>
    <VAL>10</VAL>
    </MY_ROW>
    </DATA>
    ###### CHART CODE:
    <Graph graphType="LINE_VERT_ABS">
    <LegendArea visible="false" />
    <Title text="" visible="true" horizontalAlignment="CENTER" />
    <LocalGridData colCount="{count(xdoxslt:group(.//MY_ROW, 'DT'))}"
    rowCount="1">
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    select=".//MY_ROW" group-by="DT">
    <xsl:sort select="current-group()/DT" />
    <Label>
    <xsl:value-of select="current-group()/DT" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    select=".//MY_ROW" group-by="DT">
    <xsl:sort select="current-group()/DT" />
    <Cell>
    <xsl:value-of select="sum(current-group()/VAL)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    I would prefer that the line connect the two adjacent values - 7/14 and 7/16.
    Thanks!
    - Matt

    Hi Matt,
    Use this.
    But if you don't want to display the date which has null value, we can do that too.
    chart:
    <Graph depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS">
    <LegendArea visible="true" />
    <LocalGridData colCount="{count(xdoxslt:group(.//MY_ROW,  'DT'))}" rowCount="1">
    <RowLabels><Label>VAL</Label>
    </RowLabels><ColLabels>
    <xsl:for-each-group select=".//MY_ROW" group-by="DT" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="current-group()/DT" /><Label><xsl:value-of select="current-group()/DT" />
    </Label>
    </xsl:for-each-group></ColLabels>
    <DataValues>
    <RowData>
    <xsl:value-of select="xdoxslt:set_variable($_XDOCTX,'prev_group', number(0))"/>
    <xsl:for-each-group select=".//MY_ROW" group-by="DT" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="current-group()/DT" /><Cell>
    <xsl:variable name="curr_group" select="sum(current-group()/VAL)"/>
    <xsl:choose>
            <xsl:when test="$curr_group > 0">
              <xsl:value-of select="$curr_group"/>
            </xsl:when>
            <xsl:otherwise>
          <xsl:value-of select="xdoxslt:get_variable($_XDOCTX,'prev_group')"/>
            </xsl:otherwise>
          </xsl:choose></Cell>
          <xsl:value-of select="xdoxslt:set_variable($_XDOCTX,'prev_group', sum(current-group()/VAL))"/>
    </xsl:for-each-group></RowData></DataValues></LocalGridData></Graph>

Maybe you are looking for

  • Best way to do a report???

    I have a page with about 3 dozen textboxes, dropdowns.... to select. What is the best way with ODP to pass all these selections to a package? and return the results

  • Can I upgrade oracle 10.1.0.5 to 10.2.0.3 ?

    os: x86_64 x86_64 x86_64 GNU/Linux oracle:10.1.0.5 3 instances are running currently 10.1.0.5. Now I want to upgrade this with oracle 10.2.0.3 patch set p5337014_10203_Linux-x86-64 I just downloaded the patch. My question is can we directly upgrade t

  • Infoobject 0doc_number does not fulfill ref.integrity in record 1

    Hi BW Experts, I am facing an error in quality server "infoobject 0doc_number does not fulfill ref.integrity in record" while scheduling the infopackage. But it was working fine in development server. While scheduling the infopackage i have choosen t

  • How do I split signals?

    I am using the DAQ input to bring in four analog signals.  Each signal goes through some mathematical operations specific to the signal.  My problems are these: 1. when I split the signals to perform the operations, they do not correspond to a single

  • Saving Photoshop CS5 Print dialog box presets or defaults?

    This question was asked in 2008 for PS CS3 with no answer, so I will ask it again... OS 10.6.4 Using Canon iPF 5100 and 6100 printers CS 5 Photoshop Is there a way to set a preset in the PS Print dialog window for 'Photoshop manages color' and the IC