public class HorizontalBarHighlighter extends BarHighlighter
mChart| Constructor and Description |
|---|
HorizontalBarHighlighter(BarDataProvider chart) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
getBase(float y)
Returns the base y-value to the corresponding x-touch value in pixels.
|
Highlight |
getHighlight(float x,
float y)
Returns a Highlight object corresponding to the given x- and y- touch positions in pixels.
|
protected int |
getXIndex(float x)
Returns the corresponding x-index for a given touch-position in pixels.
|
getClosestStackIndex, getDataSetIndex, getRanges, getStackedHighlightgetSelectionDetailsAtIndexpublic HorizontalBarHighlighter(BarDataProvider chart)
public Highlight getHighlight(float x, float y)
ChartHighlightergetHighlight in class BarHighlighterprotected int getXIndex(float x)
ChartHighlightergetXIndex in class BarHighlighterprotected float getBase(float y)
getBase in class BarHighlightery -