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
While setting a MarkerView for PieChart , I get a runtime exception,
java.lang.NullPointerException: Attempt to read from field 'float com.github.mikephil.charting.components.AxisBase.mAxisRange' on a null object reference
at com.github.mikephil.charting.charts.Chart.drawMarkers(Chart.java:673)
at com.github.mikephil.charting.charts.PieChart.onDraw(PieChart.java:136)
After some analysis, I found the Chart class is calculating deltaX from XAxis mXAxis object.
But for a pie chart there is no X-Axis?
Is there something wrong in this?
The text was updated successfully, but these errors were encountered:
While setting a MarkerView for PieChart , I get a runtime exception,
After some analysis, I found the Chart class is calculating deltaX from XAxis mXAxis object.
But for a pie chart there is no X-Axis?
Is there something wrong in this?
The text was updated successfully, but these errors were encountered: