Line Graph - 0 quantity display

All,
The requirements for my line graph are as follows:
-Map the data to the graph based on hours and quantity. 
-When the quantity is 0 - break the line.   The line should not dip down to 0 and back up to the quantity.   The line should stop at that point, and then continue on the next non-zero point.
I'm not sure how to stop the plotting on the graph when the quantity is 0.
Any ideas?
Thank you,
Michelle

Hi, Michelle.
The best way to achieve this would be to use either a SQL query or xMII's Business Logic Services to "transform" your dataset, replacing zero (0) values with NULL (SQL) or NA (xMII) values.  This will give you the desired result.
If the data source is not SQL, you can do it with BLS.
Rick

Similar Messages

  • 3D Line Graph.vi not displaying line connecting data points.

    I'm having trouble getting 3D Line Graph.vi to display the line connecting my data points.  I'm collecting latitude, longitude, and depth data from a binary file, loading this data into arrays with a while loop, and sending those arrays to 3D Line Graph.vi.  When I tried doing it with arrays created by random number generators, the line is displayed, but when I use it with my actual data, no lines are displayed.  I can only see where the data points are when rotating the 3D graph.  Any ideas on this would be appreciated.
    Thanks,
    Morgan
    Attachments:
    Plot Depth.PNG ‏61 KB

    Karunya,
    Thanks for the info on the 3-D Curve VI.  I tried it and it works.  I think I was able to find the problem with 3D Line Graph.vi.  It has something to do with plotting very close points away from the origin and scaling the axes to view the line.  I have attached an example of where the vi breaks down.  In this example, you can see that part of the line is drawn, but when you rotate the graph, you can see that the line is not drawn through all of the points.  If you change the scale of the axes, then you eventually get the line to go through all of the points, but then the graph is not very "readable" at that point.  It's when you try to zoom in really close to the plotted points.
    Thanks!
    Morgan
    Attachments:
    3d Line Graph Error.vi ‏16 KB

  • ADF11g: dvt, line graph x-axis (o1 axis) display issue

    Hi,
    In our application we are generating line graphs for a set of data.
    This graph is plotted in between 2 sets of numeric values. (one plotted on x-axis and other on y-axis).
    For better accuracy of plotted graph we are using these numeric values upto 7 decimal places. (for example 8.1234567)
    Now when graph is plotted, then on x-axis (that is o1- axis in case of Line Graph) the tick labels are showing upto 7 decimal places.
    Is there any way so that I could control the display of these tick labels to 1 decimal place instead of 7 decimal places?
    More Info:
    ++The tick labels for x and y axis are generated at runtime by some calculation logic.++
    ++If we set the tick labels for x axis to 1 decimal place instead of 7 decimal places when they are generated , then this will lead to build in accurate graphs.++
    ++So we can't control the decimal format of tick labels when they are generated. We need to control it when they are displayed.++
    Please help...
    Thanks and Regards
    Manav Ratra

    Hi Frank,
    this is not working :( . It holds good for the case where one has to display markers (tick labels) on the lines of line graph and not the tick labels on the axis.
    Moreover here i find out tag as *<dvt:x1Format>*
    where as line graphs does not support x1axis they have o1axis .
    In my case I need to control display of tick labels on the o1axis.
    Regards
    Manav Ratra

  • Line Graph with Multiple Series not displayed(Install Missing Plugins)

    Hi All,
    I have created a Graph - Line Graph.
    I have created more then one Series.
    The graph is not being displayed, it asks to download missing plugins.
    Where as when I have a singe chart series the graph is displayed.
    What are the missing plugins, where can I find those.
    I am using Mozilla 5.0.
    Regards
    Arif Khadas

    Please Help!

  • Use view objects to display muti lines graph

    I need to create multiple lines on a line graph using data from view objects. I did see the demo that allows to add series but the data seems from tabular data.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/index.jspx?_afrLoop=39644483771460039#%2Ffeature%2Fgraph%2Fanimation.jspx%40
    Using Jdev 11.1.1.3
    I understand that each line is a series. I was able to show multiple lines but for supporting data while in reality need to show for different data such as for the stock market lines for Dow, nasdaq, S&P. I used order_lines tables and placed creation_date as x_axis and for lines/y-axis used three columns (product_value, product_id, linesCount)
    Might need to create some complex view or is there a way bind multiple views or view objects can't be used for this case?
    Thanks

    Thanks Shay. What I did was on the right track and is similar what you suggested.
    I was somewhat trying to validate what I did to display multi lines i.e. by placing in the Line field during graph configuration the attributes for each of lines/series.
    If need to display sale total for 5 departments over a year. The view object will have attributes as: sale_date, dept1_sale, dept2_sale, dept3_sale, dept4_sale, dept5_sale
    Then can chart it with sale_date as x-axis and ALL 5 dept sales on line/y-axis.
    By this had the correct structure and was able to generate the 5 lines correctly.
    Thanks

  • Hide values to be displayed along Y-axis in line graph

    Hi friends,
    I need to generate a line graph using Oracle reports. But the values along y-axis should not be displayed. Can anyone help me how to hide displaying values along the y-axis
    Thanks,
    venkat

    Venkat,
    I am not sure if it can be hidden. I will update this thread if I find something. But for now, what you can do is, create a Rectangle over the y-axis values. Change the background color of the rectangle same as graphs color, and line color as 'No Line'. It will hide the values.
    Hope this helps.

  • How to display no. of seconds in HH:MM:SS format on Y-Axis in Line Graph

    Hi All,
    I have two columns as No. of Seconds and Date.
    I want to create a Line Graph with Date on Horizontal Axis (X - Axis) and, on Vertical Axis (Y - Axis) I want to represent the No. of Seconds as HH:MM:SS format.
    For example, If the DB returns No. of Seconds as 93, I want to get it on Vertical Axis as 00:01:33 (00 hours, 01 Minute, 33 seconds), If it is 145 seconds , I want to get it as 00:02:25....etc.
    Can anyone please help me on this ?

    Srini VEERAVALLI I already used this code and I'm getting HH:MM:SS format in Table View, but my requirement is I need to represent the HH:MM:SS format on Vertical Axis in Graph View. In Graph View by default it's considering No. of Seconds only.....
    Srini VEERAVALLI, is your full name is Srinivas Veeravalli ?

  • Order Quantity field editable in line item in Quantity Contract

    Hi,
    We are using a quantity contract for our project.
    Our requirement s to have Plant, Quantity, Batch and Amount to be editable in the line item of contract.
    We made ZQC Sales order type and assigned screen group of Sales order in which we are getting Plant, Batch and amount as editable but however there is a field Order quantity which is greyed out.
    There is a fields Target quantity which is available for input however it is not in the line item which is displayed below, user has to double click n the line item and enter that value.If we can get order quantity as input field or target quantity can be made available in line item our purpose would be resolved.
    Kindly help on the issue.
    Anil.

    try screen variant SHD0

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' measure label.
    The Measure Labels tile is currently residing in the Vary Color By (Horizontal Axis) zone, along with the legend column, so I guess it makes sense that the legend column and the measure labels would both show up in the legend (although I don't think that was the case in 11.1.1.3). However, there doesn't appear to be any place into which I can relocate the Measure Labels tile so that the word Sales DOESN'T appear on the line graph. If I move the Measures Labels tile into Graph Prompts, Sections, or Group By (Horizontal Axis), the word Sales appears in those locations. If I attempt to move that tile into the Lines (Vertical Axis) box, or into the Excluded box, it won't allow being dropped there.
    Switching between line, bar, and area graphs reveals the same problem in all graph types.
    Is there any way to supress the display of measure labels on graphs in 11.1.1.5?

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Marker Shape in Legend - Line Graph

    Hello,
    I have recently upgraded from 10g Release 1 to 10g Release 2.
    I am using a line graph. In Release 1, the data marker shapes show up in the legend. In Release 2, they don't. In Graph.xml, I have set the Graph element to have the attribute markerShapeInLegend="true".
    Does anybody else have this problem and/or know of a solution?
    Thank you.

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • BI Publisher 11g. Plotting multiple lines in a line graph

    Hi,
    We have a requirment where we need to show multiple lines in a line graph. I have gone through the earlier posts for this topic but when I am following the same steps I am not able to resolve the problem.
    I have 3 mterics: Month (which will be X-axis) , Size (Which will be on y-axis) and Name. I have names for 10 tables and i want to display 10 lines in my line graph.
    In the chart generator, I am using Month in "Labels", Table name for "color" field" and size in the "values" section.
    When I am trying this I am geting the following error in chart generator. It says " The data required 2 columns. The data has only 1 column." To trick the system, I also put a dummy column with static value of 1, but then also i am getting the same error, that it requires 2 columns.
    the sample XML for the chart is like this:
    <G_2>
    <TABLE_SIZE_TRENDS>43.90832000000001</TABLE_SIZE_TRENDS>
    <TABLE_NAME>Table1</TABLE_NAME>
    <MONTH_NAME_TRENDS>April</MONTH_NAME_TRENDS>
    </G_2>
    - <G_2>
    <TABLE_SIZE_TRENDS>69.62872</TABLE_SIZE_TRENDS>
    <TABLE_NAME>Table2</TABLE_NAME>
    <MONTH_NAME_TRENDS>April</MONTH_NAME_TRENDS>
    </G_2>
    It looks pretty straightforward but I am stuck in it for quite some time now.
    All your guidance is greatly appreciated in this regard.
    Regards,
    Aakarsh

    any help? still need help. thanks

  • Markers on the line Graph.

    Hello,
    I am wondering, if it is possible to display line graph with the markers (dots, squares, …) on the line. It looks like markerDisplayed="true" is the parameter to set, but it changes marker Display in the legend, not on the graph.
    Thank you,
    Irina.

    Hi,
    is this a question for JDeveloper 10.1.3 or 11? If it sis for 11, please post this to the JDeveloper 11 forum, which is montitored by the DVT developers as well:
    JDeveloper and OC4J 11g Technology Preview
    Frank

  • Creating multiple Line Graph having common values..

    Hi...
    I've created one application process for creating Multiple Line Graph.
    And i've integreted two tables in this graph, where values may be common for both the tables. In this case, for common values, instead of getting overlapped I'm getting scattered graph(its totally abnormal). Please help me if you 've any idea about this issue.....?
    Please go through the App Process and the output of the SQL query.
    In output of the query, in the NAME column "Feb-2010" is common.
    This is the SQL query OUTPUT:_
    TABLE 1
    NAME VALUE
    Sept-2009 100
    Oct-2009 95
    Nov-2009 98
    Feb-2010 97
    TABLE 2
    NAME VALUE
    Jan-2010 93
    Feb-2010 100
    Mar-2010 98
    Application Process :_
    DECLARE
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    OWA_UTIL.http_header_close;
    HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
    HTP.p ('<anychart>');
    HTP.p ('<settings>');
    HTP.p ('<animation enabled="True"/>');
    HTP.p ('</settings>');
    HTP.p ('<charts>');
    HTP.p ('<chart plot_type="CategorizedVertical">');
    HTP.p ('<data_plot_settings default_series_type="Line">');
    HTP.p ('<line_series>');
    HTP.p ('<marker_settings>');
    HTP.p ('<marker type="None" />');
    HTP.p ('<states>');
    HTP.p ('<hover>');
    HTP.p ('<marker type="Diamond" />');
    HTP.p ('</hover>');
    HTP.p ('</states>');
    HTP.p ('</marker_settings>');
    HTP.p ('<tooltip_settings enabled="True">');
    HTP.p ('<format>Year {%Name}{enabled:false} {%SeriesName} - {%Value}{numDecimals:0}%</format>');
    HTP.p ('</tooltip_settings>');
    HTP.p ('<effects enabled="True">');
    HTP.p ('<drop_shadow enabled="False" />');
    HTP.p ('<bevel enabled="true" distance="1" blur_x="2" blur_y="2" />');
    HTP.p ('</effects>');
    HTP.p ('<line_style>');
    HTP.p ('<line thickness="3" /> ');
    HTP.p ('</line_style>');
    HTP.p ('</line_series>');
    HTP.p ('</data_plot_settings>');
    HTP.p ('<chart_settings>');
    HTP.p ('<title enabled="true">');
    HTP.p ('<text>Avg. %App. Uptime per month </text>');
    HTP.p ('</title>');
    HTP.p ('<axes>');
    HTP.p ('<y_axis>');
    HTP.p ('<title>');
    HTP.p ('<text>Value</text> ');
    HTP.p ('</title>');
    HTP.p ('<scale minimum="90" maximum="101" major_interval="1" />');
    HTP.p ('<labels>');
    HTP.p ('<format>${%Value}{numDecimals:0}</format>');
    HTP.p ('</labels>');
    HTP.p ('<axis_markers>');
    HTP.p ('</axis_markers>');
    HTP.p ('</y_axis>');
    HTP.p ('<x_axis tickmarks_placement="Center">');
    HTP.p ('<title enabled="False" /> ');
    HTP.p ('</x_axis>');
    HTP.p (' </axes>');
    HTP.p ('</chart_settings>');
    HTP.p ('<data>');
    FOR ObjRecord IN (select DISTINCT(K_OBJECT.OBJECT_ID) as OBJECT_ID,name from K_OBJECT, K_OBJ_TYPE_ASP_REL where K_OBJECT.OBJECT_ID=K_OBJ_TYPE_ASP_REL.OBJECT_ID and K_OBJ_TYPE_ASP_REL.OBJECT_TYPE_ID=1)
    LOOP
    HTP.p ('<series name="'|| ObjRecord.name ||'">');
    FOR MonthlyValueRecord IN (select NAME,VALUE
    from K_REPORT_RUN,K_ASPECT_VALUES,K_ASP_TIM_RPT_REL
    where K_REPORT_RUN.RUN_ID=K_ASP_TIM_RPT_REL.RUN_ID
    and
    K_ASPECT_VALUES.ASPECT_VALUE_ID=K_ASP_TIM_RPT_REL.ASPECT_VALUE_ID
    and
    K_ASP_TIM_RPT_REL.ASPECT_ID=1
    and
    K_ASP_TIM_RPT_REL.OBJECT_ID=ObjRecord.OBJECT_ID
    order by K_REPORT_RUN.STARTTIME)
    LOOP
    HTP.p ('<point name="'|| MonthlyValueRecord.name ||'" y="'|| MonthlyValueRecord.value ||'" />');
    END LOOP;
    HTP.p ('</series>');
    END LOOP;
    HTP.p ('</data>');
    HTP.p ('</chart>');
    HTP.p ('</charts>');
    HTP.p ('</anychart>');
    htmldb_application.g_unrecoverable_error := true;
    END;
    Edited by: user12873839 on Apr 9, 2010 3:58 AM
    Edited by: user12873839 on Apr 9, 2010 4:02 AM
    Edited by: user12873839 on Apr 9, 2010 8:00 AM

    >
    Help Needed Urgent.....
    >
    That is one surefire way to not get any help and certainly not urgently. I suggest that you amend the title of your post to something that reflects the actual issue. This will also help anyone with similar issues to find the thread.
    When posting code please put {noformat}{noformat} (with the curly brackets and the word code in lower case) above and below it to preserve formatting like this...
    {noformat}{noformat}
    SELECT *
    FROM emp
    {noformat}{noformat}
    This will be displayed on the forum like this...SELECT *
    FROM emp
    Cheers
    Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle reports - Line graph

    Hello,
    I have a few issues with the line graphs (using oracle 10g dev suite R1 - 9.0.4).
    1. Unable to make my y axis - a dotted line.
    2. Since I couldn't make the y axis a dotted line, I made it a thin line. This thin line looks fine when I run it from the oracle reports builder. but when I genenerate to a PDF file, this thin line becomes thicker.
    3. Thirdly, I want to place a dot or something wherever the value changes in the line graph. One option is to add the MarkerText visible="true" to the Graph settings xml file. but this puts the marker text to all the y axes.
    I want it only for 1 y axis.
    Cheers

    Assuming you mean "series" and not "axis", you can control the style, width, and markers using the lineStyle, lineWidth, and markerShape attributes of the <Series> element (in the XML shown in the Graph Settings property) for the series (set of Y values) of interest.
    For example, to use a thin, dotted line with circle markers on the first series, but leave the other series with their defaults, you might:
    1. Make sure the markerDisplayed attribute of the <Graph> element is set to ="true". Otherwise, no markers will be displayed.
    2. For the <Series> element with the id attribute equal to "0" (which identifies the first series), set the lineStyle attribute to "LS_DOTTED", the lineWidth attribute to "1" (in pixels), and the makerShape attribute to "MS_CIRCLE".
    3. If needed, set the markerShape attribute of the other <Series> elements to "MS_NONE".
    The Graph Settings property might look something like this:
    <rw:graph id="CT_1" src="G_YOUR_GROUP" groups="X" dataValues="Y1,Y2">
    <!--
    <?xml version="1.0" ?>
    <Graph version="3.2.0.22" graphType="LINE_VERT_ABS" markerDisplayed="true">
    <SeriesItems>
    <Series id="0" lineStyle="LS_DOTTED" lineWidth="1" markerShape="MS_CIRCLE"/>
    <Series id="1" markerShape="MS_NONE"/>
    </SeriesItems>
    </Graph>
    -->
    </rw:graph>For more information, see the "Graph.dtd" file in your "%ORACLE_HOME%\jlib\bigraphbean.jar".
    Hope this helps.

  • Multi line graph values issue

    Hi,
    I am using JDev 11.1.2.2.0
    I made a standard line graph which I populate with data through a backing bean.
    I read a post on how to put points to the graph:
    ArrayList <Object[]> data;
    Object[0] -> x axis data, here I have dates
    Object[1] -> name of the serie, a new serie is created for each different name
    Object[2] -> y axis data, here I have values
    Then I put the list to the graph and it works fine, only for one serie.
    When I display 2 or more series, the graph shows the different series in different colors as it is suposed to do.
    But, the values (Y axis) are not displayed at the correct place. I mean for instance the point with value 4K is displayed below the 3K Y axis marker...
    And sometimes the point is displayed above as its real value...
    So my graph is false, but my values are correct (I tested it)
    Then what can I do? The graph can draw several lines as I managed to put more than one serie. The only problem is that they are not displayed properly...
    (if you need the code I can show it)
    Edited by: Jikai on 20 sept. 2012 16:51

    Ok, I found what was wrong.
    In the graph properties the subType field was set to LINE_VERT_STACK, then I changed it to default (LINE_VERT_ABS) and it worked.
    <dvt:lineGraph id="lineGraph" subType="*LINE_VERT_ABS*"
    binding="#{backingBeanScope.backing_ReportingPopUp.lineGraph}" shortDesc="Graph that shows metrics"
    inlineStyle="height:100%; width:100%;" imageFormat="FLASH">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"/>
    <dvt:graphTitle text="Metrics for Hosts by Date" horizontalAlignment="CENTER"/>
    </dvt:lineGraph>

Maybe you are looking for