| ||
SharpPlot Tutorials General Tutorials Chart Samples Style Examples SharpLeaf Tutorials Document Layout Tutorials Text Flow Tutorials Table Tutorials Visual Glossaries SharpPlot Class SharpPlot Methods SharpPlot Structures SharpPlot Enumerations PageMap Class SharpLeaf Reference SharpLeaf Class SharpLeaf Properties SharpLeaf Methods Table Class Table Properties Table Methods SharpLeaf Structures FontType Structure ParagraphStyle Structure BoxStyle Structure SharpLeaf Enumerations DocumentLayout Classes DocumentLayout Class PageLayout Class PageElement Abstract Class Frame : PageElement Class TextBlock : PageElement Class ImageBlock : PageElement Class Box : PageElement Class Rule : PageElement Class Common Reference Document Class VectorMath Class DbUtil Class Download Release Notes Licensing |
SharpPlot Reference > SharpPlot 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. You may prefix it with a backslash to prevent interpretation as XLabels, as for all formatting characters. See also ...Using Picture Formatters | Formatting text with simple HTML tags | SharpPlot Members |