LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Stripchart Y label get blocked when using auto scale

When I using auto-scaling stripchart in my program and the data value of the trace become very big, some of the label get blocked by the edge of the control. As shown in the attachment. Using very small font or 0 padding may resolve the problem, but the value of label is not so readable .  I have done some research and have not found the solution. Please help me out. 

0 Kudos
Message 1 of 2
(2,304 Views)

Two possible workarounds come to my mind to address this situation.

 

On one hand the room for the scale is determined by the width of the plot area with respect to the control area, so you can manipulate ATTR_PLOT_AREA_LEFT and ATTR_PLOT_AREA_WIDTH attributes to leave more room for scale figures. Be sure to carefully read the notes on these attributes to correctly set them at best.

 

On the other hand, you could think to format axis scale in engineering or scientific format (either with ATTR_YFORMAT attribute or in the UIR editor) which is more stable in width even with large figures.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,289 Views)