Hi,
I am displaying a mp with piechart items (MapPie items) and I wonder what is the best way to force an update the color of the piesegments when the colorizer of the associated layer is changed. I have attached an example, when you click the button the colorizer is switched but the piesegments' colors are not updated - unless you uncomment the line in the code so that the pieitems are recreated. Is there some method I can call to invalidate the piesegment fills so they are colorized again?
Thanks
Hi Dave,
Special thanks for posting your sample project. We have reproduced this issue locally and will continue working on a permanent solution. As an immediate workaround, set the VectorItemsLayer.Data property to Null(Nothing) and re-assign the Data storage to force refreshing the map.