311/5000
Hi, I’m Felipe, and I created an application for my course completion work. I am using WebViewer to generate a graph in real time and when the measurement is finished I take a screenshot of the screen and save it in firebase. However, when taking the print, the graph (chart.js) does not appear. Can someone help me?
This might be a bug of screenshot component.
Sometimes it does not capture all things present in the screen.
You can use alternative to screenshot that is component to image extension.
Extension ComponentToImage
[image]
1.About
Using this extension you can convert any view/component to image and save it to storage.
The image will be created as per the components same width and height.
You can convert Layout, Buttons, Labels ..etc
Any change on the component, eg: Round corners will also reflect in image
Note: The component should be visible
I created it as per the request and idea from @Angelo_Angius
[image]
First one is the label and the second one is the converted image…
Set all your content in a vertical arrangement and convert this arrangement to image and upload it.
1 Like
Thanks for the suggestion, however the graphic generated in the htm file in the web viewer also does not appear when converting the component into an image.
vknow360
(Sunny Gupta)
June 5, 2020, 12:58pm
4
Maybe this can be helpful:
1.Introduction
Latest Version : 11
Released: 2020-05-12T18:30:00Z (UTC)
Last Updated:2021-07-12T18:30:00Z (UTC)
Required Api : 21
Permissions: android.permission.WRITE_EXTERNAL_STORAGE,android.permission.ACCESS_DOWNLOAD_MANAGER,android.permission.ACCESS_FINE_LOCATION,android.permission.RECORD_AUDIO, android.permission.MODIFY_AUDIO_SETTINGS, android.permission.CAMERA,android.permission.VIBRATE,android.webkit.resource.VIDEO_CAPTURE,android.webkit.resource.AUDIO_CAPTURE,android.launcher.permiss…
1 Like
Very cool, I’ll take a look
Very cool, I’ll take a look
Hello Felipe,
Have you found a solution to your problem? I encounter the same case …
Thank you
Ced