Programatically label xy graph

is it possible to programatically label an xy graph, updating the label using a property node everytime the graph updates?
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

prbably better to use the caption instead of the lable for labling a graph (since the lable is user for many other things keeping it constant is a good idea), but this is a property node caption->text
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • Does not display axis label in graph when exported to excel

    I have a wierd issue.I have a report with graph with coloum chart and axis labels description on x axis.WHen i export the report to PDF everything looks OK.But when i export it to excel few axis labels disapper.Out of 12 labels only 2 apper when exported to excel.Has anyone encountered this issue.
    If so is there a way to fix this.
    PS: I am using BO XI 3.1 Webi.
    Thank you,
    Sanjeev

    hi,
    I have tried this out with a sample.
    In WEBI preview mode and PDF, all axis labels will appear fine.
    But when exported to excel, some labels will disappear.
    Workaround: We have to increase the chart size in Excel till all axis labels appear clearly.
    Regards,
    Vamsee

  • How to avoid repeatition of axis labels in Graphs in WebI 4.0??

    Hello All,
    I am working with graphs in WebI 4.0. In category axis, the labels are being repeated thrice ,twice and so on based on the filter which I have placed according to my requirement.. I need them to be displayed only once. I have used axis label delete factor from Format chart. But then it solved only partial problem. Appreciate your help.
    Regards,
    Anila.

    plz
    try this
    create a one more vertical table
    and check that location-text and location-key are some .
    we think it would be like this
    location-text     location-key
    can                          01
    cbg                          02
    det                           03
    txc                           04
    txc                           05
    bec of different key and some description the axis is getting repeating.

  • Label a graph

    I created a truss which is what a simple bridge looks like for non-engineering majors. Well on this truss, at its vertices, I want to add text such as the letters A,B,C etc. What is the way that I could add text to my graph in LabView?
    Attachments:
    TrussX.bmp ‏146 KB

    Create cursors without the style and point set to blank...now set the name of the cursor, show the label...and place the cursor at the coordinates of the point you want to label. You may need to adjust the coordinates to somewhat to align the name better to the point though.
    Another option is to actually move around a set of string indicators (preferably with the indicator frame set to transparent)...but cursors are more flexible and neater.
    I have attached a simple example where the highest and next highest value on a graph is labeled.
    MTO
    Attachments:
    LabelHighest.vi ‏53 KB

  • Labels on Graph

    Hi,
    I have a graph report and they are labelled, the problem is i have them as decimals like 4.00,5.00.11.00 what i want them to be as just whole number 4,5,11.... like that. Also i have a pie report and is there any way where i can get rid of the '%' percentages in the pie and just show them as numbers?
    Thanks

    Thansks Michael, but do you know why i'm getting the decimals on the graph when i have the whole numbers in my table?

  • Hiding plots programatically in XY graphs

    My data acquisition plots five y values along a time axis. There are occasions when the number of plots is less than this due to user set-up of the test. The problem that I have is that the XY graph continues to plot all five values with the empty values drawn on the zero line of the y-axis. Whenever I try to disable the visible property of the plots it doesn't seem to recognise them as active plots and delivers an error code saying 'Invalid property...."etc. The plots can be made invisible only if the user choose to acquire 5 sets of data. Can you help?

    Make sure you are using the order: Set Active Plot -> Set Active Plot's Property
    As in the attached LV 6.1 example
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    Vis_Graph.vi ‏45 KB

  • Best way to programatically re-size graphs?

    I have a window that pops up, containing X-Y graphs, that are say, 600 pixels wide.
    Under some circumstances, I want to reduce this to say, 400 pixels, and uncover a cluster of numeric displays occupying the other space.
    I would like to set the BOUNDS.WIDTH of the graph so that it extends right up to the POSITION.LEFT of the cluster.
    But I can't adjust the BOUNDS.WIDTH of the graph itself (that property is read-only).
    I can adjust the PLOT AREA.SIZE.WIDTH of the graph, which will affect the BOUNDS.WIDTH.
    But I can't use that for calculations, because I don't know the margin between the plot area and the graph bounds.
    I want it to work when the user re-sizes the window (All objects are scaled when window re-siz
    es). He may resize the window, close it, open it again and the size remains as he left it. That means I can't use absolute pixel values to move things around.
    I have thought of using decorations: a hidden rectangle that's the size of the small plot area, and another one that's the size of the large plot area. Then set the plot area's SIZE.WIDTH to the width of the small or large decoration. They decorations would scale along with everything else, and all would be OK.
    1... Does anyone have a better / different idea?
    2... If not, how should I get the reference to the decorations? They can't be named. Using the VI reference, I would have to pick out decorations #3 and #4 or something (there are other decorations already present). That just seems a bit fragile. How can I move these new ones to be #0, and #1 ??
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    Hi,
    Here's what I've used to do this;
    1) Get the DesiredSize (bottom-top, right-left). The origin can be set, so
    that should be easy...
    2) Calculate the "Bounds" - DesiredSize.
    3) Add the "PlotAreaSize" to the result.
    4) Put it in the "PlotAreaSize".
    The quoted names are property values of the graph. Just a tip: put it all in
    a subvi that uses a refernce to the control.
    The logic behind this is that the difference between the total bounds, and
    the plot area is constant.
    Regards,
    Wiebe.
    "CoastalMaineBird" wrote in message
    news:[email protected]...
    > I have a window that pops up, containing X-Y graphs, that are say, 600
    > pixels wide.
    >
    > Under some circumstances, I want to reduce this to say, 400 pixels,
    > and uncover a cluster of numeric displays occupying the other space.
    >
    > I would like to set the BOUNDS.WIDTH of the graph so that it extends
    > right up to the POSITION.LEFT of the cluster.
    >
    > But I can't adjust the BOUNDS.WIDTH of the graph itself (that property
    > is read-only).
    >
    > I can adjust the PLOT AREA.SIZE.WIDTH of the graph, which will affect
    > the BOUNDS.WIDTH.
    >
    > But I can't use that for calculations, because I don't know the margin
    > between the plot area and the graph bounds.
    >
    > I want it to work when the user re-sizes the window (All objects are
    > scaled when window re-sizes). He may resize the window, close it,
    > open it again and the size remains as he left it. That means I can't
    > use absolute pixel values to move things around.
    >
    > I have thought of using decorations: a hidden rectangle that's the
    > size of the small plot area, and another one that's the size of the
    > large plot area. Then set the plot area's SIZE.WIDTH to the width of
    > the small or large decoration. They decorations would scale along
    > with everything else, and all would be OK.
    >
    >
    > 1... Does anyone have a better / different idea?
    >
    > 2... If not, how should I get the reference to the decorations? They
    > can't be named. Using the VI reference, I would have to pick out
    > decorations #3 and #4 or something (there are other decorations
    > already present). That just seems a bit fragile. How can I move
    > these new ones to be #0, and #1 ??

  • HOW TO CHANGE PROGRAMATICALLY LABELS OF BUTTONS AND ...

    I want to do a HTMLDB application is some languages that user choice in web page.
    I have resolve good how to change messages in pages, but I need to know how to change , labels in buttons, reports and in items.
    ¿How I can do this? Change this by program.
    Any help wellcome.
    Thanks in advanced.
    Regards everybody.

    Hi,
    Normally, to translate your entire application you would export the application using Shared Components=>Translation Services. There is documentation on how to do this:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14303/global.htm
    You can also use Shared Components=>Manage Messages to translate individual items. If this is what you want, please let me know and I'll let you know what I did to achieve this.
    Normally, the user would select their preferred language using a browser setting. Do you intend for them to select a language on a page?
    Regards
    Andy

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' measure label.
    The Measure Labels tile is currently residing in the Vary Color By (Horizontal Axis) zone, along with the legend column, so I guess it makes sense that the legend column and the measure labels would both show up in the legend (although I don't think that was the case in 11.1.1.3). However, there doesn't appear to be any place into which I can relocate the Measure Labels tile so that the word Sales DOESN'T appear on the line graph. If I move the Measures Labels tile into Graph Prompts, Sections, or Group By (Horizontal Axis), the word Sales appears in those locations. If I attempt to move that tile into the Lines (Vertical Axis) box, or into the Excluded box, it won't allow being dropped there.
    Switching between line, bar, and area graphs reveals the same problem in all graph types.
    Is there any way to supress the display of measure labels on graphs in 11.1.1.5?

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Label on Bar Graph

    Dear Champs ,
    I am using one Function Module that is GRAPH_MATRIX_3D.
    In this i am getting the data correct and object is working fine.
    I want to label the graph by putting the value on the tower like ( 300 kg, 400 kg ).
    Please help me out .
    I will be highly thankful to you.
    Thanks and Regards
    Vivek Srivastava

    Hi,
    May be this sample code can help you:-
    REPORT Z_3DGRAPH.
    *structure declaration for performance measurement
    TYPES: BEGIN OF ty_performance,
    company(15) TYPE c,
    q1 TYPE i,
    q2 TYPE i,
    q3 type i,
    q4 type i,
    END OF ty_performance.
    *structure declaration for options table
    types : BEGIN OF ty_opttable,
    options(30) TYPE c,
    END OF ty_opttable.
    *Internal table and work area declarations
    DATA: it_performance TYPE STANDARD TABLE OF ty_performance,
    wa_performance TYPE ty_performance.
    DATA : it_opttable type standard table of ty_opttable,
    wa_opttable type ty_opttable.
    *initialization event
    INITIALIZATION.
    *start of selection event
    START-OF-SELECTION.
    *clearing the work areas
    CLEAR WA_PERFORMANCE.
    CLEAR wa_opttable.
    *appending values into the performance internal table
    wa_performance-company = 'Company A'.
    wa_performance-q1 = 78.
    wa_performance-q2 = 68.
    wa_performance-q3 = 79.
    wa_performance-q4 = 80.
    append wa_performance to it_performance.
    wa_performance-company = 'Company B'.
    wa_performance-q1 = 48.
    wa_performance-q2 = 68.
    wa_performance-q3 = 69.
    wa_performance-q4 = 70.
    append wa_performance to it_performance.
    wa_performance-company = 'Company C'.
    wa_performance-q1 = 78.
    wa_performance-q2 = 48.
    wa_performance-q3 = 79.
    wa_performance-q4 = 85.
    append wa_performance to it_performance.
    *appending values into the options internal table
    wa_opttable-options = 'P3TYPE = TO'.
    APPEND wa_opttable TO it_opttable.
    wa_opttable-options = 'P2TYPE = VB'.
    APPEND wa_opttable TO it_opttable.
    wa_opttable-options = 'TISIZE = 1'.
    APPEND wa_opttable TO it_opttable.
    *calling the graph function module
    CALL FUNCTION 'GRAPH_MATRIX_3D'
    EXPORTING
    col1 = 'Quarter 1'
    col2 = 'Quarter 2'
    col3 = 'Quarter 3'
    col4 = 'Quarter 4'
    dim1 = 'In Percentage%'
    set_focus = 'X'
    titl = 'Company Performances'
    TABLES
    data = it_performance
    opts = it_opttable
    EXCEPTIONS
    others = 1.
    Manas M.

  • Graph axis label in report generator

    HI,
    can someone help me with my problem ?
    I need to add axis labels into graph that i made by Labview Report generator. Is there any possibility to do that ?
    Thank you a lot.
    Patrik :-)

    This is not an Idea on how to improve LabVIEW.  It is a general LabVIEW question asking for help.
    You need to post it in the LabVIEW forum.

  • Remove underlines in legend labels

    I have a data model query
    SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS "No. of Survivors",
    T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS "No. of Deaths", T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "No. of Cases"
    FROM T_NTR_MULTIBAR
    WHERE INSTANCE_NUM = :P_INSTANCENUM
    order by ORDERS
    This query is use in Oracle Report Builder 9i Bar Chart. The legend labels display as No._of_Survivors No._of_Deaths No._of_Cases. How do I remove _, so that the legend labels display as No. of Survivors No. of Deaths No. of Cases.
    Thanks
    Brendon

    Hi,
    You can change the Legend Label through Graph Wizard. There will a "Legend Tab' in the Graph Wizard, using that tab you should be able to modify the label. I think this may help you. If you need more information, have a look at the following link:
    http://www.oracle.com/technology/products/reports/htdocs/faq/Graph_FAQ_with_style.html
    Thanks,
    Vidya Viswanathan

  • Change Labels in Legend

    Hi!
    How to change labels in graph legend with presentation XML file? I have created the JSP-based report on such query:
    select ex_sub_name,
    sum(cnt),
    sum(gos)
    from ....
    and have inserted bar graph into this report.
    For every ex_sub_name I have two bar with values from
    sum(cnt) and sum(gos).
    My problem is that labels
    in a graph legend are drawn as sum_cnt and sum_gos.
    But I can not use aliases in SQL-query for some reasons...

    The graph displays the labels based on the data that it is passed. As part of your query you should specify a column with more meaningful labels. This sounds like a metadata issue if you are using OLAP data.

  • How do I change the width of the x-scrollbar for a waveform graph?

    I have a LV7.1 application that contains a waveform graph and must be usable on several PC with widely varying screen resolutions.  I have decided to position and scale the front panel objects programatically, including the graph itself.  The appearance of the graph is satisfactory on all screens, except for the x-scrollbar.  The width of the x-scrollbar does not change when I change the size of the graph.  I cannot figure out how to change the width of the scrollbar programatically to match the adjusted size of the graph.  Any suggestions?
    Regards,
    Chris

    Chris,
    I don't think that you can change the width of the x axis scroll bar programatically.  One thing you could do though is create your own scrollbar and change it's properties as your program runs.  I wrote a quick example of how you could do this and I've attached it to this thread.
    I hope this helps,
    Justin D.
    Applications Engineer
    National Instruments
    Attachments:
    ChangeXScrollbar.vi ‏116 KB

  • Customizing Graph View in OBIEE 11G

    Hi!
    I am using OBIEE 11.1.1.6. In line graph data labels in graph view are coming on the line so some values are not readable, we have to show values always
    How can we move the data labels above the line or below the line. I understand its differnt then in 10g where we use corda engie for graph & with help of PCXML file in POPBIN
    we could customize the graph view. what is equivalent of POPBIN or PCXML file in 11g
    Thanks in advance
    Regards
    Sameer

    Dealing with same issue in 11.1.1.5.0. Help appreciated.

Maybe you are looking for

  • Running CS6 on Mac OS 10.9.5 - File Name Change - Flash

    - When one of my students was working with Flash they some how managed to save their name to the program so that when you create a new file their name is part of the file name. I am unsure how to remove this as I don't see anything in the preferences

  • How do i unlock my ipod

    How do I lock an ipod? We found an ipod and we can't tell if it is mine are not because it is locked. It says "ipod disabled, connect to itunes".

  • Problem with CF Studio 4.5.2

    Yes, I know it's ancient, but I like it. I tried to use Dreamweaver instead and after two months still couldn't stand it, so went back. I just loaded it on my new computer - it's Windows 7 - and I can't get the server mappings to work. When I click o

  • HT201317 My photo stream

    I had turned on the photo stream of all the devices but the photos in the devices wont be sent to my PC. Any solution?

  • Append Signature only for **new** messages - not for replies???

    I have a Palm Centro (great device - my first "smart phone" ) and am using Palm's e-mail application to e-mail through my Yahoo account. The issue I have is this: When I create a **new** message my signature is appended to the e-mail. When I **reply*