How to export the chart created using scriptable as an image

I want to use the widget created by scriptable as an image in shortcuts. In short, how can I export the chart as an image? I have tried using pasteboard API to no avail. Kindly help.

First of all, there is no inbuilt functionality to render a widget as an image or get a screenshot of the widget.

You are writing about a chart. What chart? Do you mean the whole widget? Do you mean a chart that is displayed in a widget?
If it’s the latter then you probably already have the chart as an image and you can export that to Shortcuts, otherwise you’re out of luck.

1 Like

I want to export the chart that is displayed in the widget in shortcuts. How can I do that ?

What chart? Which script are you running to display that? Currently we cannot help you, because we don’t know anything.

1 Like