create-sparkline-using-chartjs
Generate sparkline charts using Chart.js configuration. Obtain a direct URL or save the chart as an image file for integration into reports, dashboards, or visual analytics.
Instructions
Create sparkline charts using Chart.js - get sparkline image URL or save sparkline image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get sparkline URL or save as file | |
backgroundColor | No | Background color (default: transparent) | |
chart | Yes | Chart.js configuration for sparkline | |
devicePixelRatio | No | Device pixel ratio (default: 2) | |
height | No | Chart height in pixels (default: 30) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
width | No | Chart width in pixels (default: 100) |