RolloverModifier

StockSharp.Xaml.Charting.ChartModifiers

The RolloverModifier provides a mouse-over hit-test to a chart, plus a collection of SeriesInfo objects to bind to which updates as the mouse moves. Add to a UltrachartSurface and set IsEnabled to true to enable this behaviour

Наследует: VerticalSliceModifierBase

Конструкторы

RolloverModifier()

Initializes a new instance of the RolloverModifier class.

Свойства

DrawVerticalLine : bool

Gets or sets whether a Vertical Line should be drawn at the rollover location

Методы

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

GetRolloverMarkerFrom(SeriesInfo) : FrameworkElement

Get rollover marker from SeriesInfo to place on chart

seriesInfo
HandleMasterMouseEvent(Point)

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

mousePoint
The current Mouse-point
OnSelectedSeriesChanged(IEnumerable<IRenderableSeries>, IEnumerable<IRenderableSeries>)

Called when the parent surface SelectedSeries collection changes

oldSeries
newSeries
SetIncludeSeries(DependencyObject, bool)

Sets the include Series or not

TryUpdateOverlays(Point)

If the current modifier IsEnabled, and the Point is valid for the modifier, updates axis and chart overlays

atPoint
The current mouse point

Поля

DrawVerticalLineProperty : DependencyProperty

Defines the DrawVerticalLine DependencyProperty

IncludeSeriesProperty : DependencyProperty

Defined IncludeSeries Attached Property