Class PieSeriesInfo<T>
Defines a class which contains information about a series based on PieHitTestInfo values
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class PieSeriesInfo<T> implements renderableSeries.hitTest.IPieHitTestInfoUpdatable
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
PieSeriesInfo(T renderableSeries)
Creates a new instance of PieSeriesInfo class
Declaration
public PieSeriesInfo(T renderableSeries)
Parameters
| Type | Name | Description |
|---|---|---|
| T | renderableSeries | The parent renderable series |
Fields
isHit
The value indicating whether the HitTest operation was a hit or not
Declaration
public boolean isHit
Field Value
| Type | Description |
|---|---|
| boolean |
renderableSeries
The parent renderable series
Declaration
public final T renderableSeries
Field Value
| Type | Description |
|---|---|
| T |
segmentColor
The color of the renderable series associated with this series info
Declaration
public int segmentColor
Field Value
| Type | Description |
|---|---|
| int |
segmentIndex
The SegmentIndex at the hit-test site
Declaration
public int segmentIndex
Field Value
| Type | Description |
|---|---|
| int |
segmentTitle
The name of the IPieSegment associated with this series info
Declaration
public String segmentTitle
Field Value
| Type | Description |
|---|---|
| String |
segmentValue
The value of the IPieSegment associated with this series info
Declaration
public Comparable<?> segmentValue
Field Value
| Type | Description |
|---|---|
| Comparable<?> |
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()
getRenderableSeries()
Gets the parent renderable series
Declaration
public final renderableSeries.IPieRenderableSeries getRenderableSeries()
Returns
| Type | Description |
|---|---|
| renderableSeries.IPieRenderableSeries |
isVisible()
Gets the value indicating whehter the parent renderable series is visible or not
Declaration
public final boolean isVisible()
Returns
| Type | Description |
|---|---|
| boolean | True if renderable series visible |
update()
Updates this series info with the latest values from renderable series
Declaration
public void update()
update(renderableSeries.hitTest.PieHitTestInfo hitTestInfo)
Updates this instance with information provided by pieHitTestInfo instance
Declaration
public void update(renderableSeries.hitTest.PieHitTestInfo hitTestInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| renderableSeries.hitTest.PieHitTestInfo | hitTestInfo |