3 Answers, 1 is accepted
The chart itself does not expose such functionality. You can find the task of saving a view as image discussed in the first reply in this Stack Overflow thread.
Best regards,
Ves
Telerik
Thanks Ves,
I'm new to Telerik and I would like to know if there are some updates or different ways to obtain the same goal (since you replied to this post in 2015).
In addition, is the "chart-to-image" exporting feature planned in future release of Telerik for Xamarin Forms?
Hello Davide,
Go to my Custom Xamarin Demos repository on GitHub. Scroll down until you see my Render Image example.
In the Render Image Example's README, you will find instructions on how to get a PNG or JPG (with PDF support) from a Xamarin.Forms UI element by calling a simple method:
await DependencyService.Get<IRenderService>().RenderAsync(RenderEncodingOptions.Jpeg);
This gives you a byte array that you can do whatever you want with (i.e. save to a file, send to an API, anything).
Feature Request
As far as knowing when such a feature is officially added, you can click the Follow button in the Feature Request that you already commented on. At this time the Feature Request is marked as Unplanned. You'll be notified if/when the item 's status changes.
For transparency, I will reply to that Feature request with the same information I provided about so that developers can see who to do this themselves without needing to wait for a feature to be implemented.
Regards,
Lance | Manager - Technical Support
Progress Telerik