Does anyone know if there is code that can be used to check / uncheck the legend option "Only show features visible in the map extent"?
I seem to spend hours sorting through my layouts turning this on.
Solved! Go to Solution.
Does this work for you?
showVisibleFeatures : A Boolean that controls whether the legend item displays all values or only those values that appear in the visible extent.
Please check the sample code in LegendItem
Does this work for you?
showVisibleFeatures : A Boolean that controls whether the legend item displays all values or only those values that appear in the visible extent.
Please check the sample code in LegendItem
Perfect - thank you!
Hi,
I try the property showVisibleFeatures and dont work. I try other property's and work fine, but showVisibleFeatures fail. Anyone with same problem? A bug ???