LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I resize the window of my chart using propoerty node? Thanks

Solved!
Go to solution

Hi,

 

I would like to set the size of the window of my chart using its property node but I can't set it to "write".

 

Would anybody know if this is possible ?

 

Thanks,

 

User

0 Kudos
Message 1 of 7
(2,813 Views)
Solution
Accepted by topic author User_1979

Hi,

Some properties are "read only" and there is not much you can do about it.

However, to set the size of your chart you can use the "plot area.size" (je ne sais pas commetn ça a été traduit en français) to be found here :

 

Clipboard01.jpg

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 7
(2,807 Views)

Hi Titou,

 

Thanks a lot for your help.If it's not possible to acceess directly the chart size I will use your advice. The window seems to adjust automatically to the plot size. So this is fine for me.

 

By the way, would you know if it is possible to display the time absiss on the plot as so : Monday Tuesday Wedenesday ...?

 

I have tried changing the %d to %dd or %ddd as I usually do in Excel but it doesn't work.

 

Does anybody know how to do this?

 

Thanks,

 

User

0 Kudos
Message 3 of 7
(2,802 Views)

You're looking for the "X scale > Format String" property.

 

You need to use %<...>T around your time formating to tell LabVIEW that this is a timestamp format.

 

Clipboard2.jpg

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 7
(2,796 Views)

Great, thanks a lot it works fine.

 

I am sorry but I have got one last question concerning the use of the chart. I would like to be able to set the distance (in minutes or hours...) between the major vertical lines of my the grid, but I can't find this option in the property node of the chart.

 

Would anyone know?

 

Thanks,

 

User

0 Kudos
Message 5 of 7
(2,789 Views)

And now the properties you're looking for are :

- X Scale.Range.Increment

- X Scale.Range.Minor Increment

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 6 of 7
(2,783 Views)

It works fine.

 

Thanks again for all your help.

 

User

0 Kudos
Message 7 of 7
(2,763 Views)