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