Protectedminstance of the data-provider
Protectedmbuffer for storing previously highlighted values
ProtectedbuildAn array of Highlight objects corresponding to the selected xValue and dataSetIndex.
ProtectedgetReturns 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)
Optionalaxis: AxisDependencythe closest axis
ProtectedgetReturns the index of the closest value inside the values array / ranges (stacked barchart) to the value given as a parameter.
ProtectedgetProtectedgetCalculates the distance between the two given points.
ProtectedgetProtectedgetReturns 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
Optionalx: anyOptionaly: anyProtectedgetThis 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
ProtectedgetReturns 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)
Optionalaxis: AxisDependencythe closest axis
Created by philipp on 10/06/16.