LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WaveformChart write Bounds

Hi,
 
I have a couple of "WaveformCharts" and I want to place them in a "TabControl" each in one Tab at the identical position.
I created a Reference for each Chart, put the refs in an array an an iterate with a "for-loop".
I set the property "Position", it works well, except for the first iteration! (it is 8 pixel lower)
I set the property "PlotSizeArea": ist works well, the black areas have the save size, but the whole Chart have still differnt sizes.
Unfortunately the property "Bounce" is not wirtable.
 
How can place the charts to position,size and appearance?
 
Thanks a lot
 
M. Tiedje
 
0 Kudos
Message 1 of 4
(2,742 Views)

Unfortunately, there is no way to define programmatically the size of a graph object 😞

This is not the only weird point with graphs, since you can't either change the background color.

One suggestion : make the graph size large (this is to preserve the scale...), then color the background with the transparent color.  Insert a decoration below the graph. The position, size (and color !) of the decoration can be modified programmatically, mimicking the graph background.

See the attached vi...

Chilly Charly    (aka CC)
0 Kudos
Message 2 of 4
(2,728 Views)

Thank you chilly charly,

your suggestion works, but how sick is that Smiley Very Happy

But you seems to be able to solve ticky problems, i have a another one:

As I think, the only way to place data to a "multicolum listbox" is to use the property "ItemNames" (it sets the table with a 2Dim String array).

Now I want to sort the table by clicking the colum-header (line-by-line) (2dim array sort). => Iterger Numbers are sorted like this: 1,10,2,21 ... (String value)

How can I set integers or other types in the table?

Best Regards

M.Tiedje

0 Kudos
Message 3 of 4
(2,718 Views)


tiedjem a écrit: ...I want to sort the table by clicking the colum-header (line-by-line) (2dim array sort). => Iterger Numbers are sorted like this: 1,10,2,21 ... (String value)
How can I set integers or other types in the table?

Attached is a modified version of the OpenG Sort 2D array vi. There is just a conversion of string to number before sorting.

And don't forget the stars 😉

Chilly Charly    (aka CC)
Download All
Message 4 of 4
(2,712 Views)