LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Location of PlotArea

Hi --
I would like to add my own labels to plots on a waveform Chart. I can find the location of the whole plot , but I can only get the Height and Width of the actual plot area.
I can get close using the y-scale Top,Left,Height and Width. Is the Top and Left propertys of the Plot Area available anywhere??


Thanks

Bill

troyer@uoregon.edu
0 Kudos
Message 1 of 3
(3,146 Views)
Bill,

I have done something similar to this in the past by using cursor names. Essentially you activate a cursor for each plot, select "show name" and write the plot name into the cursor name. It isn't very flexible in that you can't select where the name appears (it always is above the plot) and you need to put the cusor on the second element so the name doesn't get cut off, but it get's the job done.

See the attached vi for an example.

-Eldon
0 Kudos
Message 2 of 3
(3,146 Views)
The answer is NO.
Your approach is correct : when the "Auto adjust scale" property (Right click>advanced...) is enabled (default), the plot area should be calculated by LV, from the Y and X scale positions.
Plot area.left = Yscale.left + Yscale.Width
Of course, problems arise when the "scale style" is set to no scale, or when the "autoscale adjust" scale property is disabled.
I said "should be calculated" because there are a number of bugs (I just found another) connected to this issue.
CC
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 3
(3,146 Views)