Exporting NativeScript UI Chart data

60 Views Asked by At

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

There are 1 best solutions below

1
On

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