SharpPlot Tutorials > Style Examples > Arrowed Axes Arrowed Axes
Ends either axis with an arrowhead.

sp.XAxisStyle = XAxisStyles.ArrowedAxis;
sp.YAxisStyle = YAxisStyles.ArrowedAxis|YAxisStyles.AtEndCaption;
sp.YCaption = "Up";
sp.DrawLineGraph(col_S4,col_S2);
This style works with all the standard 2D charts. You may need to allow a little extra space for the captions, as the arrows extend the axis line slightly.
Send comments on this topic © Dyalog Ltd 2021
|