| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Methods > SetYLabels Method SharpPlot.SetYLabels MethodSet 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. Dates (OLE format integers or YYYYMMDD composite values) will be formatted using the current YDateFormat if the YAxis style is set to Date at the point where this method is called. Examplesp.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 | Formatting text with simple HTML tags |