| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Methods 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 > Properties > KeyFormat Property SharpPlot.KeyFormat PropertySet a picture format for key text. public string KeyFormat {get; set;} Examplesp.KeyFormat = "XXXXXXXX;"; To force the text to wrap into the space allowed for 8 ‘X’ characters. If the picture does not end with a semi-colon, the text will be truncated if necessary and terminated with an ellipsis character (→) to indicate that it has been clipped. If you set Keytext to a an array of numbers (perhaps the categories represent numeric product codes) you can give a normal numeric formatter here such as “P0000” to create the text for the legend. See also ...SharpPlot Members | SetKeyText Method | Using Picture Formatters |