| ||
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 > SetXLabels Method SharpPlot.SetXLabels MethodSet 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. Dates (OLE format integers or YYYYMMDD composite values) will be formatted using the current XDateFormat if the XAxis style is set to Date at the point where this method is called. Examplesp.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 | Formatting text with simple HTML tags |