When we have a field with different values the legend gives us a range bar. Can we modify the size of the range bar?
Checked most of the ESRI documents but could not find a way to achieve this.
Our requirement is to increase the size of this color bar and show it horizontally on the web map that we have published and using it on Experience builder.
I was not able to find a way to do this using the available legend widget on experience builder, so I thought using ArcGIS Pro and then publish the layer again with the changes but still on ArcGIS pro also I am not able to achieve this.
If I check the properties of the legend item, it lets me switch it to be horizontal, Increasing the patch size can make it wider.
This works for printed/exported maps in pro but not for web maps.
Attached is the image of how we want to resize our legend in Web Map on portal:
Appreciate your help on this!
Hi @SanjanaMali1 ,
In Experience Builder, I see two ways you may be able to achieve this.
The Legend widget supports a "card style", which appears to be able to display graduated symbols horizontally.
Another approach I've used in some of my apps where my legend does not need to be dynamic (does not update based on what's in the map extent), is to take a screenshot of the legend the way I want it to display, save it as an image, and then add it to an Image widget on my app page, somewhere around or inside the map.
Thank you @AlixVezina.
I tried to use the card style and that helped me to show the bar horizontally, but I still do not see any option to increase the length of the range bar.
@SanjanaMali1 Unfortunately, I dont think that option is available other than in Pro or using custom code in the Maps SDK for JavaScript of Experience Builder developer edition. I'd recommend creating a new ArcGIS Idea within the community of the product where you'd like to implement this functionality.
Yes, I will be submitting a new ArcGIS Idea within the ArcGIS Experience Builder community.