Chart for WinForms - How to Format Values in a Crosshair Cursor with Label Patterns
This example demonstrates how to change a text displayed in crosshair labels with crosshair patterns.
Specify a displayed pattern within a crosshair label with the following properties:
- CrosshairAxisLabelOptions.Pattern
- SeriesBase.CrosshairLabelPattern
- CrosshairOptions.GroupHeaderPattern
You can use standard and custom format specifiers are used together with the placeholders to format numeric and date/time values (e.g., "{A:F0}").