Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Saving a XamDataChart as an image
posted

Is there an easy way to save a XamDataChart as an image from within the control? I really just mean getting data bytes for what is rendered on the underlying canvas for the control as a bitmap or jpeg or png, not necessarily interacting with files in Xamarin.

I see that there used to be a .SaveTo function in version 17 (https://www.infragistics.com/help/xamarin/17.0/datachart-saving-a-chart-to-an-image) but it no longer exists in the latest version 19.1.

Parents
No Data
Reply
  • 28945
    Offline posted

    Hello Adam, 

    The Xamarin XamDataChart never had a SaveTo method. I'm afraid the doc page you see was a mistake from a translation made when porting our Windows Forms documentation. The DataChart shares it's documentation across multiple platforms. 

    However, I did some looking and you may want to review this forum and use something built into the framework. 

    You can suggest new product ideas for future versions (or vote for existing ones) at <https://www.infragistics.com/community/ideas>.

    Let me know if you have any questions.

    Michael DiFilippo
    Software Developer
    Infragistics, Inc.

Children
No Data