How to: Format Values Displayed in a Crosshair Cursor Using a Crosshair Label's Patterns
This example demonstrates changing a text displayed in crosshair labels using crosshair format patterns.
To accomplish this, it is necessary to specify a string which will represent a displayed pattern within a crosshair label using the CrosshairAxisLabelOptions.Pattern, XYSeries2D.CrosshairLabelPattern, and CrosshairOptions.GroupHeaderPattern properties.
In addition, standard and custom format specifiers are used together with the placeholders to format numeric and date/time values (e.g., {A:F0}).
To learn more on a crosshair cursor, see the Crosshair Cursor topic.