Reference > Style examples > Balanced Axis - force matching range about the zero point.

Balanced Axis – force matching range about the zero point.

This style constrains the computed axis range to balance about the zero line (there will be an odd number of tickmarks arranged symmetrically about zero).


sp.LineGraphStyle = LineGraphStyles.GridLines;
sp.Heading = "Vertical Axis is Balanced";

sp.YAxisStyle = YAxisStyles.ArrowedAxis|YAxisStyles.BalancedAxis|YAxisStyles.CenteredCaption;
sp.YCaption = "Variance against estimate";

This style works well with Synchronised tickmarks on a secondary axis.

See also ...

Synchronised gridlines


Send comments on this topic
© Dyalog Ltd 2013