Closed dev8546 closed 3 years ago
Thanks for fixing this, it's merged in.
Still experiencing the same issue though, with the newest NuGet version on iOS (Xamarin.Forms). The labels and values on the right and left are clipping of the canvas. Any way to fix this?
What we have found that when we send the Label name and value both. Maximum label length calculation does not take the length of the Label VALUE into the consideration. To explain better i am attaching the screenshots
as it can be seen amount below the Swiggy label is cutting the currency symbol. (Revenue by Source)
After i have applied the fix now you can see the same chart is also taking into account the Value content length
FIX In the file CanvasExtensions.cs in DrawCaptionLabels method
We missed to to get valueBounds.Standardized Fixed code will be
if (totalBounds.IsEmpty){ totalBounds = valueBounds.Standardized; } else { totalBounds.Union(valueBounds.Standardized); }