TooltipModifier

StockSharp.Xaml.Charting.ChartModifiers

The TooltipModifier provides a mouse-over tooltip to a chart, outputting a single SeriesInfo object to bind to which updates as the mouse moves over data-points. Add to a UltrachartSurface and set IsEnabled to true to enable this behaviour

继承自: TooltipModifierBase

构造函数

TooltipModifier()

Initializes a new instance of the TooltipModifier class

属性

TooltipLabelDataContextSelector : Func<SeriesInfo, object>

Gets or sets the function which is called internally to get a DataContext for a particular data point

方法

ClearAll()

When overriden in a derived class, this method should clear all markers and tooltips from the ModifierSurface

GetIncludeSeries(DependencyObject) : bool

Gets the include Series or not

HandleMasterMouseEvent(Point)

When overriden in a derived class, called to handle the Master ChartModifierBase MouseMove event

mousePoint
The current Mouse-point
HandleSlaveMouseEvent(Point)

When overriden in a derived class, called to handle the Slave ChartModifierBase MouseMove event

mousePoint
The current Mouse-point
OnAxisLabelTemplateChanged()

When overriden in a derived class, applies new template to axis labels, and

OnTooltipLabelTemplateChanged()

When overriden in a derived class, applies new template to tooltip label, and

SetIncludeSeries(DependencyObject, bool)

Sets the include Series or not

字段

IncludeSeriesProperty : DependencyProperty

Defined IncludeSeries Attached Property

TooltipLabelDataContextSelectorProperty : DependencyProperty

Defines the TooltipLabelDataContext DependencyProperty