SharpPlot Reference > SharpPlot Properties > Baseline Property

SharpPlot.Baseline Property

Set baseline to set a reference line from which the bars on barcharts hang, or from which surface charts are shaded.

public double Baseline {get; set;}

Example

sp.Baseline = 10;

The baseline is drawn with the current setting of the axis attributes, typically a black, medium-weight line. A typical use is for variance plots, where the bars are expected to run up and down from a zero line. For horizontal barcharts, the baseline is drawn vertically at the given x-value, and the bars are drawn left and right of it.

See also ...

SharpPlot Members | SharpPlot.SetBaselineStyle Method


Send comments on this topic
© Dyalog Ltd 2021