Exporting NativeScript UI Chart data

I am trying to extract/export a UI Chart as image data (jpg). Ultimately I want to get the image data directly:

image: 'data:image/jpeg;base64,...encodedContent...'

Is it possible or can it be combined with another NativeScript plugin?

1 answer

  • answered 2018-11-08 07:27 Manoj

    Try the nativescript-screenshot plugin, it returns a image source which you may write it to a file / convert to base64 string.