create-chart-using-apexcharts
Generate and visualize charts by configuring Apex Charts JSON. Choose to retrieve a chart image URL or save it directly to a file, with customizable dimensions and version control.
Instructions
Create charts using Apex 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 | |
apexChartsVersion | No | Apex Charts version to use | |
config | Yes | Apex Charts JSON configuration | |
height | No | Image height in pixels | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
width | No | Image width in pixels |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Whether to get chart URL or save as file",
"enum": [
"get_url",
"save_file"
],
"type": "string"
},
"apexChartsVersion": {
"description": "Apex Charts version to use",
"type": "string"
},
"config": {
"description": "Apex Charts JSON configuration",
"type": "object"
},
"height": {
"description": "Image height in pixels",
"type": "integer"
},
"outputPath": {
"description": "Path where to save the file (only used with action=save_file)",
"type": "string"
},
"width": {
"description": "Image width in pixels",
"type": "integer"
}
},
"required": [
"action",
"config"
],
"type": "object"
}