LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform chart grid size?

Solved!
Go to solution

Hello,

I have a question on waveform charts: I have made a stacked waveform chart and I have a weird issue with grids: I have each scale going from +5 to -5 and set a major increment of 2.5 via a property node (and the minor grid turned transparent). However if it gets shrinked beyond a certain height, I lose every second increment and grid line, even though I do not change the increment value. It seems like there is a minimal pixel amount of a grid increment. What is this value? Is there a chance to keep on going with my originally set grid spacing? (Because I would think there is still enough place for every major gridline)

I include two crops of the exported chart images to illustrate my problem:

grid.png

__________________
Engage! using LV2015
0 Kudos
Message 1 of 3
(3,420 Views)
Solution
Accepted by topic author jeanlucpicard

JLP,

 

Using LabVIEW 2014 I was able to see the same behavior you were.  It seems that LabVIEW will not draw the ticks if it thinks they are overlapping.

 

I was not able to find documentation that said this directly but the property node for MarkerValues[] does mention that it will ignore the array if it cannot draw values without overlapping.  You can see the same behavior if you increase the text size of the increment markers.

 

To me, it seems like the minimum spacing is set to the text size because if you increase the text size large enough it will get rid of the line markers even if your style chosen does not display the values (so there is obviously no overlapping from the text).

Matt J | National Instruments | CLA
Message 2 of 3
(3,399 Views)

Wow, it sizes it to text, indeed, even if text is hidden by axis style. I changed my property node to include a font size=1, and now it draws all the major grids, even if I resize to half size (previously half of the grid disappeared at about 80% of original size)

Thanks.

__________________
Engage! using LV2015
0 Kudos
Message 3 of 3
(3,366 Views)