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

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?

  • How do I programmatically display jpeg files on the front panel

    Hi,
    I would like to be able to programmatically display various jpeg images on the front panel of a VI. I would mostly like to be able to display one image at a time and have the ability to programmatically change the image to different ones under program control. I found a picture indicator but not sure how to use if or if this is the best way. Thanks for any help.
    Dave Adams

    Yes, you can use a picture indicator.
    The attached simple codelet shows how to display a jpeg image on it (Make sure the image indicator is big enough).
    Let us know if you need help with the rest of the coding.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DrawJpeg.gif ‏2 KB

  • Don't display graph for group

    Hi,
    I want display graph for data in every group. Sometimes it is working correctly, but when I delete one parameter from graph, grap is not displayed. Every values is not null. Is possible that data is not grouped by SQL but group with reporter ? How is working when exist two rows with equal x-value but different y-value ? I use DevSuite 9.0.2
    Thanks
    Roman

    Error is in a graph wizard. Wizard generate invalid name of group for "src" value in xml "rw:graph" tag.

  • How To display Graphs in work book

    Hi Xpertz
    Could any one explain me how can i display graps in work books i mean i want the data disply in sheet one and graph display in the sheet two.say row in x axis and columns in Y axis..
    Ny suggestion..
    Thanx in Advance.
    With regards
    RMK
    **No need to say right answers will get full pointz**

    Hi,
    Slect the only Result area (including headers of rows and columns) and click 'chart Wizard' on excel tool bar..then foloow the steps to finish the graph..depending on selection in chart wizard,you can arrange data..Preview shows how your chart looks like...
    in the chartwizard,you have the option to display Graph in different sheet(you can select the sheet from dropdown box..),arranging rows and columns as required...etc
    regards
    Message was edited by: Murali

  • Displaying Graph for current date

    Hi,
    I want to pass a dynamic value to display graph. Let say I want to display graph for the current date, so that whenever user opens the web page, he sees the data for the current date. Can anyone suggest any solution for this.
    Regards.

    solved by other way

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

  • Function modules to display graph in a container

    Hi,
       Can anyone suggest me is there any other function module to display graph in a container other than "GFW_PRES_SHOW_MULT"  why because when I am displaying the graph using that function module I am getting boxes in the graph display which is not needed so please send me other function module or tell me whether there is any way to remove the boxes in the graph at the time of display by using the same function module given above.
    Thanks in Advance.
    Bhushanam.

    Hi,
    To add a graphics functionality to ALV Grid;
    1. Add a user button on the ALV Grid control, utilizing "toolbar" event and "set_toolbar_interactive" methods of the class "cl_gui_alv_grid".
    2. As the function of this button, your routine should use GFW objects or "GRAPH_MATRIX..." function modules to display your graph. You implement your routine at the event "user_command".
    Additionaly, you can have a look at this
    SAP Graphics Help
    http://help.sap.com/saphelp_46c/helpdata/en/a1/d9883672d57c73e10000009b38f889/frameset.htm
    data: begin of i_tab occurs 0,
           name(5) type c,
           value   type p,
          end of i_tab.
    i_tab-name = 'SAP'.
    i_tab-value = '40'.
    append i_tab.
    clear  i_tab.
    i_tab-name = 'MSN'.
    i_tab-value = '30'.
    append i_tab.
    clear  i_tab.
    i_tab-name = 'CNN'.
    i_tab-value = '27'.
    append i_tab.
    clear  i_tab.
    i_tab-name = 'ABC'.
    i_tab-value = '56'.
    append i_tab.
    clear  i_tab.
    call function 'GRAPH_2D'
    EXPORTING
        TYPE                     = 'PI'
        TITL                     = 'My Graph'
      tables
        data                     = i_tab
    EXCEPTIONS
       GUI_REFUSE_GRAPHIC       = 1
       OTHERS                   = 2
    if sy-subrc <> 0.
    endif.
    Also,Check the fun modules
    GRAPH_2D Calling up the 2D business graphics
    GRAPH_2D_MENUE DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
    GRAPH_3D Calling up the 3D presentation graphics
    GRAPH_BUSG_COLOR_SET Definition of color pallets for business graphics
    GRAPH_BUSG_MENU_SET Pushbutton menu (tool bar) for all BUSG modules
    GRAPH_MATRIX Calling up SAP Business Graphics (2D, 3D and 4D)
    GRAPH_MATRIX_2D Calling up the 2D graphics (user-friendly version)
    GRAPH_MATRIX_3D Structure of 3D graphics (user-friendly version)
    GRAPH_MATRIX_4D Calling up a 3D graphic (4th dimension stacked representation)
    Regards,
    Padmam.

  • How to programmatically change plot legend

    I have a chart on which I'll plot one or more signals. I can't predict
    the signal names in advance so I'd like to programmatically change the
    legend(s). Is there a way to do that in LV 6.1?
    Thanks,
    Dave

    Yes.
    - Create a property node for the chart
    - add elements for "Active Plot" and "Plot -> Plot Name"
    - Wire an index of the plot name you want to change to "ActPlot"
    - Wire an string with the new name to "Plot.Name"
    A simple implementation would be to make an array of new names and then auto-index a for loop with the increment counter tied to "ActPlot".
    Good luck.

  • Scheme for Displaying Graphs in Host.VI using SIT?

    I am wondering how others tackle the problem of displaying graphs and other indicators mapped from the the .dll running in RT to indicators on the Host.VI when you cannot edit anything in the "green" area on the host that is autogenerated with SIT Connection Manager.
    My problem is that if I have 15 graphs and 50 indicators (just a guess right now, but I would think this wouldn't be uncommon for other users) I cannot display them all on the Host.VI at once besides filling a gigantic area that I have to scroll through.  A better approach would be to use queus or variables to pass between other .VIs to categorize different pages of graphs that the Host.VI can call, but I cannot edit anything in this mysterious green area so I cannot save the data to any kind of structure.
    Ideas?  I am still new to LabVIEW so there may be an SIT trick that is obvious that I don't know about.
    Thanks!

    Hi gdubb85,
    As far as the "green" uneditable area is concerned, there is actually nothing that restricts you from editing or modifying the code in those areas. The reason they are different from the rest of the code is that that area will be rescripted (i.e. overwritten) if you change anything in the SIT Connection Manager. So, you can edit those areas if you wish, but just be aware that if you use the SIT Connection Manager again after editing those areas, it will be overwritten.
    As far as displaying your 15 graphs and 50 indicators in an organized fashion, you can accomplish this by using a Tab Control. For more information on this, please check out this link.
    I hope this is helpful.
    Thank you for choosing National Instruments.
    Aaron Pena
    National Instruments
    Applications Engineer
    http://www.ni.com/support

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

  • Getting this error(ListenerRfc: unknown interpreter) while displaying graph

    hi guys,
    I am working on webreports , while displaying graphs i am getting an error:Error When Calling Up IGS (ListenerRfc: unknown interpreter)
    Please help me in this regards  , its urgent
    Regards
    Hiren
    IBM-India

    hi Hiren,
    check your IGS may down,
    to test, you can try program(se38)
    BW_IGS_CHART_TEST or GRAPHICS_IGS_CHART_TEST
    "ListenerRfc : unknown error" in communication with the IGS from the WAD
    hope this helps.

Maybe you are looking for

  • Issues with Intel Rapid Start in Lenovo U310

    I have a lenovo U310 with 500 GB HDD and 24 GB SSD. Both drive are working fine. However, when I boot my computer and reach to the desktop, I receive the error saying Intel Rapid Start Technology is not enabled. When I checked the BIOS, the Partition

  • HT201274 how I can see my devices in the Itunes

    I can' t see my devices in the iTunes only the store or the players, how I can see my device to have control and sync.

  • Message "Enter Batch" in Fuel Consumption-Measurement Transaction (IFCU)

    Dear Expert, Lately I activate EA-PLM ECC extention in my sandbox to simulate IFCU transaction for entry Fuel Consumption. After all config is being done, in IFCU transaction there still problem, It rise a pop-up to "Enter Batch" when saving this tra

  • Extending a class that uses Generics

    I'm trying to create a TableModel where the model deals with rows of data. Each row must be of the same "type", hence the need for generics. My RowTableModel is abstract. I'm trying to provide a concrete implentation for a model to use a List (ie. Ve

  • Wap2000(small business) 2 antennas 3dbis vs 1600e (enterpise class) 3 antenas 2dbis

    Hola buen dia, Tenemos la siguiente situacion, un cliente maneja un modelo de access point de la gama Small Business (wap2000) con 2 antenas omnidireccionales de 3DBis cada AP, sin embargo la cobertura no es la que ellos necesitan, les estamos cotiza