Graph-legends

Hi
I am displaying a graph with changing numbers of plots. The problem is that
I cannot find a way to change the number of legends shown for the plot.
There seems to be no attribute node and I can only specify it at
design-time.
For example: The HTV (Historical Trend Viewer) in BridgeView allways shows
only as many legend-entries as there are plots.
Does anyone know how to control the number of legends shown
programmatically?
Thanks

How about changing the color of the legend entries to the background color?
They are still there but invisible.
John
Stefan Schirmer wrote in message
news:[email protected]..
> Thanks for your reply but I think there is a misunderstanding of what I'm
> trying to do.
>
> I want to programmatically control the number of legend-entries for a
> waveform-chart.E.g. Plot 1 to Plot 5 and then change the legend so it will
> only display Plot 1 to Plot 3 etc. Right now I allways see as many legend
> entries as defind at design-time.
> In other words I want to 'resize' the legend so it displays only as many
> entries as I want.
>
> Stefan
>
>
> "Croll, Andrew [SKY:1V43:EXCH]" schrieb
im
> Newsbeitrag news:[email protected]..
> > Stefan Schirmer wrote:
> >
> > > Hi
> > >
> > > I am displaying a graph with changing numbers of plots. The problem is
> that
> > > I cannot find a way to change the number of legends shown for the
plot.
> > > There seems to be no attribute node and I can only specify it at
> > > design-time.
> > > For example: The HTV (Historical Trend Viewer) in BridgeView allways
> shows
> > > only as many legend-entries as there are plots.
> > > Does anyone know how to control the number of legends shown
> > > programmatically?
> > > Thanks
> >
> > what happens to the plots that disappear? If you are just plotting,
say,
> a
> > blank array, then that might be your problem. zero is not a null entry,
> it is
> > an entry. Perhaps if you had some sort of loop that would only attach
> useful
> > arrays to your graph than this unpleasentness could be avoided.
> >
> > just a thought.
> >
> > Andrew B. Croll
> >
>
>

Similar Messages

  • Excel Graph Legend Formatting - Report Generation Tool

    Hi all,
    I'm currently using the Report Generation Tool for Labview '11 and cannot seem to figure out how to edit the font properties for a graph's legend. Attached is a screenshot of an example output.
    The Excel Graph Font.vi's Help file says that it should be able to modify the legend, yet I can't seem to figure out how to configure it to do so. If anyone can walk me through the steps or tell me what I am missing, I'd greatly appreciate it.
    Solved!
    Go to Solution.
    Attachments:
    excelLegend.png ‏33 KB

    ChaoyD wrote:
    Hello again,
    It seems my team has decided to change direction and use Word instead of Excel. As such, I've been attempting to convert the VI ben64 provided, but I'm stuck on the ActiveX references... I've attached what I've done so far, but could someone help me (or instruct me) on making this VI work with Word?
    Thanks.
    The Word object model is probably the most complicated of the Office suite and you are loosing the calculation ability of Excel.
     Attached is a vi to format the chart legend in a Word document.
    Ben64
    Attachments:
    Word Format Graph Legend.vi ‏26 KB

  • Graph Legend problem

    Hi all.
    I am using Studio Edition Version 11.1.1.0.1 and got some problems with graph legend. I have a Pie chart and a bar graph which are made from the same read only view object and I can´t understand why the legend on them don´t show the same things when they are made from the same view object. The pie has a status attribute choosen as slices and the bar graph has the same status attribute choosen as bars and it is these things I thought decide what names are shown in the legend. The values for the status are shown in the legend names but the pie shows the legend names in the same order as the query in the view object while the the bar graph show them in the opposite order. How can I make them show the legend names in the same order?
    Atlantic Viking

    Hi,
    I stumpled accross this thread and fear I will hit the same problem with a new customer request.
    Has a bug been filled for this?
    Could not find anything relevant in metalink.
    regards
    Peter

  • GRAPH LEGEND LABELS NEED TO BE USER MODIFIABLE

    GRAPH LEGEND LABELS NEED TO BE USER MODIFIABLE FOR DYNAMIC PARAM INPUT CONTROL
    I've been told on Metalink that my problem can not be resolved in Reports 9i or 10G but a Internal enhancement request 3071917 has been logged.
    Is it possible to have some timescales on this limitation?

    I'd suggest that the easiest approach would be to add a trigger to the table:
    CREATE OR REPLACE TRIGGER trigger_name
    BEFORE UPDATE OF comment_txt ON table_name
    FOR EACH ROW
    BEGIN
      :new.last_updated_by := USER;
      :new.last_update_date := SYSDATE;
    END;This trigger will only fire when the COMMENT_TXT field is being updated and will set the LAST_UPDATE... values accordingly. The only downside to this approach would be if you want to store the OBI user and not the DB user. Effectively, you'd need to pass a parameter from OBI to the trigger to use instead of USER - bit more tricky...
    Going back to your suggested approach, I don't think you need to worry about the RPD; the SQL that you define in the XML will bypass the RPD completely. In terms of what to use for the criteria for the report, you should be able to select the OBI user from a session variable and reference SYSDATE, SYSTIMESTAMP or the OBI equivalent to get what you need.
    Edited by: BarryGoodsell on Sep 26, 2012 12:04 PM
    Added code tags

  • Illustrator Graph Legends change location on refresh

    I have just upgraded from Illustrator 10 to Illustrator CS4. I have thousands of repeating graphs we use for production of newsletters, books, etc. With Illustrator 10, I would use the Group Selection tool to move a graph's legend and text to the position I wanted them, and they stayed put every time I edited the data.  Now, after importing into CS4, I'm discovering that although the graph parts of the legend stay put (lines, squares of color for columns), my text for the legends moves with every refresh. This is a major problem for me, since we can't be moving these manually over and over every time I add data to a graph or make changes.
    I knew the text is handled very differently between 10 and CS4, so I tested recreating some of my most used graphs from scratch in CS4 to see if this would solve the problem. It's actually worse; the text moves position far to the right or to the top, depending on whether Add Legend Across Top is selected or not. I never use legends in either of these spots, we always put them inside the graph, or outside on the bottom.
    I think I must be missing something in now to update these graphs in CS4 to keep the legend text from jumping all over the place. Please tell me I'm missing something!

    OK, no answers to my specific question as of yet. So  can I just ask if those of you who use the Graph tool fairly frequently can answer this. Once you create a graph, do you move the legend? And if you do reposition the legend manually in a custom position (not top or left in the default position), and then update the data with changes, additions, etc., do the graph legends stick for you, or do they move?

  • Programmatically display graph legend

    I have a waveform graph to which I input a set of files using another subvi and the plot is shown in the mainvi where the waveform graph is placed.How to programmatically display the graph legend so that it shows all the plots that have been plotted. Manually this is done by resizing the legend.Is there a way to do that programmatically?Help please.

    Uzytkownik "Veena" napisal w wiadomosci
    news:[email protected]..
    > I have a waveform graph to which I input a set of files using another
    > subvi and the plot is shown in the mainvi where the waveform graph is
    > placed.How to programmatically display the graph legend so that it
    > shows all the plots that have been plotted. Manually this is done by
    > resizing the legend.Is there a way to do that programmatically?Help
    > please.
    You could try use Property Node [right mouse button &: 'Create > Property
    Node']. Waveform Graph has section for legend: right used LegPos and
    LegPlots sould get you sattisfaction.
    regards
    Zbigniew StS

  • Graph Legend text size

    Hello,
    i cant find an attribute to set the text size of the graph legend.
    There are som Plot Attributes to set the font and font length but no Attribute for the size?
    How can i set the size of the grapg legend?
    Thanks
    Norbert Rieper

    You can use a metafont that you create yourself, and thus use a custom size. For example:
    CreateMetaFont ("my font", VAL_DIALOG_META_FONT, newSize, 0, 0, 0, 0);
    SetPlotAttribute (panel, PANEL_GRAPH, plotId, ATTR_PLOT_LG_FONT, "my font");

  • Bug in Graph Legend Height Property

    Hi All,
    I am trying to set the height of the graph legend via property node and it seems it is not setting it to the input value. I set the value of the height and read it back and they do not match.
    Is it a bug in the property node?
    I have attached the vi to this post. Pls take a look at it.
    Thanks,
    Ritesh
    Attachments:
    BUGInLegendHeightProperty.vi ‏24 KB

    I don't think it would be a bug.  The legend height probably needs to be some multiple based on the font size of the legend.

  • Bar graph legend problem

    Hi I am using JDeveloper Studio Edition Version 11.1.1.3.0.
    My problem is that I have made a bar graph inside an af:showDetailItem but the legends isn´t shown correct. I can´t see the legends at all when I place the legends in the bottom and if I place them in the right I can see half of the text. The source code is below. If someone can see something wrong in this code don´t hesitate to point it out or if someone know how to get this to work please let me know. To me it looks like a bug but I could be wrong.
    <af:showDetailItem text="Søgulig gongd" id="sdi8"
    stretchChildren="first">
    <dvt:barGraph id="barGraph1"
    value="#{bindings.TrxBrw360JLHistoryGraphRO1.graphModel}"
    subType="BAR_VERT_STACK"
    partialTriggers="::pc1:t1"
    dynamicResize="DYNAMIC_SIZE">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"
    position="LAP_BOTTOM"/>
    <dvt:o1Title id="o1Title1" text="Tíðarskeið"/>
    <dvt:y1Title id="y1Title1" text="Upphædd"/>
    </dvt:barGraph>
    </af:showDetailItem>

    Hi,
    I stumpled accross this thread and fear I will hit the same problem with a new customer request.
    Has a bug been filled for this?
    Could not find anything relevant in metalink.
    regards
    Peter

  • Graph legend and print options

    When building a graph using the graphTable bean, I'd like to place the legend below the graph instead of above. How can this be done?
    Also, the graph plots a number of lines, each of which is rendered in a different color. Is there a way to make the graph lines cross-hatched, or dotted, or something else so that when printed in black and white the user is able to associate the graph line with the legend?

    Hi,
    Take a look at SAP note #1049778. For recent releases, the device type HP4350 should be already available in transaction SPAD n the system.
    Also as per SAP note #1049778, most of the new device types that were developed within the SAP Printer Vendor program (SAP note #1130927) support the new print options.(see SAP note #1103422)
    Regards,
    Aidan

  • Line color/width/style picker as in graph legend

    I am looking for a control similar to what is shown in the legend of a graph and which is used to set the line thickness, color and type. Does anybody know if this graph control is available as a sort of custom control so that I can use it in other parts of my code apart from the legend ?
    Thanks in advance
    Martien

    Martien,
    I understand your frustration and have requested (for years) that NI share (i.e add to palettes) these and many other controls.
    The simplest part of your question to answer is for color selection, just use the Color Box control.
    I have created several custom controls (picture rings) I use for setting other plot/cursor properties.
    The images are transparent for flexibility in use, but you can color the control background if needed for visibility.
    If they are useful, I work for Kudos!   
    Regards,
    James
    Systems Engineering
    LabVIEW 5.0 - 2014
    Attachments:
    Graph Controls.zip ‏17 KB

  • Graph Legend

    It must be me, it must be because this is fundemental in an graphing application.
    Across the top row of data I have what I would expect to appear as the legend. In this case 2006, 2007 and 2008
    Down the first column the months, jan feb etc
    And in the middle the data.
    When i create a graph its taking the top row and using it as data in the graph and making the legend untitled 1 2 and 3 and nothing I do changes this. Its just silly.
    I tried making 2006 7 and 8 text and not numbers but numbers does not care. I have looked all through the inspector but can see no way to make numbers understand this very simple concept.
    Please help!

    Set the top row with the Years as a header row.
    Set the years and months format to Text.
    Select just the Years in the header row > hold down command and select the months > then the data > Select chart.
    I used the first chart in the list.
    S.

  • Graph Legend Index

    I've seen this type of issue posted in the forums but never saw a resolution, or if anything was going to be done about it as a bug/issue/feature request.  Lava Crosspost.
    Basically you have a list of channels that you can view on a graph. As you choose more signals, the plot fills up, and the Plot Legend fills with the signal names. I have it set to show no scroll bar on the legend until you have more than 11 signals. There is no limit to the number of signals on the graph, (this test VI only has 20) and so to see all the signals you'll need to scroll. This all works fine. The issue is when you select many signals, then scroll down, then select only a few signals. The scroll bar will disappear (by design) but the value of the scroll bar stays the same, showing a blank plots. Without the scroll bar you cannot change the value and are stuck until you select more than 11 signals and scroll up.
    So my question is this, is there a decent work around people have found? I can't find a property of the control that allows me to set the value of the scroll bar (or the optional index) back to zero. I also don't want to show the scroll bar when there are so few signals that it doesn't need to be seen. I would prefer a XControl that replaces the vertical scrollbar with one with more control, as well as not allow you to scroll down past the number of signals on the graph. 
    After some searching I found this post, without a resolution, and this item at the idea exchange. Any help would be appreciated thanks.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Graph Channel List Problem.vi ‏15 KB

    Jaume,
    I've attached a very simple VI that uses the Horizontal and Vertical Splitter Bars to divide up the block diagram.  Could you disable the scroll bar on the plot legend itself, expand it fully, and just use the scrollbar of the Vertical Splitter Bar?  This way the whole window will scroll together, and the 2-D array of Booleans will always match up to the correct plot.  
    Regards,
    Jared R.
    Precision DC Product Support Engineer
    National Instruments
    Attachments:
    Scrollbar Workaround.vi ‏9 KB

  • Graph legend width change - Left aligned or right aligned

    Hello all,
    when I place an XY-Graph with Plot-Legend shown in LV2012, the text of the plot name is left aligned, wich is, what I want. With this behaviour the little pictures, representing the plot attributes, are fixed. After migrating to LV2014 I realized, that the text is now right aligned, which means, that the little pictures are moving to left & right, depending on the plot name length.
    I found no property controlling this behaviour.
    As a workaround I could set the plot legend position depending on its width, when the plot name is changed, but there is no event, firing when the plot name is changed by the user. So I would have to poll the plot names in the timeout case of my event structure. Btw. I have to show six XY- graphs on my FP, so polling can cause a remarkable CPU load (when I do it 1000 times / s ).
    Any suggestions?
    Greets, Dave

    Hello Dominik,
    thank you for your reply.
    I'd like to show you the problem with some pictures:
    The left picture shows the original situation, the right picture demonstrates the behaviour with LV2012, the legend is right aligned.
    The same situation in LV2014, the legend is right aligned.
    Greets, Dave

  • Graph legend text oracle 11g

    Hello everyeone, I´m migratting an aplicattion from 6i to 11g and I have a problem with graphs in reports. Now the report builder comes with an integretad wizard to generate graphs, but this wizard doesn´t let me to change the titles of the legend, it put the names of the columns from the query and I want to put my own text(static or dinamic) with blanks. I have tried to put an alias for the columns in the query, but the report builder changes every blank with a underscore so I think what I have to customize is the label for every column described on the legend changing the xml generated for the graph, but I don´t find the xml node in the documentation that I can use. I need help please!! thank you everyone.

    Mascse,
    I'm guessing you've already found the answer but try this if you haven't.
    On the top line of the graph settings, you should see the dataValues. Add the same number of dataLabels and that may solve your problem.
    dataValues="CAT1_num,CAT2_num,CAT3_num,CAT4_num" dataLabels="Front Desk, General, Nursing, Physician"

  • Xy graph legend background transparency

    I have a strange problem with LV2009. I put an XY Graph on my front panel. The legend looks like the attached pic. I can't figure out how to make the gray button backgrounds go away. I want to make them transparent.
    jc
    Mac 10.4
    LV7.1
    CLD

    Hi jc,
    I'm running into the same situation that you're seeing.  It seems that when we try to modify the gray button, it modifies the color of the legend for that plot instead of the gray button.  Attached are some examples of what I mean.  However, with that being said, it may not be possible to modify that portion of the control.  I'll do more investigation but I wanted to give you a heads up on my progress.
    Regards
    Che T.
    Applications Engineer
    National Instruments
    Attachments:
    1.jpg ‏47 KB
    2.jpg ‏49 KB

Maybe you are looking for

  • How can I convert m4p's or ACC files to MP3s so I can make a mp3 Disk?

    Trying to make a mp3 disk for my Bose Wave system with all my jazz tunes, figured it would be nice to have all the music on one disk instead of multiples. However, the files I have are not mp3 format. How can I make my Jazz playlist songs mp3 format

  • My i-Pod classic is no longer listed as a device & cannot sync.

    I have an i-Pod classic (click-wheel) that works just fine.  I recently transferred my i-Tunes to a new Windows computer, successfully.  I just tried to sync my i-Pod and found that my i-Pod is not listed as one of my authorized devices - therefore i

  • Application Server 8.2 EE

    Hi all, can anyone point me where can i download Application server 8.2 Enterprise Edition? Thanks, Scotty

  • Easy way to rename all files and folders in a specific directory

    hy all, i want to rename all files&folders in a specified folder... i only want to replace all "_'_" with an"-" in all file names... example: TCHK1_B4194W01PF7_NMOSi_D_B__3_50ohm-500ohm_03-29-07_10'46'23_AM.tst TCHK1_B4194W01PF7_NMOSi_D_B__3_50ohm-50

  • Itunes quits unexpectedly straight after launching

    I open itunes is it shuts down straigh away. except when the itunes libary is taken out of the itunes folder. when i do this it closes down a few minutes after i launch it. I just got my macbook back from repair it had a faulty hard drive. I restored