T
- The type of parent renderable seriespublic class SeriesInfo<T extends IRenderableSeries> extends java.lang.Object 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 |
isHit
The value indicating whether the HitTest operation was a hit or not
|
boolean |
isWithinDataBounds
The value indicating whether the input point is between first and last series point or not
|
T |
renderableSeries
The parent renderable series
|
int |
seriesColor
The color of the renderable series associated with this series info
|
java.lang.String |
seriesName
The name of the
IDataSeries associated with this series info |
android.graphics.PointF |
xyCoordinate
A point snapped to the X-Y value of the series.
|
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
|
boolean |
isVisible()
Gets the value indicating whehter the parent renderable series is visible or not
|
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 |
public final T extends IRenderableSeries renderableSeries
public final android.graphics.PointF xyCoordinate
public int seriesColor
public java.lang.String seriesName
IDataSeries
associated with this series infopublic DataSeriesType dataSeriesType
public int dataSeriesIndex
public boolean isHit
public boolean isWithinDataBounds
public SeriesInfo(T renderableSeries)
SeriesInfo
classrenderableSeries
- The parent renderable seriespublic final boolean isVisible()
public 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
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