LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XScale.Minimum does not work as desired

Solved!
Go to solution

Hi,

 

sorry but my English is not good.

 

I try to set the the Property XScale.Mininum of a Chart to value 0 and the Property XScale.Maximum to value 1000.

But the Chart displays the values ​​1000 and 1999???

 

In other chart i try to set the the Property XScale.Mininum of a Chart to value 0 and the Property XScale.Maximum to value 200.

But the Chart displays the values 800 and 999???

 

Can anyone help me?

 


Download All
0 Kudos
Message 1 of 8
(3,597 Views)

Have you set the X-scale Offset to 0? or turn off autoscale?

0 Kudos
Message 2 of 8
(3,587 Views)

I did both!

0 Kudos
Message 3 of 8
(3,582 Views)

I mean, I had already done.

0 Kudos
Message 4 of 8
(3,575 Views)

shot in the dark...

 

Try to right-click the chart and ensure "Ignore Atributes" is checked.

 

Done shooting in the dark,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 8
(3,574 Views)

I check the Property "Ignore Atributes" but still the same way.

0 Kudos
Message 6 of 8
(3,567 Views)
Solution
Accepted by topic author geovane

A Chart set to the default Strip Chart and autoscale off will show you the most recent points.  The number of points is determined by the x scale.  When you initialize your chart you are setting the width, as you add more and more points you are simply seeing the most recents points, that is why the range of the xscale remains what you set, and the minimum value increases.  You either need to set the range after you have finished adding points or consider using a graph instead.

0 Kudos
Message 7 of 8
(3,562 Views)

Thank you all.

 

Darin K.

I decided to use the Graph to solve my problem.

0 Kudos
Message 8 of 8
(3,557 Views)