SharpPlot Tutorials > Style Examples > Above Gridlines (Y-Labels)

Above Gridlines (Y-Labels)

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 InsideLabels to have the labels drawn within the chart area as well as baselined on the grid.

Send comments on this topic
© Dyalog Ltd 2020