Is there API for 'Refresh values' command of proportional renderer?
I'm interested in such API since this command automatically updates histogram, corrects symbol sizes and redraws symbols. If I can achieve this behavior with the current API please let me know.
Hello Max, you can use featureLayer.RecalculateRenderer() for this.
https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11593.html
Hello Christopher,
I already tried this method but it throws exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
Max,
Unfortunately, it looks like ProportionalRenderer Recalculate is not currently supported in the public API. We will add recalc support in 2.5. I will update the API reference for 2.4. Thanks for bringing this to our attention.