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.

Similar Messages

  • 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

  • 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

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

  • [svn:bz-trunk] 17010: Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line

    Revision: 17010
    Revision: 17010
    Author:   [email protected]
    Date:     2010-07-22 02:52:41 -0700 (Thu, 22 Jul 2010)
    Log Message:
    Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line
    QA: Yes
    Doc: Yes - in custom tokens section, talk about the new token.file option
    Checkintests: Pass
    Details: Changed TokenReplacer to look for a token.file JVM option. If it's specified (eg. -Dtoken.file=/User/matamel/Desktop/token.properties), then TokenReplacer looks for a properties file where token name and values are specified. This allows someone to specify a file for custom tokens. Custom tokens can still be specified as straight JVM option and in case where a token is defined both as a JVM option and in a token properties file, JVM option takes precedence.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/TokenReplacer.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Retrieve Legend Label Property

    Okay, I'm a flex newbie...this is my 3rd post to this forum
    for support (regarding other snafus since resolved) with no
    luck...hopefully I can garner some expertise here.
    I'm simply trying to retrieve the label property from a chart
    legend?
    In this app. I'm using a list box of items to dynamically
    generate a unique line series for each item upon user click.
    The problem: if a user selects the same item from the list
    multiple times the lineseries continues to be added to the chart
    and legend. I need to disable a user to do this. So, I figured I
    would grab all the legend labels and put into array. Then when a
    user clicks the list box a function is fired to compare the list
    item string with the legend label string to see if the item series
    has already been added to the chart. I just can't seem to retrieve
    the legend label property.
    Here's a tidbit of code that doesn't seem to return anything.
    var checkArray:Array = new Array();
    checkArray.push(myLegend.label);
    trace(checkArray);
    Any ideas here are greatly appreciated. Thanks!

    Implement itemClick event on <mx:Legend> tag. In the
    handler function, use event.item.label to get the label. This is
    assuming you have used ArrayCollection to populate the
    legends/chart and label is one of the properties for every array
    element.

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

  • IView "automatic" height property problem

    Hi SDN,
    very annoying one ....
    I have "km document iView" pointing to html file.
    my user is editing the html file (add \ remove line ) so ... basically, my user determine the iView height (the height of the iView is determine by the lines number the user wrote ... )
    Height property is set to "Automatic" .
    all work fine !
    But , when I put this iview in a page with another iview [vertical order (one above the other ... )]
    the "automatic" height stop working ....
    the iview height is not changing dynamically  .... it always in the same Height .. with scrollbars ...
    Any ideas why ?
    I just want to get the effect of the "automatic" height  of the iview within a page ...
    10x in advance,
    Hadar

    Hi ,
    check the below note
    Note 1147133 - Wrong vertical scrollbar for KM navigation iView
    It will resolve your issue
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1147133
    Points are welcome if it is useful
    Koti Reddy

  • 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 limit 'Plot194'

    Hi all,
    I have LV v 5.1. Mine application uses many different arrays
    (0-10000), and the application needs to display those arrays on the same
    graph. The problem is - when I make legend larger (stretch it on the front
    panel display), the limit seems to be Plot 194. Does this appear in different
    versions? Does anybody know how to initialise(!) the plots' appearance without
    stretching the legend? I need to initialise the graph's every plot to have
    points (attribute point number 9). I have tried to use the graph's attribute
    node running in the FOR-loop and using the index to set the active plot. Every
    loop sets the indexed plot to have points also. However, this seems to work to
    those plots, which are visible wh
    en the legend is stretched, but those plots
    in the legend which are not visible are not initialised by the for loop. I
    earlier in this message described the 194 limit, so you can understand what
    problems these two anomalous features causes together (plot 0- 194 have
    points, 195-> none)
    I know, this can be avoided to update every plot's (from 195->)
    appearance by using the attribute node after every new plot is acquired and
    displayed, but it is very time consuming process compared to the
    initialisation, so... Any help appreciated!
    Best regards,
    Ville Kampman
    [email protected]

    > I have LV v 5.1. Mine application uses many different arrays
    > (0-10000), and the application needs to display those arrays on the same
    > graph. The problem is - when I make legend larger (stretch it on the front
    > panel display), the limit seems to be Plot 194. Does this appear in different
    > versions? Does anybody know how to initialise(!) the plots' appearance without
    > stretching the legend? I need to initialise the graph's every plot to have
    > points (attribute point number 9). I have tried to use the graph's attribute
    > node running in the FOR-loop and using the index to set the active plot. Every
    > loop sets the indexed plot to have points also. However, this seems to work to
    > those plots, which are visible when the legend is stretched, but those plots
    > in the legend which are not visible are not initialised by the for loop. I
    > earlier in this message described the 194 limit, so you can understand what
    > problems these two anomalous features causes together (plot 0- 194 have
    > points, 195-> none)
    >
    > I know, this can be avoided to update every plot's (from 195->)
    > appearance by using the attribute node after every new plot is acquired and
    > displayed, but it is very time consuming process compared to the
    > initialisation, so... Any help appreciated!
    >
    The legend, and most other LV objects have an interactive sizing limit
    of about
    4000 pixels. As with most limits, perhaps we didn't need one, but it
    seemed like
    a good idea at the time and helped to find bugs as the editor was being developed.
    As already mentioned, attributes cannot be set on a plot that doesn't
    exist. In
    order for an attribute to be set on a plot, the plot needs to be shown
    in the legend,
    or the array wired to the graph needs to define data for the plot.
    To do this programmatically, init the graph with 10,000 plots that
    contain zero points.
    Loop through setting the attributes, then update with real data. If
    this is still too
    slow, you can temporarily hide the graph, init it, then show it. If
    using LV6, you can
    use the panel property to disable panel updates, init, then reenable
    panel updates.
    By the way, if this initialization is always the same, you can do it
    once, make the current value the default for the graph, and I believe
    the plot information will be saved and you will not need to init each time.
    Greg McKaskle

  • Mixed Signal Graph: Cursor Position Property for Multi-Plot Cursor

    I'm working 6 waveforms on 3 different plot areas in a mixed signal graph in LV2009.  When I try to pull the Cursor.PosY property from my cursor (in which Watch All Plots is True, and is set to Multi-Plot in the graph properties), it returns the value of only the first plot in the cluster of waveforms fed into the graph.  I've tried changing the active plot, active plot area, nothing changes.  I am able to retrieve each value via the cursor legend, but I cannot pull each of those values into another portion of my program.  Also, I noticed that when setting events in an event structure, any events relating to a cursor drag aren't present as they are in a waveform graph.  My workaround is to create an indicator for the Cursor.PosX property and monitor when that value changes, but I feel there should be an easier way.  Any help is appreciated.
    Thank you in advance!

    Jeanius,
       I am not quite sure why the cursor pos in the Wavegraph reference does not change when you change the active plot, but if you grab a reference to the specific cursor and then change the active plot things you receive the expected behavior.
    Ben J.
    National Instruments
    Applications Engineer
    Attachments:
    MODDEDmixed graph cursor ex.vi ‏41 KB

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

Maybe you are looking for