mcp-server-chart

Official

generate_line_chart

Create line charts to visualize trends over time, such as sales vs. profits, with customizable titles and axis labels for clear data representation.

Instructions

Generate a line chart to show trends over time, such as the ratio of Apple computer sales to Apple's profits changed from 2000 to 2016.

Input Schema

NameRequiredDescriptionDefault
axisXTitleNoSet the x-axis title of chart.
axisYTitleNoSet the y-axis title of chart.
dataYesData for line chart, such as, [{time: string, value: string}].
titleNoSet the chart title.

Input Schema (JSON Schema)

{ "properties": { "axisXTitle": { "description": "Set the x-axis title of chart.", "type": "string" }, "axisYTitle": { "description": "Set the y-axis title of chart.", "type": "string" }, "data": { "description": "Data for line chart, such as, [{time: string, value: string}].", "items": { "properties": { "time": { "type": "string" }, "value": { "type": "number" } }, "type": "objec" }, "type": "array" }, "title": { "description": "Set the chart title.", "type": "string" } }, "required": [ "data" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-server-chart

Related Tools

ID: 5tk8m92plo