Can plot legend grow upward?

Hi,
I'm dynamically adding plots to an XY graph. The plot legend is placed on the top, right corner of the graph by default. When I add new plots, the legend grows downward, blocking the graph. Is there a setting that I can change so that the legend will grow upward? Also, I tried to place the legend on the right hand side of the graph. This also caused a similar problem when I changed the name of the plot because the name grew to the left. Is there a possible setting change for this so that the legend will grow to the right when the text becomes longer?
Thank you,
Jae Ho
LV7.1

Use the "Plot Bounds" property along with the Plot legend property ("LegLeft") to move the plot legend's left side to the edge of the plot after setting the plot names, colors, etc.
“A child of five could understand this. Send someone to fetch a child of five.”
― Groucho Marx

Similar Messages

  • How can I limit the vertical size of the plot legend?

    Hi all,
    in my program I use a waveform graph and its plot legend.
    My problem is that the vertical size of the plot legend increases out of my frame and screen if I add too many plots to the graph!!!!
    Is there a possibilty to limit the vertical size of the plot legend and/or to use a vertical scrollbar in the plot legend?
    I use LV 8.2.1 .
    Thanks
    daHans

    You can write to the "Active Plot" property node. The example given in the thread I linked to before shows using this. Did you take a look at that example?
    I'm only suggesting the alternative of an "Active Plot" control if you're trying to give the user the ability to manipulate one of the plots (like color, point style, etc). If you have a lot of plots, and the plot legend is too big, you can provide a numeric control where the user selects the plot, and then additional controls to set the properties for that plot. Not as intuitive as the plot legend, but if that's what you've gotta do, that's what you've gotta do. Attached is a simple example (LabVIEW 8.20).
    Attachments:
    plot.vi ‏21 KB

  • How can i add new plot to plot legend?

    I have plot two plots in one waveform.But i can't add two plots on plot legend .:

    If you want to see more than one plot in the plot legend, you can click on the corner of the legend and drag it larger. You can also do the same thing programatically by creating a property node for the chart and setting the property to legends >> plots shown. Once you change the property to write you can set the number of plots shown.
    Jeremy Braden
    National Instruments

  • Can I detect a plot name change event in a plot legend?

    I'd like to update a configuration file if a user changes the name of a plot in the plot legend.
    The events I see for plots are:  value change, autoscale range change, plot attribute change, and scale range change.
    Plot attribute change does not seem to include anything that looks like plot name, and the others obviously don't contain that info either.
    Is there any way to grab this event?
    Thanks.
    Solved!
    Go to Solution.

    Jordan,
    First off, remember that there is no single way to code anything, so I can offer one possible solution for you, but it is definitely not the only one.
    LabVIEW does not have a property to check if the name has been changed through an event structure, but you can create your own events that LabVIEW can read. I found this really good document that might help you. Read through this and mess around with it and see if it gets you anywhere: Creating User Events
    Once you get it to trigger the proper case, then its just getting that case to update the file you would like.
    Another possible workaround, although not ideal, is to create a string control and have that be on top of the plot name. You would be able to then produce an event from that string changing value.
    Hope this helps.
    Douglas C.
    Applications Engineer
    National Instruments

  • Simple question: Can you input an array of strings directly into your plot legend instead of "Plot 0", "Plot 1"......?

    I have an array of channel names for a simple vi I wrote and I want to input them into the plot legend.  I typically use ring controls to allow different users to select what they want to see, but beyond 3 or 4 it gets confusing.  Is there a way to take an array of strings and input them directly into the legend string slots using a property node?  I have spent hours searching to no avail.
    Thanks!!
    Adam

    Yes, of course there is! Try this:
    Message Edited by altenbach on 05-01-2009 08:45 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    PlotNamesII.png ‏7 KB

  • Rotate Plot Legend of XY graph

    Is it possible to rotate the plot legend so the letters of the plot names run from bottom to the top rather than across the operator interface?
    The names for my plots are bigger and I need to show at least four plots at the same time. Putting scales to the right/left/above or below without rotating may cause a shorter XY graph! 
    Any ideas for me?
    Regards
    K Waris
    Solved!
    Go to Solution.

    Hi,
    I don't know if there is a native way to do it, but you can "cheat" to do that:
    You can move the array where the legends are, or even make the array grow into lines instead of column.
    Is the idea ok for you?
    Giuliano Franchetto
    Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
    Attachments:
    up to dowm legend.vi ‏17 KB

  • How to remove a plot and resize the plot legend in LV 8.6 as in this link to a LV 7.0 example

    This VI ( ftp://ftp.ni.com/pub/devzone/epd/201150.vi ) works exactly as I want an 8.6 application to - but the property node used in the example is no longer supported.
    I can add/remove plots and resize the plot legend with 8.6 using the "LegNumRows" property however this property does not appear to behave the same way.
    It seems this should be straight forward but I must be missing something.
    Solved!
    Go to Solution.

    Hi again!
    I have implemented a method to shuffle the plots in the legend and was satisfied with one exception- the plot colors. This application allows the user to add or delete plots from the graph, adding a plot is easy as the new plot name gets appended to the next place on the legend and the number of rows grows by one. Deleting a plot is also quite easy but this action brought up a usability issue in that the existing plots that were shuffled on the legend would also shift their colorsaccordingly. To eliminate possible confusion I want to keep the correlation between existing plots and their assigned colors so I tried to use the plot color property to change the plot color programmatically with unexpected results.
    Programmatically changing a color from the "Plot Colors" array does not change the color of that plot if it is set to any of the "Common Plots" wih the exception of "Common Plot 0" - i.e. this doesn't seem to work for Bar Plots which is what I am using.
    I have attached a demo VI to illustrate this behavior - there are detailed free labels on the front panel which describe this in more detail.
    Regards and thank's in advance!
    Attachments:
    Plot color behavior.vi ‏27 KB

  • Programmatically formatting the active plot and plot legend

    I am monitoring 6 production sequences on an XY graph. A ring control selects which sequence I show on the graph. For each sequence I have tag data showing the "actuals" and tag data showing the "averages" and a boolean toggle switch controls which of these plots I show on the graph. I am having trouble controlling the formatting of the plots (both actuals and averages are currently shown in white) and the plot legend is wrong. I have tried programming my vi to format my plots using a property node from the XY graph and writing to the correct plot inputs, however it doesn’t seem to be working. I would also like the plot legend to show ONLY the active plot on the XY graph.
    I would like a red continuous line for the averages and blue square scatter points for my actuals. I can’t seem to get this at all. I have attached my vi if anyone can help?
    Many thanks for taking the time to help,
    Best regards,
    Stuart
    Attachments:
    Historical Handling Time Trends.vi ‏137 KB

    Hi Stuart
    Maybe this helps you.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    Plots.vi ‏65 KB

  • Start position on plot legend scrollbar

    If I right click on the plot legend I can show the index display and vertical scrollbar. When I move the scrollbar the index changes accordingly. Does anyone know how to programmatically find the value of this index so that I know which plot labels the user sees. I've tried looking at the property node but I can't see anything that gives me what I need.

    Thanks for your reply Rob.
    I was thinking that was the case. Sometimes it’s possible that there are clever little tricks hidden away in the set up screens. I’ve ended up now with my old method which looks very clumsy (see attached vi), I can make it look much better when I get the scroll bar position.
    I’ll follow up on the product suggestion though as it would be a very useful feature.
    Attachments:
    Scrollbar Demo.vi ‏52 KB

  • Strange Fonts in labview graph's plot legend.

    Hello All,
        I am running labview 7.1 on a Windows XP machine and
    the default and only language is English (US). Verified this under
    Control Panel > Regional Settings.
        When I run a VI, I get strange fonts in the plot
    legend. They keep updating as the VI runs. Here is a screen shot of the
    plot legend:
    I change the font to something I can read, save the VI and run it again
    and it automatically changes to this unreadable font again. Any ideas
    on what I can do? Thanks.
    KB

    Is it just the font that is off, or are these actually non-printable characters?
    Are you graphing e.g. dynamic data types? Do you possibly have weird names for your signals?
    LabVIEW Champion . Do more with less code and in less time .

  • Plots legend arrangement

    Hi all,
    I am design my software front panel.  I have a problem about plots legend. The defaut arrangement is in vertical direction as attachment shown. I want to arrange the plots legend in horizontal direction. I searched  Labview help and did not find the solution. Would you give me some clue? Thanks in advance!
    Lang.D
    帖子被Mechtest在 03-03-2010 07:09 PM
    时编辑过了
    Solved!
    Go to Solution.
    Attachments:
    Plot legend.png ‏5 KB

    Placae the Graph or chart on the front panel and then pull the plot legend horizontally....(when you click on the plot legend and drag the highlighted part of the legend horizontally so that multiple plot legends can be seen.Pull them vertically if you want to see them in vertical position)
    Guru
    Regards
    Guru (CLA)

  • 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

  • What's this crap on my plot legend? And; how to get rid of it?

    Forgive the lack of a technical term; but what's the crap (shading/vertical lines) added to the mini-plot previews on the Plot Legend on this XY Graph in LV2012 SP1?
    And how do i get rid of it to make it look more like the original (e.g., just a solid color background)?
    I would normally specifcally identify these parts by name; yet it appears these parts have no name:
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

    Figured it out: it's from setting the Plot Area:Colors:BG Color property to Transparent. Changing this to a solid color likewise changes the preview to a solid color.
    Bonus points: who can describe those design elements that appear when plot area is transparent? This is not a trick question; i don't know the answer, and am curious.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Size of plot legend graphics

    After trying to resize the plot legend of a waveform graph with the mouse, the small graphics showing the color and other plot properties suddenly got much longer, and the plot text was no longer left aligned. Tried to modify the legend programatically with a property node, setting ActPlot, LegWidth etc, but it doesn`t work the way I expected. The attached picture show an example of the problem. I want to resize the legend so it get a width the same as the outer bounds of the graph, the text should be left aligned, and the graphics stay small and right aligned. I`m using LV 2009.
    Spoiler (Highlight to read)
    Attachments:
    graph-legend.JPG ‏66 KB

    Gunnar,
    You can basically get the sizes and alignations correct by customizing the Plot Legend. Select first the waveform graph itself -> Edit: Customize Control. After that select the first row (See Picture) from the Plot Legend and do the same -> Edit: Customize Control. Now you can type in the long plot name and move the graphics part to the right. Press "Apply changes" often to check if the Legend and its elements are in right place. Finally replace the original control with the customized control.
    I hope this helps. A bit tricky to explain, but by playing with the customizing tool I'm sure you will get the idea soon.
    Cheers,
    Cerati
    P.S. I noticed that it is in fact easier to write the plot names first directly to the legend and then use the customizing tool for the plot row to move the graphics to the right.
    Attachments:
    Customize plot legend.jpg ‏73 KB

  • Horizontal scrollbar for plot legend

    Hello,
    The plots in my plot legend for a graph can have quite long names so it would be great having a horizontal scrollbar.
    Quote from here
    >>To add a scroll bar to a plot legend, right-click the plot legend and select Visible Items»Horizontal Scrollbar or Visible Items»Vertical Scrollbar from the shortcut menu.
    I can see the entry horizontal scrollbar, but it is always grayed out, what's wrong?
    Thanks a lot for your help!
    Cheers,
    Rico

    I think you are misinterpreting the use of the scrollbar.  If you have a lot of plots on your graph, then you can use the scrollabr to not show all the plots at once and this allows you to scroll through the list.  It does not allow you to make the plot legend smaller to hide long names and scoll across.
    So, if you resize the plot to be horizontal, then you can display the horizontal scrollbar:
    If you resize it vertically, then you can display the vertical scrollbar:
    Message Edited by Matthew Kelton on 05-09-2008 12:09 PM
    Attachments:
    Plot legend horizontal.png ‏2 KB
    Plot legend vertical.png ‏2 KB

Maybe you are looking for

  • Can I get an employee discount on a family member's line?

    My employer participates in the Verizon's employee discount program.  The line/plan I would like to get an discount is my husband's line which is a different cell # from my # (provided via work).  Can his line be eligible for this discount?  When I t

  • My Photoshop CC 2014 will not print in Windows

    My HP Deskjet 5550 is compatible with Photoshop CC.  It will not print with CC 2014.  I have Windows 7 Pro.  Do I need another driver?

  • I need information about Web dynpro ABAP Exception : ICF Service Node

    I need information about Web dynpro ABAP Exception : ICF Service Node "/sap/bc/webdynpro/sap/abcd/undefined" does not exist. Here abcd is application name. ICF Service Node exists and activated but kindly let me know from where "undefined" is coming

  • Typeface in pdf looks washed out/light

    When I convert a document to PDF the typeface looks washed out. Recently I was looking at a document on line and wanted to copy a paragraph. When I tried it a window came up saying that the page needed to be scanned/converted before i could copy from

  • User exit to change item level data in purchase order

    Hi, Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirment is For purchase or