TX
- The type of the X-DataTY
- The type of the Y-Datapublic interface IDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
extends com.scichart.data.model.IDataDistributionProvider
IRenderableSeries
IDataSeries
,
DataSeries
,
IXyDataSeries
,
XyDataSeries
,
IXyyDataSeries
,
XyyDataSeries
,
IHlDataSeries
,
HlDataSeries
,
IOhlcDataSeries
,
OhlcDataSeries
,
IXyzDataSeries
,
XyzDataSeries
,
IUniformHeatmapDataSeries
,
UniformHeatmapDataSeries
,
IRenderableSeries.getDataSeries()
,
IRenderableSeries.setDataSeries(IDataSeries)
Modifier and Type | Method and Description |
---|---|
void |
addObserver(IDataSeriesObserver observer)
Adds
IDataSeriesObserver which observes changes in this series |
void |
clear()
Clears the series, resetting internal lists to zero size.
|
void |
clear(boolean retainCapacity)
Clears the series, resetting internal lists to zero size.
|
boolean |
getAcceptsUnsortedData()
Gets the value indicating whether this series accepts unsorted data.
|
int |
getCount()
Gets the number of points in this series.
|
DataSeriesType |
getDataSeriesType()
Gets the
DataSeriesType for this DataSeries. |
java.lang.Integer |
getFifoCapacity()
Gets the size of the FIFO buffer.
|
boolean |
getHasValues()
Gets whether the DataSeries has values(is not empty).
|
void |
getIndicesXRange(com.scichart.data.model.IndexRange xIndicesRange,
ICoordinateCalculator xCoordinateCalculator)
Sets the integer indices of the XValues array that are currently in the range passed in with xCoordinateCalculator,
and an indefinite range otherwise.
|
void |
getIndicesYRange(com.scichart.data.model.IndexRange yIndicesRange,
ICoordinateCalculator yCoordinateCalculator)
Sets the integer indices of the YValues array that are currently in the range passed in with yCoordinateCalculator,
and an indefinite range otherwise.
|
IReadWriteLock |
getLock()
Gets a synchronization object used to lock this data-series.
|
java.lang.String |
getSeriesName()
Gets the name of this series.
|
com.scichart.data.model.IRange<TY> |
getWindowedYRange(ICoordinateCalculator xCoordCalc,
boolean getPositiveRange)
Gets the YRange of the data (min, max of the series) in the input visible range point range, where the input range is the
IAxisCore.getVisibleRange() |
com.scichart.data.model.IRange<TY> |
getWindowedYRange(com.scichart.data.model.IndexRange xIndexRange,
boolean getPositiveRange)
Gets the YRange of the data (min, max of the series) in the input IndexRange, where indices are point-indices on the DataSeries columns.
|
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
|
boolean |
isFifo()
Gets whether the series behaves as a FIFO.
|
void |
removeObserver(IDataSeriesObserver observer)
Removes
IDataSeriesObserver from list of change observers for this series |
void |
setAcceptsUnsortedData(boolean acceptsUnsortedData)
Sets the value indicating whether this series accepts unsorted data.
|
void |
setFifoCapacity(java.lang.Integer fifoCapacity)
Sets the size of the FIFO buffer.
|
void |
setSeriesName(java.lang.String seriesName)
Sets the name of this series.
|
boolean getHasValues()
com.scichart.data.model.IRange<TY> getYRange()
IDataSeries
in the Y direction.com.scichart.data.model.IRange<TX> getXRange()
IDataSeries
in the X direction.com.scichart.data.model.IRange<TY> getWindowedYRange(ICoordinateCalculator xCoordCalc, boolean getPositiveRange)
IAxisCore.getVisibleRange()
xCoordCalc
- The X CoordinateCalculator currently used by corresponding XAxisgetPositiveRange
- If true, returns the IRange
which has positive values, e.g., when viewing a logarithmic chart this value might be setcom.scichart.data.model.IRange<TY> getWindowedYRange(com.scichart.data.model.IndexRange xIndexRange, boolean getPositiveRange)
xIndexRange
- The XAxis indices currently in viewgetPositiveRange
- If true, returns the IRange
which has positive values, e.g., when viewing a logarithmic chart this value might be setDataSeriesType getDataSeriesType()
DataSeriesType
for this DataSeries.TX getXMin()
TX getXMax()
TY getYMin()
TY getYMax()
int getCount()
void setSeriesName(java.lang.String seriesName)
seriesName
- The new name of this seriesjava.lang.String getSeriesName()
boolean isFifo()
java.lang.Integer getFifoCapacity()
void setFifoCapacity(java.lang.Integer fifoCapacity)
fifoCapacity
- the new size of the FIFO bufferboolean getAcceptsUnsortedData()
setAcceptsUnsortedData(boolean)
with true passed in.void setAcceptsUnsortedData(boolean acceptsUnsortedData)
acceptsUnsortedData
- The new acceptsUnsortedData valuevoid clear()
void clear(boolean retainCapacity)
retainCapacity
- If true series resets internal lists to zero size, otherwise internal list are recreatedvoid addObserver(IDataSeriesObserver observer)
IDataSeriesObserver
which observes changes in this seriesobserver
- The observer to addvoid removeObserver(IDataSeriesObserver observer)
IDataSeriesObserver
from list of change observers for this seriesobserver
- The observer to removejava.lang.Class<TX> getXType()
java.lang.Class<TY> getYType()
com.scichart.data.numerics.math.IMath<TX> getXMath()
IMath
instance for operations with X-Datacom.scichart.data.numerics.math.IMath<TY> getYMath()
IMath
instance for operations with Y-Datavoid getIndicesXRange(com.scichart.data.model.IndexRange xIndicesRange, ICoordinateCalculator xCoordinateCalculator)
xIndicesRange
- The index range to setxCoordinateCalculator
- The current ICoordinateCalculator
of XAxisvoid getIndicesYRange(com.scichart.data.model.IndexRange yIndicesRange, ICoordinateCalculator yCoordinateCalculator)
yIndicesRange
- The index range to setyCoordinateCalculator
- The current ICoordinateCalculator
of YAxisIReadWriteLock getLock()