SharpPlot Tutorials > Style Examples > Inside Labels

Inside Labels

Either X or Y axis labels may be written inside the chart area

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

This style would normally be combined with AboveGrid in the Y-Axis case or with MiddleLabels in the X-Axis case to avoid the labels colliding with gridlines.

Send comments on this topic
© Dyalog Ltd 2021