BaseDataDistributionCalculator

StockSharp.Xaml.Charting.Model.DataSeries

Implementa: IDataDistributionCalculator<T>

Propiedades

DataIsEvenlySpaced : bool

Gets whether the data is evenly paced

DataIsSortedAscending : bool

Gets whether this DataSeries contains Sorted data in the X-direction. Note: Sorted data will result in far faster indexing operations. If at all possible, try to keep your data sorted in the X-direction

Métodos

Clear()

Clears the DataDistributionCalculator flags

OnAppendXValue(ISeriesColumn<T>, T, bool)

Called when X Values are appended. Should update the Data Distribution flags

xValues
The x values.
newXValue
The new x value.
acceptsUnsortedData
if set to true the series accepts unsorted data.
OnAppendXValues(ISeriesColumn<T>, int, IEnumerable<T>, bool)

Called when X Values are appended. Should update the Data Distribution flags

xValues
The x values.
countBeforeAppending
newXValues
acceptsUnsortedData
if set to true the series accepts unsorted data.
OnInsertXValue(ISeriesColumn<T>, int, T, bool)

Called when X Values are inserted. Should update the Data Distribution flags

xValues
The x values.
indexWhereInserted
newXValue
The new x value.
acceptsUnsortedData
if set to true the series accepts unsorted data.
OnInsertXValues(ISeriesColumn<T>, int, int, IEnumerable<T>, bool)

Called when X Values are inserted. Should update the Data Distribution flags

xValues
The x values.
indexWhereInserted
insertedCount
newXValues
acceptsUnsortedData
if set to true the series accepts unsorted data.
UpdateDataDistributionFlagsWhenRemovedXValues()

Updates the data distribution flags when x values removed.