TX
- The type of X-DataTY
- The type of Y-Datapublic class HlDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>> extends XyDataSeries<TX,TY> implements IHlDataSeries<TX,TY>
yColumn
dataDistributionCalculator, xColumn
DEFAULT_SIZE, lock, TAG, xMath, xType, yMath, yType
Constructor and Description |
---|
HlDataSeries(java.lang.Class<TX> xType,
java.lang.Class<TY> yType)
Creates a new instance of the
HlDataSeries class |
HlDataSeries(java.lang.Class<TX> xType,
java.lang.Class<TY> yType,
IDataDistributionCalculator<TX> dataDistributionCalculator)
Creates a new instance of the
HlDataSeries class |
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.Iterable<TX> xValues,
java.lang.Iterable<TY> yValues,
java.lang.Iterable<TY> high,
java.lang.Iterable<TY> low)
Appends the X, Y, High and Low points to the series.
|
void |
append(com.scichart.core.model.IValues<TX> xValues,
com.scichart.core.model.IValues<TY> yValues,
com.scichart.core.model.IValues<TY> high,
com.scichart.core.model.IValues<TY> low)
Appends the X, Y, High and Low points to the series.
|
void |
append(TX[] xValues,
TY[] yValues,
TY[] high,
TY[] low)
Appends an X, Y, High and Low points to the series.
|
void |
append(TX x,
TY y,
TY high,
TY low)
Appends the X, Y, High and Low point to the series.
|
protected void |
clearColumns()
Clears content of series without recreation of internal lists
|
DataSeriesType |
getDataSeriesType()
Gets the
DataSeriesType for this DataSeries. |
boolean |
getHasValues()
Gets whether the DataSeries has values(is not empty).
|
com.scichart.data.model.ISciList<TY> |
getHighValues()
Gets the High Values of this series
|
com.scichart.data.model.ISciList<TY> |
getLowValues()
Gets the Low Values of this series
|
protected void |
initColumns()
Creates internal lists
|
protected void |
initColumnsAsFifo(int fifoCapacity)
Creates internal list as FIFO
|
void |
insert(int index,
TX x,
TY y,
TY high,
TY low)
Inserts the X and Y, High and Low point to the series at specified index.
|
void |
insertRange(int index,
java.lang.Iterable<TX> x,
java.lang.Iterable<TY> y,
java.lang.Iterable<TY> high,
java.lang.Iterable<TY> low)
Inserts the X and Y, High and Low points to the series at specified index.
|
void |
insertRange(int index,
com.scichart.core.model.IValues<TX> x,
com.scichart.core.model.IValues<TY> y,
com.scichart.core.model.IValues<TY> high,
com.scichart.core.model.IValues<TY> low)
Inserts the X and Y, High and Low points to the series at specified index.
|
void |
insertRange(int index,
TX[] x,
TY[] y,
TY[] high,
TY[] low)
Inserts the X and Y, High and Low points to the series at specified index.
|
void |
removeAt(int index)
Removes data points at specified location
|
void |
removeRange(int startIndex,
int count)
Removes the range of data points
|
void |
update(int index,
java.lang.Iterable<TY> y,
java.lang.Iterable<TY> high,
java.lang.Iterable<TY> low)
Updates the Y, High and Low points to the series at specified index.
|
void |
update(int index,
com.scichart.core.model.IValues<TY> y,
com.scichart.core.model.IValues<TY> high,
com.scichart.core.model.IValues<TY> low)
Updates the Y, High and Low points to the series at specified index.
|
void |
update(int index,
TY[] y,
TY[] high,
TY[] low)
Updates the Y, High and Low points to the series at specified index.
|
void |
update(int index,
TY y,
TY high,
TY low)
Updates an Y, High and Low point to the series at specified index.
|
protected void |
updateYRange(com.scichart.data.model.IRange<TY> yRange)
Sets the total extents of the
IDataSeries in the Y direction. |
append, append, append, append, getWindowedYRange, getYValues, insert, insertRange, insertRange, insertRange, updateRangeXAt, updateRangeXAt, updateRangeXAt, updateRangeXyAt, updateRangeXyAt, updateRangeXyAt, updateRangeYAt, updateRangeYAt, updateRangeYAt, updateXAt, updateXyAt, updateYAt
clear, getCount, getFifoCapacity, getIndicesXRange, getIndicesXRange, getIndicesYRange, getWindowedYRange, getXValues, isDataEvenlySpaced, isDataSortedAscending, isFifo, setFifoCapacity, updateXRange
addObserver, clear, getAcceptsUnsortedData, getLock, getSeriesName, getXMath, getXMax, getXMin, getXRange, getXType, getYMath, getYMax, getYMin, getYRange, getYType, onDataSeriesChanged, removeObserver, setAcceptsUnsortedData, setSeriesName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getYValues
getXValues
addObserver, clear, clear, getAcceptsUnsortedData, getCount, getFifoCapacity, getIndicesXRange, getIndicesYRange, getLock, getSeriesName, getWindowedYRange, getWindowedYRange, getXMath, getXMax, getXMin, getXRange, getXType, getYMath, getYMax, getYMin, getYRange, getYType, isFifo, removeObserver, setAcceptsUnsortedData, setFifoCapacity, setSeriesName
public HlDataSeries(java.lang.Class<TX> xType, java.lang.Class<TY> yType, IDataDistributionCalculator<TX> dataDistributionCalculator)
HlDataSeries
classxType
- The Type of X Data (TX)yType
- The Type of Y Data (TY)dataDistributionCalculator
- An optional DataDistributionCalculator, which can be used to specify
Sorted Ascending and Evenly Spaced flagspublic HlDataSeries(java.lang.Class<TX> xType, java.lang.Class<TY> yType)
HlDataSeries
classxType
- The Type of X Data (TX)yType
- The Type of Y Data (TY)protected void clearColumns()
clearColumns
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
protected void initColumns()
initColumns
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
protected void initColumnsAsFifo(int fifoCapacity)
initColumnsAsFifo
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
fifoCapacity
- The FIFO capacity of listspublic com.scichart.data.model.ISciList<TY> getHighValues()
getHighValues
in interface IHlDataSeriesValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
public com.scichart.data.model.ISciList<TY> getLowValues()
getLowValues
in interface IHlDataSeriesValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
protected void updateYRange(com.scichart.data.model.IRange<TY> yRange)
IDataSeries
in the Y direction.updateYRange
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
yRange
- The range to setpublic boolean getHasValues()
getHasValues
in interface IDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
getHasValues
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
public DataSeriesType getDataSeriesType()
DataSeriesType
for this DataSeries.getDataSeriesType
in interface IDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
getDataSeriesType
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
public void removeAt(int index)
public void removeRange(int startIndex, int count)
removeRange
in interface IXDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
removeRange
in class XyDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
startIndex
- The index of the first data point to removecount
- The amount of points to removepublic void append(TX x, TY y, TY high, TY low)
public void append(java.lang.Iterable<TX> xValues, java.lang.Iterable<TY> yValues, java.lang.Iterable<TY> high, java.lang.Iterable<TY> low)
public void append(TX[] xValues, TY[] yValues, TY[] high, TY[] low)
public void append(com.scichart.core.model.IValues<TX> xValues, com.scichart.core.model.IValues<TY> yValues, com.scichart.core.model.IValues<TY> high, com.scichart.core.model.IValues<TY> low)
public void update(int index, TY y, TY high, TY low)
public void update(int index, java.lang.Iterable<TY> y, java.lang.Iterable<TY> high, java.lang.Iterable<TY> low)
public void update(int index, TY[] y, TY[] high, TY[] low)
public void update(int index, com.scichart.core.model.IValues<TY> y, com.scichart.core.model.IValues<TY> high, com.scichart.core.model.IValues<TY> low)
public void insert(int index, TX x, TY y, TY high, TY low)
public void insertRange(int index, java.lang.Iterable<TX> x, java.lang.Iterable<TY> y, java.lang.Iterable<TY> high, java.lang.Iterable<TY> low)
insertRange
in interface IHlDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
index
- The indexx
- The X valuesy
- The Y valueshigh
- The high valueslow
- The low valuespublic void insertRange(int index, TX[] x, TY[] y, TY[] high, TY[] low)
insertRange
in interface IHlDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
index
- The indexx
- The X valuesy
- The Y valueshigh
- The high valueslow
- The low valuespublic void insertRange(int index, com.scichart.core.model.IValues<TX> x, com.scichart.core.model.IValues<TY> y, com.scichart.core.model.IValues<TY> high, com.scichart.core.model.IValues<TY> low)
insertRange
in interface IHlDataSeries<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>>
index
- The indexx
- The X valuesy
- The Y valueshigh
- The high valueslow
- The low values