Combining graphs

Is it possible to combine two graphs into one or to have a single graph that can graph data from two sources in different colors but in the same graph window so that there values can be compared on the fly?
Thanks
Ty

Which version of LabVIEW are you using??
I have tried to save if for LabVIEW 7.1 and attached it along with this post.
Let me know if this works
If not, find attached a pic of the vi with modifications in 'False' case.
Just incorporate them in both the cases
Attachments:
bundle5.vi ‏580 KB
bundle.PNG ‏29 KB

Similar Messages

  • How to make the values of a combination graph (bar and line) visible always

    Hi ,
    I am using jdev 11.1.1.6
    i have created a combination graph which has a bar and line.
    The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
    i need to set the values visible always.
    kindly let me know how to make it.
    In pie graph its by default showing the data always.
    regards
    Siva

    Hi Sameh Nassar,
    Thanks for the input, am using the combination graph and i dont have this property added till now.
    i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
    please correct me if am wrong.
    This is my combination graph structure.
        <dvt:comboGraph id="comboGraph1"
                          value="#{bindings.testVO1.graphModel}"
                          subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
            <dvt:background>
              <dvt:specialEffects/>
            </dvt:background>
            <dvt:graphPlotArea/>
            <dvt:seriesSet markerDisplayed="true">
              <dvt:series lineWidth="0"/>
            </dvt:seriesSet>
            <dvt:o1Axis/>
            <dvt:y1Axis/>
            <dvt:y2Axis/>
            <dvt:legendArea automaticPlacement="AP_NEVER"/>
            <dvt:graphTitle text="Combination graph"/>
            <dvt:o1Title text="x axis"/>
            <dvt:y1Title text="y1 axis"/>
             <dvt:y2Title text="y2 axis"/>
          </dvt:comboGraph>
    regards
    Siva

  • Graph wizard on reports 9i( regarding dual Y combination graph)

    I have the following columns for my report with the values as follows
    Area1 : 20
    Area2 : 30
    Area3 : 40
    Sales1 : 1000
    Sales2: 2000
    Sales3: 3000.
    x_axis : week.
    I would like to have by Y axis with the values 10, 20 ... range and have the columns Area1,Area2 to use the Y axis.
    I would like to have by Y1 axis with the values 1000,2000,... range and have the columns sales1,sales2 to use Y1 axis.
    Can I do this?
    With the dual combination graph now it displays all the columns in 2 different scales and I do not want that.
    Any help would be greatly appreciated
    Thanks,
    KK

    Hi Laura
    One workround would be to create a new query in the Data Model that includes desired fields, and then source
    chart to the new group.
    FYi, bug2527100 was filed on this issue and is already fixed. The fix would be available in 9i Reports 9.0.2.2 patch. Reports 9.0.2.2 patch is scheduled to be released on Mar 05 2003 (tentative date).
    Thanks
    The Oracle Reports Team

  • Is it possible to have a combination graph chart with a stacked vertical br

    I have the following XML data :
    - <ROWSET>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>01</Z_MONTH>
    <Z_SALES>100</Z_SALES>
    <Z_SALES_PREV>50</Z_SALES_PREV>
    <Z_SALES_PREV2>90</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>02</Z_MONTH>
    <Z_SALES>300</Z_SALES>
    <Z_SALES_PREV>50</Z_SALES_PREV>
    <Z_SALES_PREV2>40</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>03</Z_MONTH>
    <Z_SALES>600</Z_SALES>
    <Z_SALES_PREV>35</Z_SALES_PREV>
    <Z_SALES_PREV2>80</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>SPAIN</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>04</Z_MONTH>
    <Z_SALES>700</Z_SALES>
    <Z_SALES_PREV>350</Z_SALES_PREV>
    <Z_SALES_PREV2>90</Z_SALES_PREV2>
    </ROW>
    - <ROW>
    <Z_CUSTOMER>ACME</Z_CUSTOMER>
    <Z_REGION>FRANCE</Z_REGION>
    <Z_YEAR>2009</Z_YEAR>
    <Z_MONTH>01</Z_MONTH>
    <Z_SALES>100</Z_SALES>
    <Z_SALES_PREV>60</Z_SALES_PREV>
    <Z_SALES_PREV2>70</Z_SALES_PREV2>
    </ROW>
    </ROWSET>
    I have produced a report based on this data which uses a combination graph chart. The sales for the current year are shown as a vertical bar for each month while the previous year and previous year but one are shown as lines. The report produces the correct output but I would like to add an extra feature
    so that the vertical bar for the current year is shown as a stacked vertical bar so that the sales from each region can be seen within the bar rather than the bar just showing total sales. Is this possible byt altering the chart options within the template builder or would it be necessary to write some XSL code to do this ?

    Yes and no, here's an example of stacked bar and area graph.
    chart:
    <Graph stylePath="/oracle/dss/graph/styles/projection.xml" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_STACK">
      <LegendArea visible="true" fillColor="#FFFFFF" fillTransparent="false" borderColor="#000000" borderTransparent="false" automaticPlacement="AP_NEVER" position="LAP_RIGHT"/>
      <Title text="Margin Forecast Trending" visible="true" horizontalAlignment="CENTER">
        <GraphFont name="Arial Black" size="16" bold="true" italic="false" underline="false"/>
      </Title>
      <SeriesItems>
        <Series id="0" color="#FFFF00" lineStyle="LS_SOLID"/>
        <Series id="1" color="#0000FF" lineStyle="LS_DASH"/>
        <Series id="2" color="#FF0000" lineStyle="LS_DOTTED"/>
        <Series id="3" color="#00FF00" lineStyle="LS_DASH_DOT"/>
      </SeriesItems>
      <Y1Axis lineWidth="1" lineColor="#DDDDDD" ascending="true" axisLocation="AL_LEFT" visible="true" axisMinAutoScaled="true" axisMaxAutoScaled="true" majorTickStepAutomatic="true">
        <ViewFormat numberType="NUMTYPE_GENERAL" numberTypeUsed="true" decimalDigit="0" decimalSeparatorUsed="true" decimalDigitUsed="true" scaleFactor="SCALEFACTOR_NONE" scaleFactorUsed ="false"/>
      </Y1Axis>
      <LegendText>
        <GraphFont name="Arial Black" size="12" bold="false" italic="false" underline="false"/>
      </LegendText>
      <O1Title text="Forecast as of" visible="true">
        <GraphFont name="Arial Black" size="11" bold="true" italic="false" underline="false"/>
      </O1Title>
      <Y1Title text="Dollars" visible="true">
        <GraphFont name="Arial Black" size="11" bold="true" italic="false" underline="false"/>
      </Y1Title>
      <Y1TickLabel>
        <GraphFont name="Arial Black" size="9" bold="false" italic="false" underline="false"/>
      </Y1TickLabel>
      <O1TickLabel>
        <GraphFont name="Arial Black" size="9" bold="false" italic="false" underline="false"/>
      </O1TickLabel>
      <LocalGridData colCount="{count(xdoxslt:group(.//G_GRAPH|.//G_ZERO_GRAPH[count(//G_GRAPH)=1],  'PFP_DATE'))}" rowCount="4">
        <RowLabels>
          <Label>Margin Plan</Label>
          <Label>Base Fee</Label>
          <Label>Forecast at Completion</Label>
          <Label>Margin Forecast</Label>
        </RowLabels>
        <ColLabels>
          <xsl:for-each select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <Label>
              <xsl:value-of select="PFP_DATE"/>
            </Label>
          </xsl:for-each>
        </ColLabels>
        <DataValues>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/MARGIN_PLAN)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/BASE_FEE)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/FORECAST_AT_COMPLETION)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
          <RowData>
            <xsl:for-each-group select=".//G_GRAPH|.//G_ZERO_GRAPH[$grp_cnt=1]" group-by="PFP_DATE" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
              <Cell>
                <xsl:value-of select="sum(current-group()/MARGIN_FORECAST)"/>
              </Cell>
            </xsl:for-each-group>
          </RowData>
        </DataValues>
      </LocalGridData>
    </Graph>

  • Problem of a combined graph

    Hi, guys:
    I am trying to build a combined graph with bars and line. I built two series of query.
    series 1 for bar chart:
    select null link, to_char(inv.invdate) label, sum(inv.amt) total$
    from invoices inv, payments pa, clients cl,
    (select to_date(:P390_DP_START_DATE,'MM/DD/YYYY') + rownum -1 date_in_range
    from all_objects
    where rownum <= to_date(:P390_DP_END_DATE,'MM/DD/YYYY')-to_date(:P390_DP_START_DATE,'MM/DD/YYYY')+1) days_in_period
    where inv.invoicekey=pa.invoicekey
    and cl.clientkey=inv.clientkey
    and inv.invdate=days_in_period.date_in_range
    and inv.debtorkey not in (11352, 11353)
    and exists (select tr3.transkey
    from transactions tr3
    where tr3.transkey=pa.transkey
    and tr3.type=1)
    group by inv.invdate
    order by inv.invdateseries2 with line chart
    SELECT null link, to_char(days_in_period.date_in_range) label, count(cl2.clientkey) "Total Factored Clients"
    FROM Clients cl2, 
    (select to_date(:P390_DP_START_DATE,'MM/DD/YYYY') + rownum -1 date_in_range
    from all_objects
    where rownum <= to_date(:P390_DP_END_DATE,'MM/DD/YYYY')-to_date(:P390_DP_START_DATE,'MM/DD/YYYY')+1) days_in_period
    where exists
    (select tr.transkey
    from transactions tr
    where tr.clientkey=cl2.clientkey
    and tr.type=1
    and trunc(days_in_period.date_in_range)-1-trunc(tr.postdate) <= 90
    group by days_in_period.date_in_range
    order by days_in_period.date_in_rangeHowever, the first query returns less rows than the second query, as there are some days such as weekend without total$, but with Factored Clients. In the combined graph, it shows first only rows with data for both query, and then show dates with only Factored Clients. How can I solve this problem in APEX or I have to make sure there are same number of rows in both series?
    Thanks.
    Sam

    "but am unable to do so" doesn't explain anything. What, exactly, is your problem? You can't make it compile? The graph comes out upside down?
    Before you reply, please click the link "special tokens" above the Subject of a reply. That will show you how to post code.
    Next thing is to comment closing curly braces that are more than a short distance from their opener:
      } // end of foo()
    } // end of class BarNext thing is to use methods. For example, that huge set of if tests to set "scale" should be moved into a method that sets scale:
      public void paint( Graphics g ) {
        scale = setScale( maxValue );
      } // end of paint()
      private int setScale( int max ) {
        if ( . . . // etc.
    } // end of class BarGraphAppAnother thing would be to add "else" keywords so that those "if"s wouldn't all be tested:
      if ( max > this && max < that ) scale = x;
      if ( max > this2 && max < that2 ) scale = y;
      // should be:
      if ( max > this && max < that ) scale = x;
      else if ( max > this2 && max < that2 ) scale = y;In the second way, the second test isn't evaluated if the first one is true and "scale" is set to "x".
    And while I'm looking at that particular piece of the code, how about replacing most of it with:
      private int setScale( int max ) {
        if ( max < veryLargeWhichIsSpecialCase )
          return (max + 599)/600;
        // special case goes here
      } // end of setScale()Implement some of this, and then repost the relevant section of code with a specific question, like "why does the graph come out backwards?"

  • Combination graph in Forms9i using BI beans

    Does anybody knows how to do a combination graph in forms 9i using BI beans? I am trying to get a vertical stacked bar and line graph combo to work but haven't succeeded yet.

    Denis,
    the demo is part of teh Demo extension pack 1 at http://otn.oracle.com/sample_code/products/forms/index9i.html. You need to first install the demo base pack.
    However, the feature you are asking for is not implemented in this version of the demo. I am working on a next (enhanced) version of this demo that already has this feature implemented.
    Frank

  • Is it possible to combine graph ?

    Hi all,
    I've been looking for a way to combine two types of graph, for example, combining a bar graph and a line graph. The use case is that the bar graph shows ratio to report data, and we'd like the line bar to show a trend.
    Is a such thing possibile ? How ?
    Thanks
    Regards,Fred

    Hi Frederic,
    it's not clear to me what it is that you want.
    Do you need two graphs on the same collection ?
    Do you need one graph which contains a bar and a line graph ?
    In the last case you might want to take a look at the combination graph which can combine bar, line and area graphs.
    A combination graph is similar to the other simple graph types in terms of data requirements.
    Regards Luc

  • Combined Graphs - Complex requirement

    Dear Gurus,
    I have a requirement to plot a single graph for the below series
    1. Calender month ( X-Axis)
    2. NO. of Vehicles Registered
    3. No. Of claims
    4. Fault frequency
    5. Fault Frequency - Target
    I need to provide Bar graph for 2 & 3 and Line graph for 4 &5.
    Please suggest how we can achieve this in BI 7.0
    Thanks in Advance
    Seshu

    Hi Sheshagiri,
    This is very easy thing in WAD 3.5 / WAD 7.0. Just follow the below steps. One query is enough to acheive this task
    1. Create query in bex and place objects like as following
    Rows panel : Calendar Month( By default WAD will take this as X-axis)
    Column panel: 1.NO. of Vehicles Registered,2.No. Of claims,3.Fault frequency,4.Fault Frequency - Target (arrange these objects in the same order which i had given)
    2. Open WAD 3.5 tools and follow below steps
    a) Drag 'chart' web item and call your bex query through data provider
    b) select your chart -> go to properties and select check box "Swap display axis"
    c) select your chart -> goto context menu -> choose 'Edit chart' option 
    d) you will get "Step 1 Out of 6-Chart type selection...here select 'next' button
    e) Now you will get "Step 2 Out of 6-Texts and Data selection:here select next button
    f) You will get "Step 3 Out of 6- Value properties"..here you need to select 'Series3' under Values section and come to value properties down and choose chart type=lines and again select series4 choos chart type = line   under value properties
    Here, You have selected 'series3' and 'series4' as line type . Series3 will take 'Fault frequency' and series4 will take 'Fault Frequency - Target' 
    series1 and series2 by default will take first two keyfigures and display chat in tabular format
    please proceed with next->next then run the web template , you will get barchart and line chart on single sheet
    Thanks
    Koleti Madhu

  • How to combine Digital Graphs

    Hi,
    how to combine or merge the 1D array of digital waveform with a simple digital waveform. As givien in the attached VI, I want to display the datalines graph & control lines graph in a single digital waveform graph. 
    Thanks in advance
    Solved!
    Go to Solution.
    Attachments:
    Combine Graph.vi ‏10 KB

    Hi gurum,
    Well, you can use 'Build Array' to merge the 2 1D arrays and connect the output to the Digital Waveform Graph as shown below:
    Hope it helps
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • How to generate a report with more than one elements in the same graph??

    I need to generate a custom report in OEM GC 10g featuring volume total capacity information and volume free capacity information both in the same graph on (Y-axis) and time on the (X-axis). I could generate only the total volume capacity graph individually, but how can the combined graph and the graph for free capacity be generated...

    Is it your values in parameter NO separated by coma? And is it
    parameter in where clause?
    Do you want something like :
    from table
    where s_no in (NO) ?
    If is answer "yes" you can create lexical parameter in report.
    You can write in report sowething like:
    select a.field1, a.field2,.....
    from table a
    &COND /* this is if is condition only one line after "from".
    if you have more lien after where then you will put this &COND
    in line where you want to have your multivalue.
    Then in your trigger in form you should write:
    sc_no := 'where a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    /* again this is if you have only one line with WHERE ili
    conditions */
    or you will write:
    sc_no := 'and a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    It will substitute line in which is your conditions with
    multivalue.

  • Markers not appearing in Graph

    I am trying to get a combination graph with one series as bars and the other as a markers (a line chart with markers but no line). I can't even get the markers to appear.
    This is what I have
    chart:
    <Graph seriesEffect="SE_AUTO_GRADIENT">
    <LegendArea visible="true" />
    *<SeriesItems defaultMarkerShape="MS_SQUARE">*
    *<Series id="0" color="#FF0000" markerType="MT_BAR" />*
    *<Series id="1" color="#0000FF" markerType="MT_MARKER" markerShape="MS_SQUARE" borderColor="#00FF00" borderTransparent="false"/>*
    *</SeriesItems>*
    <LocalGridData colCount="{count(current-group()) + 1}" rowCount="2">
    <RowLabels>
    <Label>
    LDIR</Label>
    <Label>
    Goal</Label>
    </RowLabels>
    <ColLabels>
    <xsl:for-each select="current-group()" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Label>
    <xsl:value-of select="OPCODE" />
    </Label>
    </xsl:for-each>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each select="current-group()" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="LDIR" />
    </Cell>
    </xsl:for-each>
    </RowData>
    <RowData>
    <xsl:for-each select="current-group()" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="GOAL_LDIR" />
    </Cell>
    </xsl:for-each>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    I have markerShape as MS_SQUARE and defaultMarkerShape as MS_SQUARE but I am still just getting a line without any squares.

    Hi Mark,
    I just posted a new thread about the problem of clip markers not being displayed on tracks at minimum height.  Is there any reason it is this way?  It has caused confusion for me while editing on several occasions, and I imagine this peculiarity of Premiere catches a lot of editors by surprise.  Allowing clip markers to be displayed regardless of track height would make Premiere a lot more intuitive and logical IMO.  Thanks! 

  • How can I set the reference line in a graph

    Hello together,
    I would like know if it is possible to set the Reference Line Value as a variable
    Example:
    "<ReferenceLine index="0" visible="true" value=variable sql-statement displayedInLegend="true"/>"
    My problem:
    I need a combined graph with a stacked area and a line for the Limit or "Reference Line".
    regards

    Sorry. I don't mean page tabs, but the order in which form fields are selected by the tab key. In simple html there is a value called tabindex and I was just wondering if there is a way to assign this order within a portal form. I have basically recreated the form with a custom layout and adjusted the table structure to force the order I was looking for, but it would be a nice add for future versions.

  • BI Publisher Graph Properties

    Hello Guys,
    I need a BI Publisher graph created where we have 2 measures over a period. Measure A we need in Bar and Measure B we need in line. Is it possible? can you please advise.
    The Pareto Graph looks different.
    Thank You,
    Regards,
    Sandeep

    type - "Combination Graph" contain "Bar Graph" and "Line Graph" as needed for you

  • Stacked Bar Graph with a line plotting count

    Hi everyone
    I am facing a problem with plotting a stacked bar graph with a line or dot for count.
    I have 2 y axes and one x-axes.
    Can anyone help out with suggestions as to how to do this in 9i Reports.
    Thanks
    Neelima

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

  • I need a stacked bar graph stacked but overlaying data help please

    Hi,
    I have a requirement to change an existing combination graph.
    Currently we use a combination graph that has a bar that shows the usage accross a number of weeks, with a line that shows total available over the top. So the customer can see what they have used in a week against themaximun it could be used in that week.
    Unfortunatley our customer would like this changes to a single bar graph that shows the usage and then if the total available is more than the usage (it is sometimes the same but never less) then this should be added to the bar graph to increase the bar in a different colour.
    I have looked at Reports 10g and the stacked bar graph seems perfect but this adds the two values together and not just the increase. I know i could minus one from the other but with the way my data is structured in the data model this could be a pain as they are linked via a data link in the data model and also seems a bit of a work around. Is there no way to have a overlay on the stacked graph or is there another way to achieve this that i cant see.
    Thanks

    I was able to figure it out.
    Instead of using creating the dataset using:
    CategoryDataset datasetWorkload = DatasetUtilities.createCategoryDataset()
    if a 'DefaultCategoryDataset' is used, the values to be displayed can be customised:
    DefaultCategoryDataset result = new DefaultCategoryDataset();
    result.addValue(200.0, "Allocated", "Jan 04");
    result.addValue(500.0, "Allocated", "Feb 04");
    result.addValue(10.3, "Over-Allocated", "Jan 04");
    result.addValue(16.2, "Over-Allocated", "Feb 04");
    Thanks for your time, users: wpafbuser1 and practissum.

Maybe you are looking for

  • Financial Statement Generator -Migration Challenge and gl_defas_assignments

    Hello, Currently we are hoping to migrate FSG reports from Release 11 5 7 to Release 12. My understanding is: a. Standard concurrent program "Program - FSG Transfer" has a restriction in migrating Oracle FSG reports from one Release version to anothe

  • End of chapter pages disappear, one page is repeated sometimes 10 times

    I have an ipad 2. I downloaded WIld, from Oprah's book club. When I get 5-10 pages from the end of a chapter, the page I am on starts repeating. I turn the page and it's the same, except the page numbers continue to ascend, until the end of the chapt

  • Worst program EVER!

    Frustrating! It takes 20 minutes or so to navigate the pop-ups and site re-directions to find what you need here (and I'm still not sure I have)...Premiere Elements 7.0 has to be the WORSE video editing program I've ever used. You would think that wi

  • Custom Tag won't display the attributes

    Quick summary: I can't refer to the attributes passed in to by custom tag. I have a .jsf page that is passing two strings. One is from the backingBean and the other is hardcoded. <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@tag

  • Is it possible to run the vi with a button on the front panel?

    Hi to all, I was wondering if it is possible to run a vi with a button placed on the front panel. Regards, Palazzo