Protected
minstance of the data-provider
Protected
mbuffer for storing previously highlighted values
Protected
buildProtected
getReturns the Highlight of the DataSet that contains the closest value on the y-axis.
contains two Highlight objects per DataSet closest to the selected x-position (determined by rounding up an down)
Optional
axis: AxisDependencythe closest axis
Protected
getReturns the index of the closest value inside the values array / ranges (stacked barchart) to the value given as a parameter.
Protected
getProtected
getCalculates the distance between the two given points.
Protected
getProtected
getReturns a list of Highlight objects representing the entries closest to the given xVal. The returned list contains two objects per DataSet (closest rounding up, closest rounding down).
the transformed x-value of the x-touch position
Optional
x: anyOptional
y: anyProtected
getThis method creates the Highlight object that also indicates which value of a stacked BarEntry has been selected.
the Highlight to work with looking for stacked values
Protected
getReturns a recyclable MPPointD instance. Returns the corresponding xPos for a given touch-position in pixels.
Returns sorted highlights based on distance to touch x,y
contains two Highlight objects per DataSet closest to the selected x-position (determined by rounding up an down)
Optional
axis: AxisDependencythe closest axis
Created by philipp on 10/06/16.