Class DataSeries<TX,TY>
A generic abstract base class which defines a generic DataSeries
See Also: IHlDataSeries, UniformHeatmapDataSeries, IXyyDataSeries, XyzDataSeries, IRenderableSeries#setDataSeries(IDataSeries), IXyDataSeries, XyyDataSeries, OhlcDataSeries, IUniformHeatmapDataSeries, HlDataSeries, XyDataSeries, IRenderableSeries#getDataSeries(), IDataSeries, IOhlcDataSeries, IXyzDataSeries, DataSeries
Inheritance
DataSeries<TX,TY>
Implements
com.scichart.charting.model.dataSeries.IDataSeries<TX,TY>
Namespace:
Assembly: .dll
Syntax
public abstract class DataSeries<TX,TY> extends dataSeries.DataSeriesCore implements dataSeries.IDataSeries<TX,TY>
Type Parameters
Constructors
DataSeries(Class<TX> xType, Class<TY> yType)
Declaration
protected DataSeries(Class<TX> xType, Class<TY> yType)
Parameters
Type |
Name |
Description |
Class<TX> |
xType |
The type of X-Data
|
Class<TY> |
yType |
The type of Y-Data
|
Fields
TAG
Declaration
protected static final String TAG
Field Value
lock
Declaration
protected final IReadWriteLock lock
Field Value
xMath
Declaration
protected final IMath<TX> xMath
Field Value
Type |
Description |
IMath<TX> |
|
xType
Declaration
protected final Class<TX> xType
Field Value
Type |
Description |
Class<TX> |
|
yMath
Declaration
protected final IMath<TY> yMath
Field Value
Type |
Description |
IMath<TY> |
|
yType
Declaration
protected final Class<TY> yType
Field Value
Type |
Description |
Class<TY> |
|
Methods
getAcceptsUnsortedData()
Gets the value indicating whether this series accepts unsorted data. If it is false, the DataSeries will throw exception is unsorted data is appended. Unintentional unsorted data can result in much slower performance.
To disable this check, call IDataSeries#setAcceptsUnsortedData(boolean) with true passed in.
Declaration
public final boolean getAcceptsUnsortedData()
Returns
getLock()
Gets a synchronization object used to lock this data-series. Also locked on append, update, remove or clear.
Declaration
public final IReadWriteLock getLock()
Returns
getXMath()
Gets the IMath instance for operations with X-Data
Declaration
public final IMath<TX> getXMath()
Returns
Type |
Description |
IMath<TX> |
|
getXMax()
Gets the computed Maximum value in X for this series.
Declaration
Returns
getXMin()
Gets the computed Minimum value in X for this series.
Declaration
Returns
getXRange()
Gets the total extents of the IDataSeries in the X direction.
Declaration
public final IRange<TX> getXRange()
Returns
getXType()
Gets the type of the X-Data
Declaration
public final Class<TX> getXType()
Returns
Type |
Description |
Class<TX> |
|
getYMath()
Gets the IMath instance for operations with Y-Data
Declaration
public final IMath<TY> getYMath()
Returns
Type |
Description |
IMath<TY> |
|
getYMax()
Gets the computed Maximum value in Y for this series.
Declaration
Returns
getYMin()
Gets the computed Minimum value in Y for this series.
Declaration
Returns
getYRange()
Gets the total extents of the IDataSeries in the Y direction.
Declaration
public final IRange<TY> getYRange()
Returns
getYType()
Gets the type of the Y-Data
Declaration
public final Class<TY> getYType()
Returns
Type |
Description |
Class<TY> |
|
setAcceptsUnsortedData(boolean acceptsUnsortedData)
Sets the value indicating whether this series accepts unsorted data. If it is false, the DataSeries will throw exception is unsorted data is appended. Unintentional unsorted data can result in much slower performance.
To disable this check pass true into this method
Declaration
public final void setAcceptsUnsortedData(boolean acceptsUnsortedData)
Parameters
Type |
Name |
Description |
boolean |
acceptsUnsortedData |
|
updateXRange(IRange<TX> xRange)
Sets the total extents of the IDataSeries in the X direction.
Declaration
protected abstract void updateXRange(IRange<TX> xRange)
Parameters
Type |
Name |
Description |
IRange<TX> |
xRange |
The range to set
|
updateYRange(IRange<TY> yRange)
Sets the total extents of the IDataSeries in the Y direction.
Declaration
protected abstract void updateYRange(IRange<TY> yRange)
Parameters
Type |
Name |
Description |
IRange<TY> |
yRange |
The range to set
|
Implements
com.scichart.charting.model.dataSeries.IDataSeries<TX,TY>