LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RE: Graphs

I see what your getting at.
I do need autoscaling so what I had to do to get it to work is the
following...

Wire data into the graphs as normal.
read all the plot area widths. (this is different to the control width)
set all the area widths to the smallest one.
Read the new widths for the whole control and the current left position.
set the position of all the lhs of the graphs so that the rhs lines up.

This allows the operator to compare the various readings like for like on
the X axis.

I suppose it is worth noting that this method only works bacause the X scale
is the same for each graph.

Thanks for the advice all the same.


I would like to see a property to set the origin if possible... any comments
NI?

Duncan
0 Kudos
Message 1 of 2
(2,189 Views)
....


>
> I would like to see a property to set the origin if possible... any comments
> NI?
>


My comments are -- sure, but the origin of what? The panel has an
origin property. Setting it scrolls the VI. The graph contents origin
is set by changine the min/max of the scales -- not really an origin,
but you can define any corner of the graph to be the origin.

Please elaborate on the property you are looking for. Also note that
the other diagram you wrote to line up the content areas is also in the
same article on devzone along with the .ini setting to turn off the
scales and a third technique I think, depending on what you are looking for.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,189 Views)