CombinedHighlighter class
- Inheritance
-
- Implemented types
-
Methods
-
buildHighlights(IDataSet<Entry> set, int dataSetIndex, double xVal, Rounding rounding)
→ List<Highlight>
-
An array of
Highlight
objects corresponding to the selected xValue and dataSetIndex.
inherited
-
getClosestHighlightByPixel(List<Highlight> closestValues, double x, double y, AxisDependency axis, double? minSelectionDistance)
→ Highlight?
-
Returns the Highlight of the DataSet that contains the closest value on the
y-axis.
inherited
-
getData()
→ BarLineScatterCandleBubbleData<IBarLineScatterCandleBubbleDataSet<Entry>>?
-
inherited
-
getDistance(double x1, double y1, double x2, double y2)
→ double
-
Calculates the distance between the two given points.
inherited
-
getHighlight(double x, double y)
→ Highlight?
-
inherited
-
getHighlightForX(double xVal, double x, double y)
→ Highlight?
-
Returns the corresponding Highlight for a given xVal and x- and y-touch position in pixels.
inherited
-
getHighlightPos(Highlight h)
→ double?
-
inherited
-
getHighlightsAtXValue(double xVal, double x, double y)
→ List<Highlight>
-
Returns 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).
override
-
getMinimumDistance(List<Highlight> closestValues, double pos, AxisDependency axis)
→ double
-
Returns the minimum distance from a touch value (in pixels) to the
closest value (in pixels) that is displayed in the chart.
inherited
-
getValsForTouch(double x, double y)
→ MPPointD
-
Returns a recyclable MPPointD instance.
Returns the corresponding xPos for a given touch-position in pixels.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited