microcharts-dotnet / Microcharts

Create cross-platform (Xamarin, Windows, ...) simple charts.
MIT License
2.02k stars 361 forks source link

[Question] Label and graph fails to display correctly #235

Closed Louis-Lesage closed 3 years ago

Louis-Lesage commented 3 years ago

When I try to generate a graph and save it as a jpg, sometimes the labels are grayed out (see picture) Do you guys have any idea why it is happening. I can't seems to figure why. It seems random. I know its kind of far fetched but im kinda lost here.

Thanks for your help image

The donut graph also kinda break when it happen in it image

Thanks for the help!

Louis-Lesage commented 3 years ago

I found the problem. The assignation of the Entries is async and I didnt specified the AnimationProgress explicitly and it caused some kind of bug while drawing. Not so easy to find, but thanks anyway.