-
- All Implemented Interfaces:
-
com.github.mikephil.charting.highlight.IHighlighter
public class BarHighlighter extends ChartHighlighter<BarDataProvider>
Created by Philipp Jahoda on 22/07/15.
-
-
Constructor Summary
Constructors Constructor Description BarHighlighter(BarDataProvider chart)
-
Method Summary
Modifier and Type Method Description HighlightgetHighlight(float x, float y)Returns a Highlight object corresponding to the given x- and y- touch positions in pixels. HighlightgetStackedHighlight(Highlight high, IBarDataSet set, float xVal, float yVal)This method creates the Highlight object that also indicates which value of a stacked BarEntry has beenselected. -
-
Constructor Detail
-
BarHighlighter
BarHighlighter(BarDataProvider chart)
-
-
Method Detail
-
getHighlight
Highlight getHighlight(float x, float y)
Returns a Highlight object corresponding to the given x- and y- touch positions in pixels.
-
getStackedHighlight
Highlight getStackedHighlight(Highlight high, IBarDataSet set, float xVal, float yVal)
This method creates the Highlight object that also indicates which value of a stacked BarEntry has beenselected.
- Parameters:
high- the Highlight to work with looking for stacked values
-
-
-
-