You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (highs.size() != markers.size()) thrownewIllegalArgumentException("Markers and highs must be mutually corresponding. High size = " + highs.size() + " Markers size = " + markers.size());
550
+
setMarkers(markers);
551
+
highlightValues(highs.toArray(newHighlight[0]));
552
+
}
553
+
554
+
/**
555
+
* Highlights any y-value at the given x-value in the given DataSet.
556
+
* Provide -1 as the dataSetIndex to undo all highlighting.
557
+
* This method will call the listener.
558
+
** @param x The x-value to highlight
552
559
* @param dataSetIndex The dataset index to search in
553
560
* @param dataIndex The data index to search in (only used in CombinedChartView currently)
554
561
*/
@@ -747,15 +754,15 @@ public ChartTouchListener getOnTouchListener() {
747
754
/**
748
755
* the view that represents the marker
749
756
*/
750
-
protectedIMarkermMarker;
757
+
protectedList<IMarker> mMarkers;
751
758
752
759
/**
753
760
* draws all MarkerViews on the highlighted positions
754
761
*/
755
762
protectedvoiddrawMarkers(Canvascanvas) {
756
763
757
764
// if there is no marker view or drawing marker is disabled
758
-
if (mMarker == null || !isDrawMarkersEnabled() || !valuesToHighlight()) {
765
+
if (mMarkers == null || !isDrawMarkersEnabled() || !valuesToHighlight()) {
0 commit comments