Legend Widget should allow values to be high-to-low or low-to-high

11-02-2016 03:01 PM
Status: Open
New Contributor III

The Legend widget in the ArcGIS JavaScript API (Both 3.18 and 4.1) seems hardcoded to always place low values at the bottom and high values at the top, regardless of the order in which they are configured in a map service. Cartographic authorities suggest that there isn't a correct order - valid arguments may be made for either sort order, at the discretion of the cartographer and the intended message. And some cartographers feel very strongly about the order in which their legend appears, and are unnerved when that order is reversed when incorporated into a mapping application or viewed in ArcGIS Online. We'd like to request that either the legend follow the order set in a map service, or that ArcGIS Online users (and developers using the API) be given the ability to set the legend class order they feel is most appropriate.

1 Comment

That's a great idea. And I am so surprised that it hasn't been implemented yet.