Reference > Style examples > Above gridlines - Y-label positioning

Above gridlines – Y-label positioning

Y axis labels are baselined on the gridlines rather than midlined.


sp.YAxisStyle = YAxisStyles.GridLines|YAxisStyles.AboveGrid;
sp.YTickStyle = YTickStyles.NoTicks;

This would generally be used with style ‘Inside’ to have the labels drawn within the chart area as well as baselined on the grid.


Send comments on this topic
© Dyalog Ltd 2013