TradeChartAxisLabelProvider

StockSharp.Xaml.Charting.Visuals.Axes

A LabelFormatter instance to use on stock charts. Designed to be used with the CategoryDateTimeAxis and applied by default on the UltraStockChart control

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

Init(IAxis)

Called when the label formatted is initialized, with the parent axis instance

parentAxis
The parent IAxis instance
OnBeginAxisDraw()

Called at the start of an axis render pass, before any labels are formatted for the current draw operation