laptop and a wrench

Bug

The Chart widget in Web AppBuilder for ArcGIS displays incorrect sum of attribute values when multiple fields are selected.

Last Published: April 1, 2016 ArcGIS Online
Bug ID Number BUG-000089370
SubmittedJuly 28, 2015
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found3.8
Version FixedOnline 3.10
StatusFixed

Workaround

Replace all the NULL values with zeros in the feature service.Modify chart's preview.js. after the call on line 1906//filter features with number values firstly var fs = args.featureSet.features;and add the following:array.forEach(fs, lang.hitch(this, function(feature) { var attributes = feature.attributes; array.forEach(valueFields, lang.hitch(this, function(fieldName) { if (attributes[fieldName] === null && typeof attributes[fieldName] === "object") attributes[fieldName] = 0; })); }));

Steps to Reproduce

Bug ID: BUG-000089370

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options