SharpPlot Tutorials > Style Examples > Force zero to include axis origin

Force zero to include axis origin

All axes are forced to include the origin (for scatterplots and cloud charts).

sp.ScatterPlotStyle = ScatterPlotStyles.ForceZero;
sp.XAxisStyle = XAxisStyles.ForceZero;

This style also can be applied individually to each axis.

See also ...

SharpPlot Members | SharpPlot.BarChartStyle Property | SharpPlot.BoxPlotStyle Property | SharpPlot.IAxisStyle Property | SharpPlot.PolarChartStyle Property | SharpPlot.ResponsePlotStyle Property | SharpPlot.ScatterPlotStyle Property | SharpPlot.TowerChartStyle Property | SharpPlot.XAxisStyle Property | SharpPlot.XBarChartStyle Property | SharpPlot.YAxisStyle Property | SharpPlot.ZAxisStyle Property

Send comments on this topic
© Dyalog Ltd 2016