public abstract class PieRadarHighlighter<T extends PieRadarChartBase> extends java.lang.Object implements IHighlighter
| Modifier and Type | Field and Description |
|---|---|
protected T |
mChart |
protected java.util.List<Highlight> |
mHighlightBuffer
buffer for storing previously highlighted values
|
| Constructor and Description |
|---|
PieRadarHighlighter(T chart) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Highlight |
getClosestHighlight(int index,
float x,
float y)
Returns the closest Highlight object of the given objects based on the touch position inside the chart.
|
Highlight |
getHighlight(float x,
float y)
Returns a Highlight object corresponding to the given x- and y- touch positions in pixels.
|
protected T extends PieRadarChartBase mChart
protected java.util.List<Highlight> mHighlightBuffer
public PieRadarHighlighter(T chart)
public Highlight getHighlight(float x, float y)
IHighlightergetHighlight in interface IHighlighterprotected abstract Highlight getClosestHighlight(int index, float x, float y)
index - x - y -