laptop and a wrench

Bug

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

Zuletzt veröffentlicht: April 1, 2016 ArcGIS Online
Bug-ID-Nummer BUG-000089370
EingereichtJuly 28, 2015
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Online
Gefunden in Version3.8
Behoben in VersionOnline 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; })); }));

Schritte zur Reproduzierung

Bug-ID: BUG-000089370

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln