Skip to main content
Glama

MCP ECharts

generate_gauge_chart

Create visual gauge charts to represent metrics like CPU usage, progress, or performance scores. Customize charts with titles, themes, dimensions, and value ranges for clear data presentation.

Instructions

Generate a gauge chart to display single indicator's current status, such as, CPU usage rate, completion progress, or performance scores.

Input Schema

NameRequiredDescriptionDefault
dataYesData for gauge chart, such as, [{ name: 'CPU Usage', value: 75 }]. Multiple gauges can be displayed.
heightNoSet the height of the chart, default is 600px.
maxNoMaximum value of the gauge, default is 100.
minNoMinimum value of the gauge, default is 0.
themeNoSet the theme for the chart, optional, default is 'default'.default
titleNoSet the title of the chart.
widthNoSet the width of the chart, default is 800px.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "data": { "description": "Data for gauge chart, such as, [{ name: 'CPU Usage', value: 75 }]. Multiple gauges can be displayed.", "items": { "additionalProperties": false, "properties": { "name": { "description": "Indicator name, such as 'CPU Usage'.", "type": "string" }, "value": { "description": "Current value of the indicator, such as 75.", "type": "number" } }, "required": [ "name", "value" ], "type": "object" }, "minItems": 1, "type": "array" }, "height": { "default": 600, "description": "Set the height of the chart, default is 600px.", "exclusiveMinimum": 0, "type": "integer" }, "max": { "default": 100, "description": "Maximum value of the gauge, default is 100.", "type": "number" }, "min": { "default": 0, "description": "Minimum value of the gauge, default is 0.", "type": "number" }, "theme": { "default": "default", "description": "Set the theme for the chart, optional, default is 'default'.", "enum": [ "default", "dark" ], "type": "string" }, "title": { "description": "Set the title of the chart.", "type": "string" }, "width": { "default": 800, "description": "Set the width of the chart, default is 800px.", "exclusiveMinimum": 0, "type": "integer" } }, "required": [ "data" ], "type": "object" }

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/hustcc/mcp-echarts'

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