SharpPlot.SetYLabels Method

Set Y labels given a string array or a simple string or an array of numbers. Numbers are formatted using the current label format string or wrapped into the available space in the left margin if no formatter is given.

Example

sp.SetYLabels(new string[]{"Nuts","Bolts","Washers"});

Overloads

If an array of arrays of strings is given, these are treated as the rows of a multi-line set of labels.

See also ...

SharpPlot Members | YLabelFormat Property