TX
- The type of the X-DataTY
- The type of the Y-Datapublic abstract class DataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>> extends DataSeriesCore implements IDataSeries<TX,TY>
IDataSeries
,
DataSeries
,
IXyDataSeries
,
XyDataSeries
,
IXyyDataSeries
,
XyyDataSeries
,
IHlDataSeries
,
HlDataSeries
,
IOhlcDataSeries
,
OhlcDataSeries
,
IXyzDataSeries
,
XyzDataSeries
,
IUniformHeatmapDataSeries
,
UniformHeatmapDataSeries
,
IRenderableSeries.getDataSeries()
,
IRenderableSeries.setDataSeries(IDataSeries)
Modifier and Type | Field and Description |
---|---|
protected IReadWriteLock |
lock |
protected static java.lang.String |
TAG |
protected com.scichart.data.numerics.math.IMath<TX> |
xMath |
protected java.lang.Class<TX> |
xType |
protected com.scichart.data.numerics.math.IMath<TY> |
yMath |
protected java.lang.Class<TY> |
yType |
DEFAULT_SIZE
Modifier | Constructor and Description |
---|---|
protected |
DataSeries(java.lang.Class<TX> xType,
java.lang.Class<TY> yType)
Creates a new
IDataSeries instance |
Modifier and Type | Method and Description |
---|---|
boolean |
getAcceptsUnsortedData()
Gets the value indicating whether this series accepts unsorted data.
|
IReadWriteLock |
getLock()
Gets a synchronization object used to lock this data-series.
|
com.scichart.data.numerics.math.IMath<TX> |
getXMath()
Gets the
IMath instance for operations with X-Data |
TX |
getXMax()
Gets the computed Maximum value in X for this series.
|
TX |
getXMin()
Gets the computed Minimum value in X for this series.
|
com.scichart.data.model.IRange<TX> |
getXRange()
Gets the total extents of the
IDataSeries in the X direction. |
java.lang.Class<TX> |
getXType()
Gets the type of the X-Data
|
com.scichart.data.numerics.math.IMath<TY> |
getYMath()
Gets the
IMath instance for operations with Y-Data |
TY |
getYMax()
Gets the computed Maximum value in Y for this series.
|
TY |
getYMin()
Gets the computed Minimum value in Y for this series.
|
com.scichart.data.model.IRange<TY> |
getYRange()
Gets the total extents of the
IDataSeries in the Y direction. |
java.lang.Class<TY> |
getYType()
Gets the type of the Y-Data
|
void |
setAcceptsUnsortedData(boolean acceptsUnsortedData)
Sets the value indicating whether this series accepts unsorted data.
|
protected abstract void |
updateXRange(com.scichart.data.model.IRange<TX> xRange)
Sets the total extents of the
IDataSeries in the X direction. |
protected abstract void |
updateYRange(com.scichart.data.model.IRange<TY> yRange)
Sets the total extents of the
IDataSeries in the Y direction. |
addObserver, clear, getHasValues, getSeriesName, onDataSeriesChanged, removeObserver, setSeriesName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataSeriesType, getFifoCapacity, getIndicesXRange, getIndicesYRange, getWindowedYRange, getWindowedYRange, isFifo, setFifoCapacity
addObserver, clear, clear, getCount, getHasValues, getSeriesName, removeObserver, setSeriesName
protected static final java.lang.String TAG
protected final com.scichart.data.numerics.math.IMath<TX extends java.lang.Comparable<TX>> xMath
protected final com.scichart.data.numerics.math.IMath<TY extends java.lang.Comparable<TY>> yMath
protected final IReadWriteLock lock
protected DataSeries(java.lang.Class<TX> xType, java.lang.Class<TY> yType)
IDataSeries
instancexType
- The type of X-DatayType
- The type of Y-Datapublic final IReadWriteLock getLock()
public final boolean getAcceptsUnsortedData()
IDataSeries.setAcceptsUnsortedData(boolean)
with true passed in.getAcceptsUnsortedData
in interface IDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
public final void setAcceptsUnsortedData(boolean acceptsUnsortedData)
setAcceptsUnsortedData
in interface IDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
acceptsUnsortedData
- The new acceptsUnsortedData valuepublic final com.scichart.data.model.IRange<TX> getXRange()
IDataSeries
in the X direction.protected abstract void updateXRange(com.scichart.data.model.IRange<TX> xRange)
IDataSeries
in the X direction.xRange
- The range to setpublic final com.scichart.data.model.IRange<TY> getYRange()
IDataSeries
in the Y direction.protected abstract void updateYRange(com.scichart.data.model.IRange<TY> yRange)
IDataSeries
in the Y direction.yRange
- The range to setpublic TX getXMin()
public TX getXMax()
public TY getYMin()
public TY getYMax()
public final java.lang.Class<TX> getXType()
public final java.lang.Class<TY> getYType()
public final com.scichart.data.numerics.math.IMath<TX> getXMath()
IMath
instance for operations with X-Data