Multiple legend on graph

Hi all,
I am doing a program to display N number of parameters on a single graph.
I manage to get it done on my test vi, but when i code the same coding to my real vi, the arrangement of the legend is not as per expected. 
It has always jump to the second parameter instead of the first.
however, when i tick only one parameter, it will display on the legend. 
On my test vi and also my real vi, the coding looks like the file below (1.jpg) - exactly the same.
2.jpg --> shows my test vi front panel.
3.jpg --> shows my real vi which the legend is not per expected.
I am really confuse of the different outcome even though it's coming from the same code.
Please advise.
your help is much much much appreciated.
Thanks. 
 regards,
Roziela
Sharib
Solved!
Go to Solution.
Attachments:
1.JPG ‏75 KB
2.JPG ‏25 KB
3.JPG ‏32 KB

On a side note, your example code is extremely convoluted. Why do you need two loops, a shift register, an intermediary array, index array operation, etc.
All you need is one loop and autoindexing on the names array and boolean array. Here's a quick draft.
Message Edited by altenbach on 11-25-2008 11:06 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
SelectivePlots.png ‏9 KB

Similar Messages

  • How to show only legend in graph?

    Is there any way to show only legend in graph? I tried to look in XML of request but I didn't find anything. Please help. :)

    Just add a custom graph with
         <Graph Name='graph' Top='0' Left='0' Visible='False' Evaluation='Yes' Type='Bar' SubType='Basic'>
              <ValueScale Position='Left' MinorFont='Size:10;'/>
              <CategoryScale MinorFont='Size:10;'/>
              <Legend Name='legend_graph' Top='0' Left='0' Width='300' Height='100' Anchor='BottomRight' ZIndex='1'>
                   <Properties AutoSizeMarkers='False' BorderType='Medium' BorderColor='#e5e5e5' UseTransparentFill='False' FillColor='#b999b9' GrowVerticalMaxHeight='64' MinimumFontSize='0' Font='Style:Italic; Color:#4c4c4c;'/>
              </Legend>
         </Graph>see also:
    http://obiee101.blogspot.com/2008/08/obiee-date-time-scatter-graph.html
    regards
    John
    http://obiee101.blogspot.com

  • Turn off a single plot of a multiple plot waveform graph

    I have a multiple plot waveform graph (4 plots). I want to turn off one of the plots, say plot 2. Is this posible from the graphs property node? The property node seems to only give a reference to plot 0. I am using labview 7.
    Cheers,
    Wayne

    I think you can use "active plot" together with "plot.visible"
    property node to control which one you'd like to display. By default,
    the property node refers to plot 0, but you can change to plot 1 or
    other plots by changing active plot property node. You can search
    "Plot" in LabVIEW Help if you'd like to know details.
    Good luck,
    Jian
    On 18 Feb 2004 03:28:49 GMT, [email protected] (Computerman74)
    wrote:
    >>
    >>I have a multiple plot waveform graph (4 plots). I want to turn off
    >>one of the plots, say plot 2. Is this posible from the graphs
    >>property node? The property node seems to only give a reference to
    >>plot 0. I am using labview 7.
    >>Cheers,
    >>Wayne
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >I would love to know if this is possible. I have been trying to figure i
    t out
    >myself.
    >There is a way to turn a single array off and that is what I am doing for now
    >untill this is possible. The plot is still there but reads zero when tunred
    >off. It would be cool to have the abillty to turn off a single plot.
    >I have tryed all the property nodes with no luck. The answer may be in the
    >array size but I can't seem to control that either.
    >For now you can use wire all 4 channels using the comparison select. Use a
    >constant of 0 And wire up a swtich. When the input is false the output is zero
    >in effect making the plot inactive but it still there.

  • Programmatically add multiple scales to graph

    On the front panel, I can choose "duplicate scale" "delete scale" to add/remove multiple scales a Graph control.  Can I do this programmatically,i.e., use the VI to adjust the number of scales on the graph?  The purpose is to have variable number of plots on the same graph, each having a different scale.

    I use this: Add the maximum number of needed scales per hand. You can swap sides to get a better look.
    To switch on/off a scale use the property "Active Y Scale" to select the scale and "yscale.visible" to switch on/off.
    I've written a small demo.  I hope it's usefull.
    Attachments:
    add_multiple_scales_to_graph.vi ‏24 KB

  • How to Send Multiple Plot XY Graph from LabVIEW to Microsoft Excel

    The link below describes exactly what I would like to do, however the link to the solution/work around does not work.
    Has anyone got an alternative solution?
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E

    Please check the link again as it seems to be working fine now.
    How to Send Multiple Plot XY Graphs from LabVIEW to Microsoft Excel:
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E
    The standard Excel Insert Graph.vi cannot insert multiple XY Graphs to Microsoft Excel, so you will need to use the Report Generation Toolkit for Microsoft Office.  You will find a link to an example program at the bottom of the page.  I have also attached it below.
    Attachments:
    example.zip ‏35 KB

  • Legend in graphs

    The plot function is CW is great but does not have a built-in legend.
    Are there any examples of a plot with legend available?

    Create a property node for your graph. Use the property node "Active Plot" to define which plot (or line) you want to rename. Then write the new legend label to the property node "Plot.Name". See attached.
    Tim
    Attachments:
    legend.vi ‏12 KB

  • 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

  • Legend in graph

    Hello ,
    I am unable to get the Legend for my graph in my application in NetWeaver2004s though I have done soem settings via chart designer. Can anyone tell me the settings to be done to get this?
    Thanks & regards,
    Uma.

    Post Author: V361
    CA Forum: General
    is the field you are working with a date or a string.  If a string, you may need to write a formula to convert to a date, then use that formula in your chart.  Hopefully that will fix the legend

  • Numbers multiple columns single graph

    HI
    I have to log a single item of data each week for ten years and produce a single line graph spanning the ten years. Simple.
    it is going to get very unwieldy using a single column with over 500 rows.
    is there a way I can enter the data into e.g. 10 columns, one of each year BUT, still produce a single line graph spanning the whole ten years. I do not want a multiple line graph with a libe for each year.
    Many thanks
    Stephen

    Hello
    You might build y-in-single-column table from y-in-multi-column table and create chart using it.
    E.g.,
    Chart_Data (excerpt)
    A1  X
    A2  =ROW()-1
    A3  =ROW()-1
    A4  =ROW()-1
    A5  =ROW()-1
    A6  =ROW()-1
    A7  =ROW()-1
    A8  =ROW()-1
    A9  =ROW()-1
    A10 =ROW()-1
    A11 =ROW()-1
    A12 =ROW()-1
    B1  Y1-3
    B2  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B3  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B4  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B5  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B6  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B7  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B8  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B9  =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B10 =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B11 =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    B12 =OFFSET(Data::$A$1,MOD(ROW()-2,ROWS(Data)-1)+1,QUOTIENT(ROW()-2,ROWS(Data)-1)+1)
    * Tables are built with Numbers v2.
    Regards,
    H

  • Set fixed width to legend in graph

    Hello,
    i have a graph on a panel that has an enabled legend.
    Now o want to set the width of the legend to a fixed size.
    For this there is the property Legend.Size.Width.
    This property only works if Autosize is disabled.
    The question is now:
    It looks as if the size of the plotname-field is always the same and only the small graphic gets bigger?
    But i want to increase the size of the visible plot-name.
    How to do this?
    Thx
    Attachments:
    LegendSize.vi ‏13 KB

    The only thing I came up with is to leave it in Autosize, change the plot name to something that has the length you desire for the name field and then turn Autosize off and put in the name that the plot should really have. Like so. (see attached VI)
    Attachments:
    LegendSize.vi ‏15 KB

  • Multiple plots in graph-How can I select which plot appears before the others

    I am displaying two plots in a graph and one plot tends to cover the othe one. How can I make the hidden plot appear in front of the other one?

    the above paragraph is illustrated in the attached image.
    Joe
    Attachments:
    Snap1.gif ‏3 KB

  • Multiple channels on graph

    Hi, I am trying to display 2 2-D arrays on 1 graph. I found many examples on the forums that seemed to be what I was looking for, but I just cannot get it to work.
    Can anyone maybe make a example (LV 7.0) of displaying 2 2-D arrays one one graph?
    Thanks a lot!
    Ryan
    Ryan
    LV 7.1

    Here's an even simpler way
    Message Edited by altenbach on 06-03-2005 11:57 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    2ChannelGraph.png ‏3 KB

  • EM 12c show multiple Top Activity Graph

    Hi,
    i'ver em 12c with 4 db monitored.
    I would like to create a page with 4 Top Activity Graph, 1 for db.
    It's possible?

    Not quite... Your best best is to put them in a group together and play with the charts/group page...

  • Creating multiple live stream graphs...

    I want to be able to add live charts which have dynamic data
    (thus the values constantly change)...
    I can easily add charts to the series now but the problem is
    if I do something like this:
    myNewLiveSeries.dataProvider=new ArrayCollection. The array
    is not Bindable, so when I do this:
    LiveSeries
    .dataProvider.push(newDataPoint). The chart does nothing.
    how do I overcome this? Any solutions?

    Adam's right! However, editing the QuickTime Broadcaster file is a little tricky I found. Using QuickTime Pro I am able to set new "in" and "out" points and then choose "save as" as a self contained movie. This creates a new edited file pretty quickly. Choosing "export" will trigger a complete re-rendering taking a long time. The only issue with the "save as" method is that the reulting edited file will not have it's hint track enabled by default. This means it will not stream from QuickTime Server or Darwin Server. You will only see a portion of the first frame of video. To correct this, I reopen the "edited" file in QuickTime Pro and then choose Export (movie to hinted movie). This will then create a third file, this time with a valid hint track. This third file can then be uploaded to the server and will stream fine. The whole process takes only a few minutes for an hour of video so it's managable. Much better than doing a "transcode".

Maybe you are looking for

  • Zone patching

    Hi everyone, We need to patch in Solaris 10 whole root zone,sparse root zone and brended zone. Please advice me on how to perform those things. I think that for whole root zone and sparse zones,i apply the patches from global zone.Sure the global zon

  • Getting an iPhoto book printed immediately

    Greetings from Sydney, Australia. I am using iPhoto 08 to create a portfolio book but i'm in a miassive rush and can't wait for Apple to print and ship it to me.What are my options? Can I get it printed at a professional printing place... will I need

  • Pictures from Nikon D70 appear darker in iPhoto 5.04

    Everytime I import pictures in iPhoto, they appear too dark, certainly compared to the D70 "on-board" screen. I would even say, I have to rework them everytime to get a proper lighting. The D70 is configured to sRGB mode. Has anyone an idea ? I did n

  • How to flip the FI document type assigned in sales billing type

    Hi Expart, We have a special requirement here,as per client requirement we need to flip the FI document type assigned in sales billing type screen (VOFA). The requirement has came because the billing type is used for one company code XXXX, and we nee

  • Pci exhaust fan

    just got myself a pci exhaust fan,its only a cheapish one and i know its not the best for cooling but since ive installed it my case temp has dropped about 3-4c an my cpu temp has dropped about 2c so not to bad i think for very little money   anyone