Skip to main content
Glama

create-chart-using-chartjs

Generate customizable charts using Chart.js with options to retrieve image URLs or save directly to files. Specify dimensions, formats, and styles for precise visual data representation.

Instructions

Create a chart using QuickChart.io - get chart image URL or save chart image to file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhether to get chart URL or save chart as file
backgroundColorNoCanvas background color - rgb, hex, hsl, or color names (default: transparent)
chartYesChart.js configuration object
devicePixelRatioNoPixel ratio for Retina support (default: 2)
encodingNoChart configuration encoding method (default: url)
formatNoOutput format (default: png)
heightNoPixel height (default: 300)
keyNoAPI key (optional)
outputPathNoPath where to save the file (only used with action=save_file)
versionNoChart.js version - '2', '3', '4', or specific version (default: '2.9.4')
widthNoPixel width (default: 500)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TakanariShimbo/quickchart-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server