InspectSeriesModifierBase

StockSharp.Xaml.Charting.ChartModifiers

An abstract base class which factors out handling of Axis and Chart Label templates which are shared in the CursorModifier and RolloverModifier.

Inherits: ChartModifierBase

Constructors

InspectSeriesModifierBase
protected InspectSeriesModifierBase()
inspectSeriesModifierBase = InspectSeriesModifierBase()

Initializes a new instance of the InspectSeriesModifierBase class.

Properties

SeriesData
public ChartDataObject SeriesData { get; set; }
value = inspectSeriesModifierBase.SeriesData
inspectSeriesModifierBase.SeriesData = value

Gets or sets the ChartDataObject which may be bound to, to provide feedback to the user of cursor updates

SourceMode
public SourceMode SourceMode { get; set; }
value = inspectSeriesModifierBase.SourceMode
inspectSeriesModifierBase.SourceMode = value

Gets or sets type of series on which interaction is performed

UseInterpolation
public bool UseInterpolation { get; set; }
value = inspectSeriesModifierBase.UseInterpolation
inspectSeriesModifierBase.UseInterpolation = value

Gets or sets whether the interaction should use interpolation

Methods

ClearAll
protected abstract void ClearAll()
inspectSeriesModifierBase.ClearAll()

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

GetSeriesInfoAt
protected IEnumerable<SeriesInfo> GetSeriesInfoAt(Func<IRenderableSeries, HitTestInfo> hitTestMethod)
result = inspectSeriesModifierBase.GetSeriesInfoAt(hitTestMethod)

Called internally, gets the SeriesInfo on all RenderableSeries using the provided hit-test function

hitTestMethod
The hit-test function

Returns: The seriesinfo list

GetSeriesInfoAt
protected virtual IEnumerable<SeriesInfo> GetSeriesInfoAt(Point point, double hitTestRadius)
result = inspectSeriesModifierBase.GetSeriesInfoAt(point, hitTestRadius)

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

point
hitTestRadius
GetSeriesInfoAt
protected virtual IEnumerable<SeriesInfo> GetSeriesInfoAt(Point point)
result = inspectSeriesModifierBase.GetSeriesInfoAt(point)

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

point
HandleMasterMouseEvent
protected abstract void HandleMasterMouseEvent(Point mousePoint)
inspectSeriesModifierBase.HandleMasterMouseEvent(mousePoint)

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

mousePoint
The current Mouse-point
HandleMouseEvent
protected void HandleMouseEvent(ModifierMouseArgs e)
inspectSeriesModifierBase.HandleMouseEvent(e)

General logic for processing mouse events

e
HandleSlaveMouseEvent
protected abstract void HandleSlaveMouseEvent(Point mousePoint)
inspectSeriesModifierBase.HandleSlaveMouseEvent(mousePoint)

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

mousePoint
The current Mouse-point
HitTestAxis
protected AxisInfo HitTestAxis(IAxis axis, Point atPoint)
result = inspectSeriesModifierBase.HitTestAxis(axis, atPoint)

Performs hit-test on , used internally by modifiers

axis
atPoint
IsEnabledAt
protected virtual bool IsEnabledAt(Point point)
result = inspectSeriesModifierBase.IsEnabledAt(point)

When overridden in derived classes, indicates whether mouse point is valid for current modifier

point
IsHitPointValid
protected virtual bool IsHitPointValid(HitTestInfo hitTestInfo)
result = inspectSeriesModifierBase.IsHitPointValid(hitTestInfo)

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

hitTestInfo
IsSeriesValid
protected virtual bool IsSeriesValid(IRenderableSeries series)
result = inspectSeriesModifierBase.IsSeriesValid(series)

When overridden in derived classes, indicates whether the series should be inspected in order to get SeriesInfo inside the Point) method.

series
OnModifierMouseMove
public override void OnModifierMouseMove(ModifierMouseArgs e)
inspectSeriesModifierBase.OnModifierMouseMove(e)

Called when the Mouse is moved on the parent UltrachartSurface

e
Arguments detailing the mouse move operation
OnParentSurfaceMouseLeave
protected override void OnParentSurfaceMouseLeave()
inspectSeriesModifierBase.OnParentSurfaceMouseLeave()

Called when the mouse leaves the parent UltrachartSurface

OnParentSurfaceRendered
public override void OnParentSurfaceRendered(UltrachartRenderedMessage e)
inspectSeriesModifierBase.OnParentSurfaceRendered(e)

Called when the parent UltrachartSurface is rendered

e
The UltrachartRenderedMessage which contains the event arg data

Fields

CurrentPoint
protected Point CurrentPoint
value = inspectSeriesModifierBase.CurrentPoint

The Current MousePoint on the parent ModifierSurface

SeriesDataProperty
public static readonly DependencyProperty SeriesDataProperty
value = InspectSeriesModifierBase.SeriesDataProperty

Defines the SeriesData Dependency property which you may bind to in your applications to show cursor updates on mouse-move

SourceModeProperty
public static readonly DependencyProperty SourceModeProperty
value = InspectSeriesModifierBase.SourceModeProperty

Defines the RolloverMode DependencyProperty

UseInterpolationProperty
public static readonly DependencyProperty UseInterpolationProperty
value = InspectSeriesModifierBase.UseInterpolationProperty

Defines the UseInterpolation DependencyProperty