I'm trying to make a combo chart based on two properties of a FeatureCollection.

However, one of the properties is full of 0 which I don't want to show them on the chart.

How can I not showing those with 0 value on the chart?

Here is the code: https://code.earthengine.google.com/3946003969b252d0dec10f2e455309f4

1 Answer 1


Simply remove the features with property value 0 using

var test = test.filterMetadata("UKCount","not_equals",0)

Link to corrected code.


Not the answer you're looking for? Browse other questions tagged or ask your own question.