This Torq workflow template allows users to quickly generate graphs from simple JSON data. By inputting JSON data, selecting graph type and dimensions, the workflow outputs a base64 encoded PNG image of the specified graph, whether it's a line, bar, or pie chart. Easy to integrate and ideal for visual data representation needs in various applications.
Use Cases
Function
Workflow Breakdown
Send JSON data, either an array or list of objects to the workflow
If a line graph select a color, and if an array use the x and y labels as the keys in the data to plot.
Choose the size of the plot
On return of the workflow, a base64 encoded PNG image with be provided.
Vendors
Scripting
Workflow Output
PNG base64 encoded graph of the data that was passed to the workflow.