I used an example from xchart from Klaus to make a snapshot of a graph.
I used this code
B4X:
Sub savesnapshot
Dim rp As RuntimePermissions
rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If...