LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Chart Y axis markers

I've looked through the LV help, searched the forums as well as the Developer Zone and thought I would see if anyone here had any ideas on how to accomplish my goal.

I need to make an XY chart with two different sets of markers on the Y axis. I want the normal 'major' grid lines, but I also need two other markers to mark a min and max tolerance, preferably a different color than the major grid lines.

I thought it would be possible to have two Y axes on the graph, but I have not been able to find a way to do this.

I also know that I could use arbitrary Y axis markers to get the major grid lines as well as the two extra lines I would like, but this solution would not allow me to change the appearance of the min and max markers so the user knows they are different from the major grid lines.

The only other solution that has come to my mind is to add two other plots to the graph, one for the max limit and one for the min limit. I'm guessing that this is going to be what I am going to have to do, though I was hoping to avoid the overhead of this.

I am using LV6.1, and only have the base development package.
0 Kudos
Message 1 of 4
(2,821 Views)
If you are using an XY graph, you can add horizontal cursors. Right click, visible items, cursor legend.

If you are using a chart, try making a copy of your original chart. Then make everything transparent but the major,minor grid lines.
Message 2 of 4
(2,814 Views)
I'm not sure about this functionality in the version you're using, but you should just be able to right click on the current Y-Axis (on one of the numbers, the title, or tick marks), and there should be an option of "Duplicate Scale", and it'll give you another Y-Axis.
Message 3 of 4
(2,814 Views)
I must have gone blind to miss that one.

I got the effect I wanted; except that since when I print out these graphs, I'll be doing so on a black and white printer, you can't tell the difference between red and black! Is there any way to make the gridlines dashed instead of solid? Or make them thicker? The only options I see in the formatting dialog deal with color.

Edit: I tried the cursors, and I think they might do the trick. Thanks for the idea!

Message Edited by Sirin on 06-27-2005 02:19 PM

0 Kudos
Message 4 of 4
(2,810 Views)