NumericLabelProvider

StockSharp.Xaml.Charting.Visuals.Axes

The NumericLabelFormatter is a pass-through which uses the TextFormatting and CursorTextFormatting properties to format axis and cursor label texts

Inherits: LabelProviderBase

Methods

CreateDataContext(IComparable) : ITickLabelViewModel

Creates a ITickLabelViewModel instance, based on the data-value passed in. Invokes IComparable) to format the specified data-value passed in.

dataValue
The data-value to format
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

UpdateDataContext(ITickLabelViewModel, IComparable) : ITickLabelViewModel

Updates existing ITickLabelViewModel, based on the data-value passed in. Invokes IComparable) to format the specified data-value passed in.

labelDataContext
The instance to update
dataValue
The data-value to format