T
- The type of parent renderable seriespublic class SeriesInfo<T extends IRenderableSeries> extends SeriesInfoCore<T> implements IHitTestInfoUpdatable
HitTestInfo
valuesModifier and Type | Field and Description |
---|---|
int |
dataSeriesIndex
The DataSeriesIndex at the hit-test site
|
DataSeriesType |
dataSeriesType
The type of IDataSeries that was hit tested
|
boolean |
isWithinDataBounds
The value indicating whether the input point is between first and last series point or not
|
android.graphics.PointF |
xyCoordinate
A point snapped to the X-Y value of the series.
|
isHit, renderableSeries, seriesColor, seriesName
Constructor and Description |
---|
SeriesInfo(T renderableSeries)
Creates a new instance of
SeriesInfo class |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected java.lang.CharSequence |
formatXCursorValue(java.lang.Comparable<?> xValue)
Returns a value formatted using X axis format for cursors.
|
protected java.lang.CharSequence |
formatYCursorValue(java.lang.Comparable<?> yValue)
Returns a value formatted using Y axis format for cursors.
|
IRenderableSeries |
getRenderableSeries()
Gets the parent renderable series
|
void |
update()
Updates this series info with the latest values from renderable series
|
void |
update(HitTestInfo hitTestInfo,
boolean interpolate)
Updates this instance with information provided by
hitTestInfo instance |
isVisible
public final android.graphics.PointF xyCoordinate
public DataSeriesType dataSeriesType
public int dataSeriesIndex
public boolean isWithinDataBounds
public SeriesInfo(T renderableSeries)
SeriesInfo
classrenderableSeries
- The parent renderable seriespublic void update()
public void update(HitTestInfo hitTestInfo, boolean interpolate)
hitTestInfo
instanceupdate
in interface IHitTestInfoUpdatable
hitTestInfo
- The results of hit testinterpolate
- If true perform interpolationpublic final IRenderableSeries getRenderableSeries()
getRenderableSeries
in interface IHitTestInfoUpdatable
public void clear()
clear
in interface com.scichart.core.framework.ICleanable
clear
in class SeriesInfoCore<T extends IRenderableSeries>
protected final java.lang.CharSequence formatXCursorValue(java.lang.Comparable<?> xValue)
xValue
- The value to formatprotected final java.lang.CharSequence formatYCursorValue(java.lang.Comparable<?> yValue)
yValue
- The value to format