We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0e3816 commit 6a93a97Copy full SHA for 6a93a97
1 file changed
MPChartLib/src/main/java/com/github/mikephil/charting/charts/BarChart.java
@@ -283,6 +283,9 @@ public void setRoundedBarRadius(float mRoundedBarRadius) {
283
public String getAccessibilityDescription() {
284
285
BarData barData = getBarData();
286
+ if (barData == null) {
287
+ return "";
288
+ }
289
290
int entryCount = barData.getEntryCount();
291
0 commit comments