create-chart-using-googlecharts
Generate or save charts using Google Charts by providing JavaScript code. Specify dimensions, packages, and options to create customized charts for visualization needs.
Instructions
Create charts using Google Charts - get chart image URL or save chart image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get chart URL or save as file | |
code | Yes | JavaScript drawChart function code | |
height | No | Chart height in pixels | |
mapsApiKey | No | Google Maps API key (for geo charts) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
packages | No | Google Charts packages to load (default: 'corechart') | |
width | No | Chart width in pixels |