Is there any way to resize the legend fit to the longest legend item in v12?
As there is a topic for v10: Resize legend to fit the longest legend item
I also use this code which didn’t work:
var textGeoCanvas = new SkiaGeoCanvas();
var legendWidth = textGeoCanvas.MeasureText(legendItem.TextStyle.TextColumnName, legendItem.TextStyle.Font).Width;