Good Afternoon,
I am learning to use the Advanced formatting functionality but seem to hit a snag. I am trying to calculate using the following
var feature_area = Area(Geometry($datapoint), 'square-meters');
return {
textColor: '',
backgroundColor: '',
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
attributes: {
feature_area: feature_area
}
}
but get an error "Unable to parse script. Check your syntax.". I am sure that it's a user error 🙂