VerticalSliceModifierBase

StockSharp.Xaml.Charting.ChartModifiers

The VerticalSliceModifierBase is part of the ChartModifier API, which provides vertical slices on IRenderableSeries and a mouse-over templated tooltip to bind to a custom DataContext, provided by the output of the Hit-Test operation on a IRenderableSeries

Inherits: TooltipModifierBase

Constructors

VerticalSliceModifierBase
protected VerticalSliceModifierBase()
verticalSliceModifierBase = VerticalSliceModifierBase()

Creates instance of VerticalSliceModifierBase

Properties

HoverDelay
public double HoverDelay { get; set; }
value = verticalSliceModifierBase.HoverDelay
verticalSliceModifierBase.HoverDelay = value

Gets or sets delay for showing of tooltips in miliseconds

Methods

ClearAll
protected override void ClearAll()
verticalSliceModifierBase.ClearAll()

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

DetachRolloverMarker
protected virtual void DetachRolloverMarker(FrameworkElement rolloverMarker)
verticalSliceModifierBase.DetachRolloverMarker(rolloverMarker)

Detaches a RolloverMarker from the ModifierSurface

rolloverMarker
The rollover marker.
GetRolloverMarkerFrom
protected abstract FrameworkElement GetRolloverMarkerFrom(SeriesInfo seriesInfo)
result = verticalSliceModifierBase.GetRolloverMarkerFrom(seriesInfo)

Get rollover marker from SeriesInfo to place on chart

seriesInfo
GetSeriesInfoAt
protected override IEnumerable<SeriesInfo> GetSeriesInfoAt(Point point)
result = verticalSliceModifierBase.GetSeriesInfoAt(point)

Enumerates the RenderableSeries on the parent ParentSurface and gets SeriesInfo objects in given point

point
HandleMasterMouseEvent
protected override void HandleMasterMouseEvent(Point mousePoint)
verticalSliceModifierBase.HandleMasterMouseEvent(mousePoint)

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

mousePoint
The current Mouse-point
HandleSlaveMouseEvent
protected override void HandleSlaveMouseEvent(Point mousePoint)
verticalSliceModifierBase.HandleSlaveMouseEvent(mousePoint)

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

mousePoint
The current Mouse-point
IsHitPointValid
protected override bool IsHitPointValid(HitTestInfo hitTestInfo)
result = verticalSliceModifierBase.IsHitPointValid(hitTestInfo)

When overridden in derived classes, indicates whether HitTestInfo result of hit-test should be returned from the Point) method.

OnAxisLabelTemplateChanged
protected override void OnAxisLabelTemplateChanged()
verticalSliceModifierBase.OnAxisLabelTemplateChanged()

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

OnDetached
public override void OnDetached()
verticalSliceModifierBase.OnDetached()

Called immediately before the Chart Modifier is detached from the Chart Surface

OnIsEnabledChanged
protected override void OnIsEnabledChanged()
verticalSliceModifierBase.OnIsEnabledChanged()

Called when the IsEnabled property changes on this ChartModifierBase instance

OnSelectedSeriesChanged
protected override void OnSelectedSeriesChanged(IEnumerable<IRenderableSeries> oldSeries, IEnumerable<IRenderableSeries> newSeries)
verticalSliceModifierBase.OnSelectedSeriesChanged(oldSeries, newSeries)

Called when the parent surface SelectedSeries collection changes

oldSeries
newSeries
OnTooltipLabelTemplateChanged
protected override void OnTooltipLabelTemplateChanged()
verticalSliceModifierBase.OnTooltipLabelTemplateChanged()

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

TryUpdateAxesLabels
protected void TryUpdateAxesLabels(Point showAxesLabelsAt)
verticalSliceModifierBase.TryUpdateAxesLabels(showAxesLabelsAt)

If ShowAxisLabels, and the Point is valid for the modifier, updates axis labels

showAxesLabelsAt
The current mouse point
TryUpdateOverlays
protected virtual void TryUpdateOverlays(Point atPoint)
verticalSliceModifierBase.TryUpdateOverlays(atPoint)

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

atPoint
The current mouse point

Fields

RolloverLabelProperty
internal static readonly DependencyProperty RolloverLabelProperty
value = VerticalSliceModifierBase.RolloverLabelProperty

Defines the RolloverLabel Attached Property, which can be attached to point marker