create-chart-using-chartjs
Generate charts in various formats like PNG, SVG, or PDF using Chart.js configurations. Choose to get a chart URL or save the image file directly for integration or sharing.
Instructions
Create a chart using QuickChart.io - 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 chart as file | |
backgroundColor | No | Canvas background color - rgb, hex, hsl, or color names (default: transparent) | |
chart | Yes | Chart.js configuration object | |
devicePixelRatio | No | Pixel ratio for Retina support (default: 2) | |
encoding | No | Chart configuration encoding method (default: url) | |
format | No | Output format (default: png) | |
height | No | Pixel height (default: 300) | |
key | No | API key (optional) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
version | No | Chart.js version - '2', '3', '4', or specific version (default: '2.9.4') | |
width | No | Pixel width (default: 500) |