Class SeriesInfo<T>
Defines a class which contains information about a series, such as name, value, color based on HitTestInfo values
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SeriesInfo<T> extends renderableSeries.hitTest.SeriesInfoCore<T> implements renderableSeries.hitTest.IHitTestInfoUpdatable
Type Parameters
Name | Description |
---|---|
T |
Constructors
SeriesInfo(T renderableSeries)
Creates a new instance of SeriesInfo class
Declaration
public SeriesInfo(T renderableSeries)
Parameters
Type | Name | Description |
---|---|---|
T | renderableSeries | The parent renderable series |
Fields
dataSeriesIndex
The DataSeriesIndex at the hit-test site
Declaration
public int dataSeriesIndex
Field Value
Type | Description |
---|---|
int |
dataSeriesType
The type of IDataSeries that was hit tested
Declaration
public dataSeries.DataSeriesType dataSeriesType
Field Value
Type | Description |
---|---|
dataSeries.DataSeriesType |
isWithinDataBounds
The value indicating whether the input point is between first and last series point or not
Declaration
public boolean isWithinDataBounds
Field Value
Type | Description |
---|---|
boolean |
xyCoordinate
A point snapped to the X-Y value of the series.
Declaration
public final PointF xyCoordinate
Field Value
Type | Description |
---|---|
android.graphics.PointF |
Methods
clear()
Declaration
public void clear()
Overrides
formatXCursorValue(Comparable<?> xValue)
Returns a value formatted using X axis format for cursors.
Declaration
protected final CharSequence formatXCursorValue(Comparable<?> xValue)
Parameters
Type | Name | Description |
---|---|---|
Comparable<?> | xValue | The value to format |
Returns
Type | Description |
---|---|
CharSequence | The formatted value |
formatYCursorValue(Comparable<?> yValue)
Returns a value formatted using Y axis format for cursors.
Declaration
protected final CharSequence formatYCursorValue(Comparable<?> yValue)
Parameters
Type | Name | Description |
---|---|---|
Comparable<?> | yValue | The value to format |
Returns
Type | Description |
---|---|
CharSequence | The formatted value |
getRenderableSeries()
Gets the parent renderable series
Declaration
public final renderableSeries.IRenderableSeries getRenderableSeries()
Returns
Type | Description |
---|---|
renderableSeries.IRenderableSeries |
update()
Updates this series info with the latest values from renderable series
Declaration
public void update()
update(renderableSeries.hitTest.HitTestInfo hitTestInfo, boolean interpolate)
Updates this instance with information provided by hitTestInfo
instance
Declaration
public void update(renderableSeries.hitTest.HitTestInfo hitTestInfo, boolean interpolate)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.hitTest.HitTestInfo | hitTestInfo | |
boolean | interpolate |