Skip to main content
Glama

MCP Server Chart

Official
dual-axes.json3.52 kB
{ "name": "generate_dual_axes_chart", "description": "Generate a dual axes chart which is a combination chart that integrates two different chart types, typically combining a bar chart with a line chart to display both the trend and comparison of data, such as, the trend of sales and profit over time.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "theme": { "default": "default", "description": "Set the theme for the chart, optional, default is 'default'.", "enum": ["default", "academy", "dark"], "type": "string" }, "style": { "description": "Custom style configuration for the chart.", "properties": { "backgroundColor": { "description": "Background color of the chart, such as, '#fff'.", "type": "string" }, "palette": { "description": "Color palette for the chart, it is a collection of colors.", "items": { "type": "string" }, "type": "array" }, "texture": { "default": "default", "description": "Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style.", "enum": ["default", "rough"], "type": "string" } }, "type": "object" }, "width": { "type": "number", "description": "Set the width of chart, default is 600.", "default": 600 }, "height": { "type": "number", "description": "Set the height of chart, default is 400.", "default": 400 }, "title": { "type": "string", "default": "", "description": "Set the title of chart." }, "axisXTitle": { "type": "string", "default": "", "description": "Set the x-axis title of chart." }, "categories": { "type": "array", "minItems": 1, "items": { "type": "string" }, "description": "Categories for dual axes chart, such as, ['2015', '2016', '2017']." }, "series": { "type": "array", "minItems": 1, "items": { "type": "object", "properties": { "type": { "type": "string", "description": "The optional value can be 'column' or 'line'.", "enum": ["column", "line"] }, "data": { "type": "array", "items": { "type": "number" }, "description": "When type is column, the data represents quantities, such as [91.9, 99.1, 101.6, 114.4, 121]. When type is line, the data represents ratios and its values are recommended to be less than 1, such as [0.055, 0.06, 0.062, 0.07, 0.075]." }, "axisYTitle": { "type": "string", "default": "", "description": "Set the y-axis title of the chart series, such as, axisYTitle: '销售额'." } }, "required": ["type", "data"] }, "description": "Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121], axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }]." } }, "required": ["categories", "series"] } }

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/antvis/mcp-server-chart'

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