laptop and a wrench

Bug

In the Legend widget of ArcGIS API for Java Script, when embedding a FeatureLayer with a ClassBreaksRenderer, the class is displayed in the opposite order.

Last Published: September 6, 2022 ArcGIS API for JavaScript
Bug ID Number BUG-000151271
SubmittedAugust 3, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.24
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

The FeatureLayer has ClassBreaksRenderer with classBreakInfos from low to high. However, by design, the legend for a FeatureLayer always displays the breaks such that the maximum value is on top and the minimum value is at the bottom.

Steps to Reproduce

Bug ID: BUG-000151271

Software:

  • ArcGIS API for JavaScript

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