SharpPlot Tutorials > Style Examples > Centered Caption

Centered Caption

Places the axis caption opposite the middle of either axis.


sp.XAxisStyle = XAxisStyles.CenteredCaption;
sp.YAxisStyle = YAxisStyles.CenteredCaption;

sp.YCaption = "Vertical caption is here";
sp.XCaption = "Horizontal caption is here";

Clearly, this style does not make sense if you set up 2 captions (tab-separated) for the axis.


Send comments on this topic
© Dyalog Ltd 2016