SharpPlot.SetXLabels Method

Set X labels given a string array or a simple string. Arrays of numeric values are formatted using the current setting of the label format string.

Example

sp.SetXLabels(new string[]{"North","South"});

Overloads

If an array of arrays of strings is given, these are treated as the rows of a multi-line set of labels. It may be appropriate to use the Spanned style to have repeated elements merged across the axis.

See also ...

SharpPlot Members | XLabelFormat Property