Graph Legend Customization

I have a line graph showing 3 lines with different values on each line. My legend shows all 3 lines. Now one of the lines is null throughout the graph, but the legend still shows all 3 lines.
Any way to have the legend not show a value when it's null and doesn't even appear on the graph?
Any thoughts would be appreciated.
Thanks!
Kris Henning
www.piocon.com

OK, I will post more pictures.
So, I try to customize the standard waveform graph in LV, but right-clicking on the plot and select Advanced-> Customize or Edit->Customize Control form the menu.  Go into Customize mode.
In 8.2 and before, you used to be able to just right-click on the decoration for the plot legend and replace it with something from the clipboard, etc.
In 8.5, this functionality has been removed.
However, you can select the item and go to Edit->Customize Control (I show it here for the cursor legend, as it works).  You get a new control window.
(Continued in next post)
Message Edited by Matthew Kelton on 11-06-2007 03:23 PM
Attachments:
cursors customize.png ‏15 KB
customize dec 8.2.png ‏12 KB
customize dec 8.5.png ‏11 KB

Similar Messages

  • Plot legend customization bug in 8.5?

    If someone can confirm this for me, I would appreciate it.
    I have 2 issues which I think may be based on the same problem:
    1.  Take the attached control and insert into a LV 7.1 - 8.2 VI.  The plot legend should have the system box instead of the 3D decoration.  Insert the same control into 8.5.  It changes back to the default 3D decoration.  This doesn't appear to happen all the time, as this control properly inserts itself into 8.5.
    2.  The customization of the plot legend is not working properly.  Take any of the attached controls, or use a standard Waveform Graph.  Customize it.  Go into customize mode.  8.5 has taken away the old method where you can simply right click on a decoration of a sub-control and replace it.  But, you can select the sub-control and go to Edit->Customize Control, then replace the decoration.  You can see this works with the Cursor list and axes list.  However, when you select the plot legend, and go to Edit->Customize, LV doesn't do anything.  No error beep, no nothing.  So the plot legend cannot be customized.  I see this behavior for charts, grpahs, and XY plots.
    Message Edited by Matthew Kelton on 11-05-2007 02:47 PM
    Attachments:
    Waveform Graph lost plot legend customization.ctl ‏26 KB
    Waveform Graph kept plot legend customization.ctl ‏12 KB

    OK, I will post more pictures.
    So, I try to customize the standard waveform graph in LV, but right-clicking on the plot and select Advanced-> Customize or Edit->Customize Control form the menu.  Go into Customize mode.
    In 8.2 and before, you used to be able to just right-click on the decoration for the plot legend and replace it with something from the clipboard, etc.
    In 8.5, this functionality has been removed.
    However, you can select the item and go to Edit->Customize Control (I show it here for the cursor legend, as it works).  You get a new control window.
    (Continued in next post)
    Message Edited by Matthew Kelton on 11-06-2007 03:23 PM
    Attachments:
    cursors customize.png ‏15 KB
    customize dec 8.2.png ‏12 KB
    customize dec 8.5.png ‏11 KB

  • 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.

  • Legend customization howto....

    hi everybody,
    i have the need for a project i'm involved in, to customize the legend items of a plot with significative names retrived from a configuration file. I've thought to use property node but no method is defined to do that. Does anybody holds a solution or an alternate way to achive this goal?
    Thanks a lot for your answer
    Max (Rome/ITALY)

    Max,
    I think Mache's advice is still the correct advice. See attached image of block diagram demonstrating how to programmatically modify the plot name (the one in the legend) and the plot line style of two plots on a graph. The technique here relies on the fact that property nodes are executed top-to-bottom in LabVIEW, so first the properties of Plot 0 are set, then the properties of Plot 1.
    If you feed "Relative Humidity" to one of those Plot.Name inputs on the property node, you'll see that the plot legend updates accordingly.
    Take care,
    John
    Attachments:
    chart_properties.png ‏28 KB

  • 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"

  • 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.

Maybe you are looking for

  • Populate Material no in sales order based on customer material no

    Hi, We have to pass material no from a custom table based on customer material no in each line in the sales order. I tried using couple of userexits to pass vbap-matnr and the material no is passed in that line but I am not able to enter quantity etc

  • RE  scanned documents ( image instead of PDF)

    I would like to know how with Windows 8 or why when I scan a document it comes as an image and not a PDF document directly. I have bought my computer 3 months ago and I set it up myself may be I have not done everything to be done. Thanks

  • Trouble opening jpeg and pdf files.

    I have a fully current version of Photoshop (ICloud).  When attempting to open some jpeg files and pdf files, they remain ghosted and will not open.  I think it may have to do with the settings in the 'open' window but i don't know what to do.  ?????

  • HT4623 Has any one had a problem with the new download?

    Has anyone had a problem with the new download?

  • Regular exression for matching function declarations or calls

    Hi guys, I used a regular expression like \\w + (\\s*) \\( .*\\) (\\s*) [\\{;] to match function declarations.This regular expression works fine for all the declarations of the form init_queue(TREE **NODE) {  and even for declarations of the form ini