SharpPlot Reference > SharpPlot Methods > SetValueTags Method

SharpPlot.SetValueTags Method

Set Value tags given a string (or numeric) array or a simple string.

Example

sp.SetValueTags(new string[]{"First","Second"});

Overloads

Notes

By default, setting the ValueTags style on any chart simply adds the formatted Y-values to each data-point. However you may choose to display some other value, for example in a chart of house prices, a scatterplot of floor-area against age of house could show the price at each data-point. This is often a good way to add an extra dimension to a simple 2-dimensional presentation.

See also ...

Formatting text with simple HTML tags | SharpPlot Members | SharpPlot.ValueTagFormat Property


Send comments on this topic
© Dyalog Ltd 2021