Graph vertical X axis values

I cannot figure out how to do a Vertical Arrangement of the X values on my Waveform Graph. Such a configuration allows a smaller defined grid spacing. Can someone tell me how this is done?

Hi RL,
Unfortunately there's no way to set the x values to display in a vertical arrangement using graph properties. There is a workaround that involves hiding the x-scale labels on the waveform graph. Then, create the strings you want to set for each tick mark and right-click to set the Vertical Arrangement to Stacked.
There is a KnowledgeBase article discussing a similar fix:
How Can I Customize the X-Axis Labels On My LabVIEW Graph So That It Shows Vertical Text Labels?
I have also attached a simple VI demonstrating this workaround.
I will also make sure that the issue is filed as a Product Suggestion for Labvie
w in our database.
Thanks again and have a great day!
Kileen Cheng
Applications Engineer
National Instruments
Attachments:
x_graph_vertical_labels.vi ‏14 KB

Similar Messages

  • How to have a vertical grid lineon the waveform graph indicator for every 10% percent of the maximum X axis value?

    Hi,
    how to have a vertical grid line on the waveform graph indicator for every 10% percent of the maximum X axis value, so the x axis will split into 10, the vertical grids line in total will be 11 (including first and last)
    Example if the maximum X axis value is 11.56, first vertical grid is at the origin(0), second vertical grid is at 1.156 and continue to last one 11.56

    Thanks JohnM and Evan,
    the increment work great and i modify it to pass the 10% into "start" too, so it will start at the point of 10% of maximum range
    attached file to let people download in future, if they met the similar situation
    Attachments:
    10percent.vi ‏31 KB

  • Graph: Get Right Y-Axis value with GetGraphCursor

    Hello,
    I'm currently developing an application for a customer which contains data being evaluated in a graph control.
    There are different scalings of data so I use the left y-axis for digital data and right x-axis for analog data.
    Now I want to add an annotation marker with the current X and Y value being displayed, when the user clicks into the graph.
    I use those two functions to determine the position and affected plot of the marker:
     GetGraphCursor(tabHandle2, TABPANEL_2_GRAPH, 1, &x, &y);
     GetGraphCursorIndex(tabHandle2, TABPANEL_2_GRAPH, 1, &plotHandle, &plotIndex);
    Now this works fine for the left y-axis, but I can't seem to find a way to get the y-axis value of the right side plot.
    I figure plotHandle and plotIndex should help me to get this data, but sadly I don't know how to use this information.

    Ok to clarify:
    I have a graph with plot values on the left and right y axis. Some plots use the left and some the right side.
    On default there is no cursor in this graph. But I want to provide the option for the user to enable a cursor.
    When the cursor is enabled it snaps on to the closest plot and an annotation shows the respective x and y values of the plot point.
    The problem is, when the left y axis is active and the cursor snapped onto a right y axis plot, the displayed y value is wrong (since the left scale is used).
    By left clicking into the graph, the user is able to snap the cursor onto another plot.
    So the main problem is, when clicking on a plot, the active axis has to change according to the plots respective axis.
    I can easily make this decision since the plot styles are different (left side is VAL_FAT_STEP, right side is VAL_FAT_LINE), but for the axis switch to take effect on the cursor, I would need to delete and add the cursor again. But in this process I lose positioning of the cursor and it snaps to a different plot again.

  • How to get y axis value(in a numeric control) by providing x-axis value using wave graph

    Hi,
    I'm new here, Sorry if i have selected wrong Location.
    I want to get Y-axis value (in a numeric Control) by providing X-axis Value using Wave graph.
    i want to do calculations with the obtained value.
    i have attached File and Snapshot.

    Well, you are using the Dynamic Data Type, which I almost never use, but if you convert the data to a WaveForm (using From DDT on the Signal Manipulation Palette, which is a choice when you right-click on the DDT Wire), you should be able to do this.  Do you know about how Waveforms are stored?  They are a Cluster, with t0 being a TimeStamp for the start of the Waveform, dt being the time step, and Y being the samples.  So if you want a point at 0.5 seconds and dt is 0.001, you would pull out the point at Index 499 (offset 0) from the Y array.
    Bob Schor

  • Graph X-Axis Labels are appearing in middle for negative y-axis values

    Hi,
    In my Graph Output, the X-Axis Labels are appearing in the middle (where zero is appearing) if the Y-Axis values are negative.
    It's a Line-Graph.
    Can anyone let me know how to move the X-Axis Labels to down?
    I'm using a custom Function module same as 'GFW_PRES_SHOW_MULT' wherein I'm modifying the line colors and appearance. I have to edit in this Function Module to make the X-Axis Labels appear correctly (below) even when there are negative values.
    Please let me know which Parameter of the Class CL_CU_AXIS I've to use.
    Here's the piece of code:
    CALL METHOD graphic_proxy-ref->add_cu_bundle
                EXPORTING
                  port   = if_graphic_proxy=>co_port_chart_y_prim_axis
                  bundle = bundle_axis
                IMPORTING
                  retval = local_retval.
    Thanks & Regards,
    Sowmya

    Hi Sowmya,
    Im Lakshmi working as an ABAP Developer. I have seen your profile in SCN. I saw  your postings about OLE charts.
    I have a requirement to
    1) Output data from an internal table into excel, and
    2) Create a chart from the data in excel
    So far I have been able to export the data using OLE calls, created a chart object,.
    My question:
    1. How to put Data Lables
    2. How to put Data Table under the Chart
    3. How to rename the series names.
    Below is the recorded Macro. I don't know how to convert it to ABAP.
    Sub Macro1()
    ActiveSheet.Shapes.AddChart.Select
    ActiveChart.ChartType = xlColumnClustered
    Application.CutCopyMode = False
    ActiveChart.SetSourceData Source:=Range("B1:E4")
    ActiveChart.SeriesCollection(1).Name = "=Sheet2!$A$2"
    ActiveChart.SeriesCollection(2).Name = "=Sheet2!$A$3"
    ActeChart.SeriesCollection(3).Name = "=Sheet2!$A$4"
    ActiveChart.SetElement (msoElementDataLabelOutSideEnd)
    ActiveChart.SetElement (msoElementDataTableWithLegendKeys)
    End Sub
    I have attached the current output and expected output.
    I have searched about this in google but i could not find any solution for this.
    Your help is greatly appreciated.
    Thanks,
    Lakshmi.

  • Line Graph  X-axis Value

    Hi ,
    I Created line graph in ADF X axis - date , Y axis Amount and Currency Mixed Frequency Line graph
    For ex : X - axis dates are 01-jan-2011 to 10-jan-2011
    y - axis are amount and currency
    when i click particular currency line (on 05-jan-2011) how i will get the x axis value 05-jan-2011
    Thanks
    Shk

    Check the range against which line is plotted, you may have to reduce that range to see accurate values.

  • Load excel file value to graph problem(about x-axis value)

    Hello,everyone,I have this problem.
    When I load the excel file which I saved before,the waveform came out normally,but the x-axis of graph waveform was not shown the number I want,it shown the number based on the no.of samples.
    What I want is plot the x-axis value based on the rate(pts/s).For this case,rate is 50prs/s,so after calculation...0.02s per reading.totally is 20 seconds.I tried to use XY-Graph,but didn't solve out.
    Jerry
    LV 7.1
    Attachments:
    delete 0 array.vi ‏14 KB
    test3.txt ‏20 KB
    Create Waveform Graph1.vi ‏275 KB

    is it always 0.02s per reading or did you get this figure from some calculation?? in anyway, you just connect that value (the constant 0.02 or calculated amount) to a Property Node... you link the Property Node to Waveform Graph 2... under property choose X-Scale -> Offset and Multiplier -> Multiplier...
    i'm not sure if this is the best method but hope it helps... i've tried it on your code and it works...
    Best Regards,
    JQ
    LV 8.0 user...

  • Follow up to formating axis values

    I am on to yet another chart that isn't working the way I want it to. I did not see anything else in the forum, so, here we go.
    I have a table that is showing the breakdown of two sets of data into percentages in bins. Imagine a histogram table converted to percentages.
    I would like to take that chart and create a bar graph. However, the value axis that should be from 0 to 100% shows as 0 to 1.00 with steps at .25 , .50, and .75.
    Not a huge problem, as I'd like to think my readers can convert, but... is there a way to have percentages show rather than raw numbers.
    The chart is formatted properly in percentages.

    Yvon,
    Many thanks for the response. I searched under "formatting axis" and found nothing. I appreciate you looking elsewhere.
    In reading this post and a ton of others recently, I do wonder from this community of persons who have been using Numbers far longer than I have: "Don't you get tired of workarounds?" It seems that every question I ask is answered with a workaround, not an intuitive solution built into the product. If I have a flat tire, carrying my car to work is not a solution. It just seems that many persons seem to see no problem in "oh, the program doesn't do that, but you can make it look like it does with this simple script."
    I'm just wondering why people like Numbers better than Excel. I have used Excel for 15 years and loved it. (****, I was a MultiPage user back in the early 80s, so I know a bad spreadsheet program.)I went Mac based on some other needs where the PC was not living up to expectations, and love the Mac dearly and heaven knows its a better machine. But the software (expecially Numbers) seems to leave an awful lot to be desired. I have read too many complaints about Office 2008 for the Mac to go down that path, so I am doing my best to adapt to this strange Numbers world.

  • Excel MSGraph Axis Value w/ Report Gentration Tool kit help needed

    Hello,
    I am working on making all my Printed Data sheets dynamic so I don't need to have an Excel Template for each test I create. I have been able to make my own modifications to some of the Report Generation tool kit VIs to add little things I need or want changed, but I am stuck.
    I currently have LabVIEW writing Charts in Excel, using the Insert Graph VIs from the tool kit but I want to be able to make the X Axis Values invisible but leave the Y values for this particular data sheet.  I have looked through all my documentation but cannot find anything referring to setting that.
    What is the correct ActiveX Method and/or Property that I need to incorporate to do this? I found that in Excel if I click on the Chart it is in the Chart Options Menu but I cannot find a way to control it through LabVIEW.
    I am currently using 7.1.1 with Office 98 and the Report Generation Toolkit 1.1.0
    Any ideas?
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Hello,
    LabVIEW should have access to everything that the excel ActiveX object publishes.  One way to discover how to do it would be to record a macro in excel, where your recorded actions are on the x-axis as you desire.  This way you will have a macro which you can run that will do this for you.  Perhpas more importantly, you will then be able to look at the code for that macro you recorded, and make the equivalent calls in LabVIEW, which should basically expose which ActiveX calls on that object achieve the axis modification.  In any event, to help you with this process, below are some useful links.  Also, you will find other threads on this matter if you search the discussion forums.
    Excel and LabVIEW Integration Tutorial:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4d86c9752c658da78625689300730c10
    Here are links to examples of using macros in Excel from LabVIEW:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD2F56A4E034080020E74861&p_...
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9D856A4E034080020E74861&p_...
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Line chart cuts off x-Axis value

    Hi All,
    Have created a display to display an x-Axis value versus a Y-Axis value using a Line Chart. We want to maximize the chart space so we have removed the Legend from the display, problem is doing this cuts of part of the final x-Axis label and part of the final data point on the graph ? Why - can we move the borders out ?
    Emmett

    Emmett,
    You can "Fake" some extra space out of the right side of the chart by setting the legend colors to blend into the background of the chart.  This includes unchecking the "Use Pen Color?" box and setting the labels in the legend to match as well.  Then simply set the legend to be whatever additional width you need.  Other than this there's not really any other way that I can think of.  Hope this helps.
    Sam

  • How do I update the chart axis values??

    I created a Gantt (bar chart) chart in Numbers for a project at work showing schedules.  It looked fine, and everything worked great.  I want to use that same chart, but I want to just update the data in it.  I can get the bars to change, but the Y axis data (not the numbered values in the chart, but rather the the actual names out to the side of the chart) will not change.  For instance....
    Name
    Start Date
    Finish
    Task 1
    January 1, 2013
    January 15, 2013
    Task 2
    February 1, 2013
    February 15, 2013
    The Tasks on the left will be the Y axis fields in a bar chart....and the dates will populate the graph.  I've created my graph from this data and got it like I want it.  Now let's say I want to simply change some things in the Name column:
    Name
    Start Date
    Finish
    New Task
    January 1, 2013
    January 15, 2013
    Task 4
    February 1, 2013
    February 15, 2013
    So without creating a new chart or anything, I just want to reflect the new names in my existing chart.  In Excel, when you change the value data, it updates the chart and "it just works" .  I'm wanting to use Numbers for this, and I feel like this is a simple thing that I'm just missing.  Help!

    Jerrold....thanks for the reply.  While you didn't answer my question exactly (I know I was a bit vague), you did put me on the right path.  I was trying to get the Category Axis values to change on the chart whenever I updated them in the table itself.  I couldn't figure out why they weren't but I think I have now. 
    I noticed that in the Category Axis field (Inspector) it had the actual typed names of my tasks from the table instead of the cell locations.  So...."Task 1" instead of "Table 1: C7".  I cleared out all of the text in the Category Axis field, which removed it from the chart.  then I just clicked on the fields in the table and it populated the Category Axis blank with the table/cell info instead of the text.  So now when I update one of the fields, it updates the chart because it's pulling from the cell data every time.
    I'm not really sure why Number, by default, enters the text into the Category Axis when making a chart instead of putting in the corresponding cell locations, but whatever.  I got it working now and should be good to go going forward, thanks for your help.

  • Line Charts - X-axis Labels as function of X-axis value

    Hi,
    1) Is there a way to put X-Axis labels in line chart as function of X-axis values ?
    For instance, X-axis values are in minutes and I need to show those as Hours.
    I'm having Hours as separate column as well, but when its selected as X-axis value column, the line graph is disturbed.
    2) Also, how to specify the length/range of X-axis ?
    For instance, in dataset if I've x-axis values from 0 to 5 hours but still want to show on graph the X-axis till 8 hours.
    Thanks for your help in advance.
    Regards,
    Sumit

    Hi Sumit,
    I have tried following things with proper datetime format may be help you.
    1> in your applet code you can add below param
    <PARAM NAME="XAxisDateFormat" VALUE="H">
    it will display your levels in hours for more details please refer Date and Time Format under query template in MII help.
    2>In your Query template under date range you can select duration and duration unit.
    for 8 hour span you can select Duration = 8 and in duration unit = H
    I have tested it for a tag query, may be i did not understand your issue properly but hope it helps you!!!
    Regards,
    Manoj Bilthare

  • Log Axis value?

    Hello
    The X axis I think in the display panel logQ base Q, but the X axis value or the logQ this calculated value, for example: the requirement that correspond to the 1000 in the log1000 X axis,. Would you please tell me how to do? As shown in Fig.
    Thank you

    I'm not sure if I understood you correctly, but every single axis in a graph can have a log scale: you can set it this way:
    The result is as follows:
    If this is not your problem, can you rephrase your questio so that we can understood what you need?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Modified x-axis values?

    Measurement is made using a sampling frequency of 100 Hz. And now, when I read the file in LabVIEW, the x-axis values are hundred times greater than the actual time. How do I get the modified x-axis values hundred times smaller.

    It would definitely help to see some example code and data.
    My gut feeling is that you're wiring an array of Y values to a waveform graph, e.g. 10, 5, 11, 12, 5, 3. The waveform graph, given an array of values, will plot the data against an x axis of sample number, so your data will appear at an interval of 1.
    If you have a sampling period (dt) value, you can use Build Waveform with your Y array and the dt component, and then feed this waveform to the waveform graph. Alternatively, you could build an array of time values of the same length as your dataset, bundle into a cluster and send to an XY graph. Examples are below:
    CLD

  • Unable to change X-axis values in playback

    I need help with an issue in SignalExpress which I am new to
    and struggling a bit.
    In PlayBack mode DisplayView I can’t get the X-Axis to
    retain the values I set. I can change them but as soon as I click ‘play’ the
    max value alters to what appears to be the buffer length of the recorded data,
    the on screen, AutoScale is off. The play-position indicator shows that I have
    more data than one buffer length and exporting the log file to Excel confirms
    that all the data (greater than one buffer in length) is there.
    Regards
    ed

    My Mike,
    Thanks for replying and giving suggestions.
    I don't have Labview but could get evaluation version if you think this might help. I would be even less familiar with this than SignalExpress so the effort might not be worth it.
    I have tried pre and post saving to set the x-axis, the results are the same. It looks like the values I set in the x-axis are overwritten by values within or associtaed with the recorded/saved file and I feel I must be missing something simple. I tried the help function and as far as I'm aware I'm following the information necessary.
    What I do is  set signal express to playback mode and in dataview having dragged my voltage logged file to the graph I right click and select 'properties' - 'scales'. for the 'time' option I uncheck autoscale andalter the max value to 300 ( I have 300 sec of recorded data) and click 'ok'. My data view graph changes x-axis to 300 max and a small ammount of data is compressed at the left hand side of the graph. I then click play at the top and the x-axis changes to 10 sec. The bar at the top shows 300s and scrolls though with what apperas to be just evry 10s of data (block) being displayed on the main graph.
    If I then check 'properites' for the x-axis as above, auto sclae is still unchecked and max value reads 9.9s. I can change this and the graph x-axis changes until the next block gets placed on the screen where the x-axis reverts to 10s. After I make this change my data of unkown block gets compressed to the first 10s at the left, it fills the graph once updtae occurs but only the current (I assune) block.
    if I look at 'playback options' I see nice little images of my data over 300s  with start time 0 stop time 300 relative to log start time, block size 1000, overlap 0%, ignore last itteration if partial is checked and play entire intervals only is not checked.
    I set the record side up for sampling 100Hz with block size 1000.
    Hope this information helps you understand what is going on and that you can tell me what I've missed.
    Kind regards
    Ed Bye

Maybe you are looking for

  • Help with setting up Mail on 2 Macs?

    I'm switching from Mailsmith to Apple Mail. I have exported all my Mailsmith mailboxes and successfully imported them into Mail on the desktop Mac, then recreated each in the On My Mac section and dragged all the pertinent messages from the imported

  • Late 2007 MacBook Pro intermittent black screen

    I have this very odd issue with an intermittent black screen on a late 2007 MacBook Pro (4GB/320GB 7200rpm) Mac OS X 10.6.8 v1.1 Apologies for the length of the post. In cycles separated by a few days to a week, the screen will flicker to black, init

  • Youtube issue with Belle refresh

    Invalid parameters,that's what I got after installing nokia belle refresh on my N8. tried to do a hard reset,but doesn't work Moderator's note: Mentioning of illegal third party software removed.  Attachments: Scr000001.jpg ‏21 KB

  • Function module to get PR00 price

    I would like to get PR00 price(not manually changed value, but maintained in VK13, that means not the value in VBAP or KONV, but KONP I think) by inputting sales order number as import number(just like when I click analysis button as item condition v

  • Characters not detected (I think)

    Well, I guess the following screenshot speaks for itself. http://host.brendanabolivier.com/files/ - ddcf21.png I'm posting this here because it happened in a very silly way... I started looking for and installing updates (yaourt -Syua --noconfirm) an