About MCP Server Chart
No description yet
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
27Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | array | Yes | Data for area chart, it should be an array of objects, each object contains a `time` field and a `value` field, such as, [{ time: '2015', value: 23 }, { time: '2016', value: 32 }], when stacking is needed for area, the data should contain a `group` field, such as, [{ time: '2015', value: 23, group: 'A' }, { time: '2015', value: 32, group: 'B' }]. |
| stack | boolean | No | Whether stacking is enabled. When enabled, area charts require a 'group' field in the data. |
| style | object | No | Style configuration for the chart with a JSON object, optional. |
| style.backgroundColor | string | No | Background color of the chart, such as, '#fff'. |
| style.palette | array | No | Color palette for the chart, it is a collection of colors. |
| style.texture | enum | No | Set the texture for the chart, optional, default is 'default'. 'rough' refers to hand-drawn style.default | rough |
| style.lineWidth | number | No | Line width for the lines of chart, such as 4. |
| theme | enum | No | Set the theme for the chart, optional, default is 'default'.default | academy | dark |
| width | number | No | Set the width of chart, default is 600. |
| height | number | No | Set the height of chart, default is 400. |
| title | string | No | Set the title of chart. |
| axisXTitle | string | No | Set the x-axis title of chart. |
| axisYTitle | string | No | Set the y-axis title of chart. |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
Markdown supported
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.