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>

Similar Messages

  • Is it possible to have a phone line connected to a Mac Mini (OS X10.8.2) so you can use your computer with Parallels (Windows xp) to dial into a modem to download data being collected and stored at the remote location?

    Is it possible to have a phone line connected to a Mac Mini (OS X10.8.2) so you can use your computer with Parallels (Windows xp) to dial into a modem to download data being collected and stored at the remote location?

    Hi, do you mean a real Dial-up Modem as in the old days?
    As I recall, the Apple USB Modem won't work in 64 bit OSes, but there are others that will, I think this is one of them...
    http://www.zoomtel.com/products/dial_up_external_usb.html
    Or is the Modem on the other end Cable/DSL/FiberOptic?

  • Line Charts - X-axis Labels as function of X-axis value

    Hi,
    1) Is there a way to put X-Axis labels in line chart as function of X-axis values ?
    For instance, X-axis values are in minutes and I need to show those as Hours.
    I'm having Hours as separate column as well, but when its selected as X-axis value column, the line graph is disturbed.
    2) Also, how to specify the length/range of X-axis ?
    For instance, in dataset if I've x-axis values from 0 to 5 hours but still want to show on graph the X-axis till 8 hours.
    Thanks for your help in advance.
    Regards,
    Sumit

    Hi Sumit,
    I have tried following things with proper datetime format may be help you.
    1> in your applet code you can add below param
    <PARAM NAME="XAxisDateFormat" VALUE="H">
    it will display your levels in hours for more details please refer Date and Time Format under query template in MII help.
    2>In your Query template under date range you can select duration and duration unit.
    for 8 hour span you can select Duration = 8 and in duration unit = H
    I have tested it for a tag query, may be i did not understand your issue properly but hope it helps you!!!
    Regards,
    Manoj Bilthare

  • Is it possible to have only one line per item in InfoView document list?

    Hi,
    my customer is complaining about InfoView (Document list) wasting too much screen estate. For each list item (report, folder etc.) InfoView displays two lines, one for the name and one for the description. Is it possible to configure InfoView to display one line only, leaving out the description?
    Regards
    Joern

    Hi Joern,
    You can set the user preferences  to not display the description in the section: Document List Display
    Regards,
    Julian

  • Is it possible to have a link to delete a value in a SQL report?

    Application Express 3.1.0.00.32
    I have a simple table with a listing of names (project managers) and would like to have a link in a separate column that would have the pm removed (delete the pk_id from the table).
    I have tried several things without success.
    I created a column link with the 'delete' request and a page process (multi row delete) only triggering whenever the 'delete' request is sent. Whenever you click the link, the id is not removed from the table and the page refreshes.
    For column link I have tried page in this application and URL. Whenever selecting URL, I am given the following command:
    f?p=&APP_ID.:14:&SESSION.:delete:&DEBUG.::P14_PK_PROJMAN_ID:#ID#
    :P14_PK_PROJMAN_ID is the page item and ID is the correct column that I wish to have removed.

    Hello:
    You can put the JS function into the HTML Header section of the Page defintion.
    <script>
    function doDelete(id) {
    $x('P14_DEL_ID').value=id;
    doSubmit('DELETE');
    </script>Define a new page process whose process point is 'On Submit: After Computations and Validations'. For the Process Source specify
    Delete from <table> where key_column=:p14_del_id;Under Conditional Processing select 'Request=Expression 1'. For Expression 1 specify 'DELETE'
    Hope this helps.
    Varad

  • Is it possible to have 2 lines with BT Infinity Un...

    As you will know, BT Infinity Unlimited broadband has a 100GB threshold, which when met will then throttle your speed to about 1Mb download which renders your internet all but useless except for the most basic tasks.
    I use around 150GB in down/upload each month due to watching movies online and live webcam sites like Justin.tv etc.
    What I want to know is, would it be possible to have 2 telephone lines at the same address with 2 lots of BT Infinity Unlimited broadband, thus giving me 100GB limit on each and 200GB in total.  I could use one line until nearing 100GB useage on one line, then switching to the other line for the rest.
    Is this possible and do BT allow it?
    Solved!
    Go to Solution.

    the threshold is being increased
    http://community.bt.com/t5/BB-in-Home/WHERE-IS-OUR-USAGE-MONITOR-BT/td-p/35371/page/5
    mods post yesterday
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Is it possible for a line chart to display curved lines between points?

    We have an interesting request to build a line chart in OBIEE, where the chart points are connected by curved lines instead of the normal straight lines. The best way to describe it would be "snakelike." I've seen this in a Cognos report, but I'm not sure if OBIEE can do this. Maybe a setting within line.pcxml? Any ideas?

    We currently do not provide such a chart. The two options you have for connecting the points in a line chart are either via a straight line or via a step curve. A curved line would basically be a form of a spline curve, with appropriate curve-fitting algorithms.
    Rgds,
    Abhinav
    BI Product Management

  • Disabling SOME datatips in a line chart

    Hi,
    I'd like to know if it's possible to disable some datatips in
    a line chart. I have a large number of data to build my line chart
    and i only want to show few datatips. Is there a way to do that?
    Thank you for your replies.

    Hi,
    Not sure if you worked out the problem. This solution worked for me:
    <mx:LineSeries 
    yField="my_data_value" displayName="My Data" itemRenderer="mx.charts.renderers.DiamondItemRenderer">
         <!-- Set the color of datatips here-->
         <mx:stroke>
              <mx:Stroke color="0x0099FF" weight="5"/>  
         </mx:stroke>
         <!-- Set the color of line chart here-->
         <mx:lineStroke>
              <mx:Stroke color="0xFF1100"/>  
         </mx:lineStroke>  
    </mx:LineSeries>
    Cheers,
    Nilesh

  • APEX multi series line chart with different markers for each series

    I am using APEX 4.0 and trying to create a multi-series line chart that will have a different for each series.
    Does anyone know how to accomplish this?
    Edited by: user4635837 on Apr 19, 2011 7:22 AM

    Hello -
    It is possible to do.
    Another user in this forum has written some code snippets to assist in creating your own custom XML for charting. That reference can be found http://apex.oracle.com/pls/apex/f?p=36648:30:418355095936797::NO:::
    Look this over and it should get you moving in the right direction.
    What you are trying to do isn't terribly difficult. In fact, I did it fairly easily as can be seen http://apex.oracle.com/pls/otn/f?p=28155:4:362637005964920:::::
    First, create a Hidden page item.
    Next, create a process that runs before regions
    That process will create the XML for your line chart and store it in the hidden page item. Use the above references for assistance in setting up the PL/SQL in the process
    Then, create your custom XML for your chart. Replace the #DATA# tag in the custom XML with your hidden page item.
    It is a bit daunting at first, but once you get the hang of it, it really isn't that bad.
    Austin

  • Getting BEx query header data into Xcelsius for line chart Category Labels?

    Hello - Is it possible to get header data from BEx queries into Xcelsius so they can be used for Category Labels in a line chart?
    We have a BEx query that displays 16 weeks of shipment trends by column and text variables are used to display the respective date selection for each of the weeks in the query header but When connecting QaaWs to Xcelsius, the header row does not get displayed.
    When using LiveOffice, the header row seems to come thru with the correct dates for each of the weeks but if you are stacking more than one connection than you will get an extra header row for each connection.
    Are there any tricks to hide a header row in a LiveOffice document?
    Is there anyway to display the header row from QaaWs in Xcelsius?
    Any other work arounds?
    Thanks,
    Derek

    Derek,
    Below are my inputs...
    -->Using QAAWS you will not be able to get the header data, so you will have to maintain header data manually in Xcelsius (Spreadsheet).
    -->Using Live office you will be able to get the header data, and if you are using multiple live office connections, then you need to use cell reference formulas and format the spreadsheet (Xcelsius) as you require.
    -Anil

  • Web Application Designer (Line Charts-Data Points)

    Hi
    I have to display the query in WEB as a Line Chart
    The Query is on Cal Day Vs Mean Value
    The user enter the Cal Day (From/To)..the Line chart is supposed to display mean Value on No of Cal Days users choosed.
    In query created variable for Cal Day..but how can i define the Data Points for the chart in the Web designer.
    Bydefault we have to specift no of data points we required..how can i change that to be based on the range user entered
    Than ks

    Hi Krishna,
    When you define a chart, you define a number of series, but when you run the WAD, it takes the number of series it has the query.
    Regards,
    Diego

  • Show Timestamp on Y axis in a SSRS line chart.

     I have a column with datatype as timestamp. And i want to show that column on Y axis in a line chart. two sample values from that column are 03/01/2014 11:30 PM and 03/02/2014 12:10 AM. In this case the data point for first value should be less compare
    to the second one, i.e. the series should consider the complete timestamp. Is there a way in SSRS to achieve it.
    If I only take the time value from timestamp on Y axis and plot the chart then the data point for 12:10 AM is less than the 11:30 PM, which is not true in this case.
    ApoorvaW

    Hi ApoorvaW,
    In Reporting Services, if we directly add the Timestamp field to Y Axis, it displays the count values in the line chart. When we modify the expression of the value to [Timestamp], it displays the date value in the Y Axis. Though it displays date type as
    the axis label, it represent the complete timestamp.
    So in my environment, the timestamp display very well in the line chart. If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Legend for a line chart displaying incorrectly

    Hi All,
    I am working with a line chart in webi XI R2. for example conssider the island resort marketing universe. we have 3 resort names like bahamas,US,France and the corresponding "revenue"  for year 1999,2000,2001. Now i want a line chart for each resort and another line for sum of all the revenue.
    So my final line chart contains 4 lines, one each for bahamas,US,France for 1999,2000,2001. and 4 line is sum of all revenues (for all resorts) in 1999,2000,2001.
    I have used a "vertical line mixed" chart for this. All the graph lines are displaying correctly but the legend is displaying wrongly.
    Please advise.

    Hi Raveendra,
    I guess its the 4th line i.e. sum af all revenue that you have added in the same chart is causing the problem.
    My solution is why dont you try and put the sum of all revenue in other chart on the same report.
    May this would help resolve your legend problem.
    If you can give the exact details like what attributes you have selected while running the query and how did you added the sum of all revenue in your chart being more specific, would rather help a bit better in solving the problem.
    Thanks,
    Chirag Desai.

  • 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

  • Webi Line Chart to Start from Axis Origin

    Hi,
    Need a quick help in BI4.0 webi line chart formatting.
    I have datetime on x-axis and cash flow on Y-axis.
    Say my cash flow starts at 9am on a day with $100 , my line chart starts the plot from 9am i.e. (9am,$100)
    instead I want the line plot to always start from (0,0)
    This is probably a chart option, but i dont find it.

    Hi Thangaraj,
    I have a similar requirement for a line chart to start from 0,0. while its min value is greater than 0.
    We are on BO 4.1 SP4  and there is no direct chart option for this.
    I would like to know whether you were able to achieve this in web intelligence.
    I really appreciate your reply.
    Thanks,
    Sri

Maybe you are looking for