SharpPlot Reference > SharpPlot Properties > SeriesKey Property

SharpPlot.SeriesKey Property

Tells SharpPlot to include or omit the legend placeholder for the main data series. The default setting is to include it.

public bool SeriesKey {get; set;}

Example

sp.SeriesKey = false;

You can omit the legend entry by giving it an empty string, but this may be more convenient.

See also ...

SharpPlot.ModelFitKey Property | SharpPlot.TrendLineKey Property


Send comments on this topic
© Dyalog Ltd 2021