TX
- The type of X-Datapublic class UserDefinedDistributionCalculator<TX extends java.lang.Comparable<TX>> extends BaseDataDistributionCalculator<TX>
dataEvenlySpaced, dataSortedAscending
Constructor and Description |
---|
UserDefinedDistributionCalculator()
Creates a new instance of
UserDefinedDistributionCalculator class |
Modifier and Type | Method and Description |
---|---|
void |
onAppendValue(com.scichart.data.model.ISciList<TX> values,
TX newValue,
boolean acceptUnsortedData)
Called when value is appended.
|
void |
onAppendValues(com.scichart.data.model.ISciList<TX> values,
int countBeforeAppending,
java.lang.Iterable<TX> newValues,
boolean acceptUnsortedData)
Called when X values are appended.
|
void |
onAppendValues(com.scichart.data.model.ISciList<TX> values,
int countBeforeAppending,
com.scichart.core.model.IValues<TX> newValues,
boolean acceptUnsortedData)
Called when X values are appended.
|
void |
onAppendValues(com.scichart.data.model.ISciList<TX> values,
int countBeforeAppending,
TX[] newValues,
boolean acceptUnsortedData)
Called when X values are appended.
|
void |
onInsertValue(com.scichart.data.model.ISciList<TX> values,
int indexWhereInserted,
TX newValue,
boolean acceptUnsortedData)
Called when X Value is inserted.
|
void |
onInsertValues(com.scichart.data.model.ISciList<TX> values,
int indexWhereInserted,
int insertedCount,
java.lang.Iterable<TX> newValues,
boolean acceptUnsortedData)
Called when X Values are inserted.
|
void |
onInsertValues(com.scichart.data.model.ISciList<TX> values,
int indexWhereInserted,
int insertedCount,
com.scichart.core.model.IValues<TX> newValues,
boolean acceptUnsortedData)
Called when X Values are inserted.
|
void |
onInsertValues(com.scichart.data.model.ISciList<TX> values,
int indexWhereInserted,
int insertedCount,
TX[] newValues,
boolean acceptUnsortedData)
Called when X Values are inserted.
|
void |
onUpdateValue(com.scichart.data.model.ISciList<TX> values,
int indexWhereUpdate,
TX newValue,
boolean acceptUnsortedData)
Called when X Value is updated.
|
void |
onUpdateValues(com.scichart.data.model.ISciList<TX> values,
int indexWhereUpdate,
int updatedCount,
java.lang.Iterable<TX> newValues,
boolean acceptUnsortedData)
Called when X Values are updated.
|
void |
onUpdateValues(com.scichart.data.model.ISciList<TX> values,
int indexWhereUpdate,
int updatedCount,
com.scichart.core.model.IValues<TX> newValues,
boolean acceptUnsortedData)
Called when X Values are updated.
|
void |
onUpdateValues(com.scichart.data.model.ISciList<TX> values,
int indexWhereUpdate,
int updatedCount,
TX[] newValues,
boolean acceptUnsortedData)
Called when X Values are updated.
|
void |
setDataEvenlySpaced(boolean value)
Sets the isDataEvenlySpaced flag
|
void |
setDataSortedAscending(boolean value)
Sets the isDataSortedAscending flag
|
clear, isDataEvenlySpaced, isDataSortedAscending, updateDataDistributionFlagsWhenRemovedValues
public UserDefinedDistributionCalculator()
UserDefinedDistributionCalculator
classpublic final void setDataSortedAscending(boolean value)
value
- The new isDataSortedAscending valuepublic final void setDataEvenlySpaced(boolean value)
value
- The new isDataEvenlySpaced valuepublic void onAppendValue(com.scichart.data.model.ISciList<TX> values, TX newValue, boolean acceptUnsortedData)
values
- The X valuesnewValue
- The new X valueacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onAppendValues(com.scichart.data.model.ISciList<TX> values, int countBeforeAppending, java.lang.Iterable<TX> newValues, boolean acceptUnsortedData)
values
- The X valuescountBeforeAppending
- The size of the values ISciList
instance passed in before appendingnewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onAppendValues(com.scichart.data.model.ISciList<TX> values, int countBeforeAppending, TX[] newValues, boolean acceptUnsortedData)
values
- The X valuescountBeforeAppending
- The size of the values ISciList
instance passed in before appendingnewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onAppendValues(com.scichart.data.model.ISciList<TX> values, int countBeforeAppending, com.scichart.core.model.IValues<TX> newValues, boolean acceptUnsortedData)
values
- The X valuescountBeforeAppending
- The size of the values ISciList
instance passed in before appendingnewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onInsertValue(com.scichart.data.model.ISciList<TX> values, int indexWhereInserted, TX newValue, boolean acceptUnsortedData)
values
- The X valuesindexWhereInserted
- The index where new X value is insertednewValue
- The new X valueacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onInsertValues(com.scichart.data.model.ISciList<TX> values, int indexWhereInserted, int insertedCount, java.lang.Iterable<TX> newValues, boolean acceptUnsortedData)
values
- The X valuesindexWhereInserted
- The index where new X values are insertedinsertedCount
- Amount of data which were insertednewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onInsertValues(com.scichart.data.model.ISciList<TX> values, int indexWhereInserted, int insertedCount, TX[] newValues, boolean acceptUnsortedData)
values
- The X valuesindexWhereInserted
- The index where new X values are insertedinsertedCount
- Amount of data which were insertednewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onInsertValues(com.scichart.data.model.ISciList<TX> values, int indexWhereInserted, int insertedCount, com.scichart.core.model.IValues<TX> newValues, boolean acceptUnsortedData)
values
- The X valuesindexWhereInserted
- The index where new X values are insertedinsertedCount
- Amount of data which were insertednewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onUpdateValue(com.scichart.data.model.ISciList<TX> values, int indexWhereUpdate, TX newValue, boolean acceptUnsortedData)
values
- The X valuesindexWhereUpdate
- The index where new X value is updatednewValue
- The new X valueacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onUpdateValues(com.scichart.data.model.ISciList<TX> values, int indexWhereUpdate, int updatedCount, java.lang.Iterable<TX> newValues, boolean acceptUnsortedData)
values
- The X valuesindexWhereUpdate
- The index where new X values are updatedupdatedCount
- Amount of data which were updatednewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onUpdateValues(com.scichart.data.model.ISciList<TX> values, int indexWhereUpdate, int updatedCount, TX[] newValues, boolean acceptUnsortedData)
values
- The X valuesindexWhereUpdate
- The index where new X values are updatedupdatedCount
- Amount of data which were updatednewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted datapublic void onUpdateValues(com.scichart.data.model.ISciList<TX> values, int indexWhereUpdate, int updatedCount, com.scichart.core.model.IValues<TX> newValues, boolean acceptUnsortedData)
values
- The X valuesindexWhereUpdate
- The index where new X values are updatedupdatedCount
- Amount of data which were updatednewValues
- The new X valuesacceptUnsortedData
- if set to true the series accepts unsorted data