File tree Expand file tree Collapse file tree 2 files changed +33
-38
lines changed
MPChartLib/src/main/java/com/github/mikephil/charting/listener Expand file tree Collapse file tree 2 files changed +33
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ package com.github.mikephil.charting.listener
2+
3+ import com.github.mikephil.charting.data.DataSet
4+ import com.github.mikephil.charting.data.Entry
5+
6+ /* *
7+ * Listener for callbacks when drawing on the chart.
8+ */
9+ interface OnDrawListener {
10+ /* *
11+ * Called whenever an entry is added with the finger. Note this is also called for entries that are generated by the
12+ * library, when the touch gesture is too fast and skips points.
13+ *
14+ * @param entry
15+ * the last drawn entry
16+ */
17+ fun onEntryAdded (entry : Entry )
18+
19+ /* *
20+ * Called whenever an entry is moved by the user after beeing highlighted
21+ *
22+ * @param entry
23+ */
24+ fun onEntryMoved (entry : Entry )
25+
26+ /* *
27+ * Called when drawing finger is lifted and the draw is finished.
28+ *
29+ * @param dataSet
30+ * the last drawn DataSet
31+ */
32+ fun onDrawFinished (dataSet : DataSet <* >)
33+ }
You can’t perform that action at this time.
0 commit comments