Esri / arcade-expressions

ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.
Apache License 2.0
278 stars 99 forks source link

SplitCategories(PieChart).md #59

Closed jrv1-geoproject closed 1 year ago

jrv1-geoproject commented 2 years ago

SplitCategories(PieChart).md broke on the recent commit.

for(var i = 0; i < count_arr; i++ ){ 
        feat = {
            'attributes': {
                'split_choices': Trim(split_array[i])
            }
        Push(features, feat);
}}}

should be

for(var i = 0; i < count_arr; i++ ){ 
        feat = {
            'attributes': {
                'split_choices': Trim(split_array[i])
            }
        }
        Push(features, feat);
}}
hhkaos commented 1 year ago

Fixed at https://github.com/Esri/arcade-expressions/commit/0f373d09b8f93228a7d6cc0a3865e4d7bdfe1a61