SharpPlot Reference > SharpPlot Properties > IAllowance Property

SharpPlot.IAllowance Property

This sets the ‘allowance’ (default 0.8) as a fraction of the space between adjacent trace lines (determined by the major Y-ticks). A value of 1 allows the trace lines to range exactly between adjacent Y-tickmarks.

public double IAllowance {get; set;}

Example

sp.IAllowance = 1.2;

This may be set to a value >1 if you have a set of lines which move along very nearly parallel to one another like an ECG or seismograph trace. However this only works well with a plain inner axis as otherwise the ticks and labels collide.

See also ...

SharpPlot Members | SharpPlot.DrawTraceChart Method


Send comments on this topic
© Dyalog Ltd 2021