@Override protected JsonObject getChartData() { JsonObject data = new JsonObject(); String value = getValue(); if (value == null || value.isEmpty()) { // Null = skip the chart return null; } data.addProperty("value", value); return data; } }
@Override protected JsonObject getChartData() { JsonObject data = new JsonObject(); String value = getValue(); if (value == null || value.isEmpty()) { // Null = skip the chart return null; } data.addProperty("value", value); return data; } }