TimeframeSegmentDataSeries

StockSharp.Xaml.Charting.Model.DataSeries.SegmentDataSeries

base class for segmented data series

Inherits: BindableObject

Implements: IDataSeries<DateTime, double>, IDataSeries, ISuspendable, ITimeframeDataSeries

Properties

IsSuspended : bool

Gets a value indicating whether updates for the target are currently suspended

LatestYValue : IComparable

Gets the latest Y-Value of the DataSeries

SeriesName : string

Gets or sets the name of this series

XType : Type

Gets the Type of X-data points in this DataSeries. Used to check compatibility with Axis types

YType : Type

Gets the Type of Y-data points in this DataSeries. Used to check compatibility with Axis types

Methods

InvalidateParentSurface(RangeMode)

May be called to trigger a redraw on the parent UltrachartSurface. This method is extremely useful when IDataSeries are in a ViewModel and bound via MVVM to IRenderableSeries. Please see the parameter for invalidation options

rangeMode
Provides RangeMode invalidation options for the parent surface
ResumeUpdates(IUpdateSuspender)

Resumes updates on the target, intended to be called by IUpdateSuspender

suspender
SuspendUpdates() : IUpdateSuspender

Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued

Returns: The disposable Update Suspender

Events

DataSeriesChanged : EventHandler<DataSeriesChangedEventArgs>

Event raised whenever points are added to, removed or one or more DataSeries properties changes