| ||
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 > ValueTagFormat Property SharpPlot.ValueTagFormat PropertySet Value-tag picture format. public string ValueTagFormat {get; set;} Examplesp.ValueTagFormat = "##0.00%"; To show the tags to 2 decimal places with a trailing % symbol. When contour lines are drawn on scatterplots, this format specification is used to create the labels on each line. Note that the trailing ‘%’ does not multiply the values by 100 here (this is one of the few differences from the default formatter in C#). PiechartsThis format specification is also used for the numeric sector labels on piecharts if you set the ‘values’ style here. You can also use a simple format such as ‘XXXXXXX;’ to get text labels wrapped into a limited width, or ‘XXXXXX’ which will simply truncate them, suffixed with an ellipsis if necessary. In addition, you may want to merge the sector labels with the sector values. You can do this with a format such as ‘The XL = ##0’ which will take each sector in turn and substitute the corresponding label into the value string at the XL marker. See also ...SharpPlot Members | Using Picture Formatters | Formatting text with simple HTML tags |