DateTimeLabelProvider

StockSharp.Xaml.Charting.Visuals.Axes

The DateTimeLabelFormatter is a pass-through which uses the TextFormatting and CursorTextFormatting properties to format axis and cursor label texts. It also uses the SubDayTextFormatting property to alter text-formatting when the date-range switches to intra-day

Inherits: LabelProviderBase

Methods

FormatCursorLabel(IComparable, bool) : string

Formats a label for the cursor, from the specified data-value passed in

dataValue
The data-value to format
hitTest
Cursor hit test.

Returns: The formatted cursor label string

FormatLabel(IComparable) : string

Formats a label for the axis from the specified data-value passed in

dataValue
The data-value to format

Returns: The formatted label string