We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52d16f8 + 30316e8 commit b227835Copy full SHA for b227835
2 files changed
MPChartLib/src/main/java/com/github/mikephil/charting/charts/Chart.java
@@ -751,7 +751,7 @@ protected void drawMarkers(Canvas canvas) {
751
Entry e = mData.getEntryForHighlight(highlight);
752
753
// make sure entry not null before using it
754
- if (e == null) {
+ if (e == null || set == null) {
755
continue;
756
}
757
MPChartLib/src/main/java/com/github/mikephil/charting/charts/CombinedChart.java
@@ -240,7 +240,7 @@ protected void drawMarkers(Canvas canvas) {
240
IDataSet set = mData.getDataSetByHighlight(highlight);
241
242
243
244
245
246
0 commit comments