ApexCharts
v0.14.1Generates and validates configs for ApexCharts charts, grid, gantt, tree, sankey, stock and maps.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
apexcharts_list_products List ApexCharts products exposed by this server
Return every product (charts, gantt, tree, sankey, grid, stock, maps) currently exposed by this MCP server, with a "when to pick this" hint and the tool names it registers. Use this once at the start of a session to decide which product matches the user's task; then call that product's tools directly. Each product also reports `compatibility`: the bundled skill version and the upstream library version its guidance was verified against; use it to tell the user which library version this server targets. Results respect the APEXCHARTS_MCP_PRODUCTS env-var gating.
apexcharts_generate_config Generate ApexCharts config
Build a minimal valid ApexCharts options object for a given chart type. Picks the correct series data format (axis vs non-axis) and supplies placeholder data when none is given. Use this as the starting point for a chart. Since apexcharts 8.0 the Tier 2 types (waterfall, dumbbell, streamgraph, raincloud, violin, icicle, sunburst, unit, waffle) are outside the default bundle: the page also needs that type's add-on import next to 'apexcharts', or `import ApexCharts from 'apexcharts/full'`; apexcharts_list_types names the import per type.
| Parameter | Type | Description |
|---|---|---|
type * | string | ApexCharts chart.type value (e.g. "line", "bar", "pie"). |
categories | array | xaxis categories (axis charts) or labels (pie/donut/etc). |
height | integer | Chart height in px (default 350). |
horizontal | boolean | Render bars horizontally. Honored only for bar and dumbbell (column is vertical by definition). |
series | array | Optional series data in the format required by the chart type. |
stacked | boolean | Stack series. Honored only for bar, column, area and line chart types. |
title | string | Optional chart title. |
apexcharts_validate_config Validate ApexCharts config
Check an ApexCharts options object against the data-format rules and known pitfalls (wrong series shape for chart type, radialBar values outside the min/max domain, undefined data points, conflicting tooltip flags, hex colors missing #, theme.tokens / theme.designSystem that are not booleans, etc.). Returns structured issues so the caller can fix them. Returns ok: true when there are no errors (warnings still allowed).
| Parameter | Type | Description |
|---|---|---|
config * | object | The ApexCharts options object to validate. |
apexcharts_list_types List supported chart types
Return every ApexCharts chart type this server supports, with name, description, family (cartesian/bar/financial/circular/grid/radar/unit), series format (axis vs non-axis), expected data shape, the reference doc filename for deeper detail, and `bundle`: { tier: 1 } for a type the default bundle has, or for a Tier 2 type { tier: 2, import, scripts, since, failure, note? } naming the add-on it needs. Optionally filter by family.
| Parameter | Type | Description |
|---|---|---|
family | string | Optional family filter. Omit to return all supported types. |
apexcharts_get_reference Get ApexCharts reference doc
Read authoritative ApexCharts documentation from the bundled apexcharts-skill knowledge base. Call with no arguments to list all available files (SKILL.md plus per-family reference docs). Call with `file` to return that file as markdown. Use this when you need to look up an option, formatter signature, plotOptions detail, or a fully worked example for a specific chart family.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "circular-charts.md"). Omit to list available files. |
apexgantt_generate_config Generate ApexGantt config
Build a minimal valid ApexGantt options object. Generates a placeholder schedule (phases, dependencies, a milestone) when `tasks` is omitted, so the result can be rendered as-is. The placeholder dates are emitted in whatever `inputDateFormat` is chosen, so they parse without further work.
| Parameter | Type | Description |
|---|---|---|
baseline | Enable planned-vs-actual baseline track. Tasks must supply a per-task `baseline: { start, end }`. | |
enableCriticalPath | boolean | Highlight the longest dependency chain on render. |
enableSelection | boolean | Enable `getSelectedTasks()` / `setSelectedTasks()` / `selectionChange` event. |
height | integer | Chart height in px, emitted as the top-level `height` option (default 600 here; the library default is 500px). |
inputDateFormat | string | dayjs format for parsing date strings. Default is ApexGantt's own default "MM-DD-YYYY". Common alternatives: "YYYY-MM-DD", "DD/MM/YYYY". |
tasks | array | Task array (`series`). Each task: { id, name, startTime, endTime?, progress?, type?, parentId?, dependency? }. Give single-date markers `type: "milestone"` (3.19 and earlier throw on a missing endTime… |
apexgantt_validate_config Validate ApexGantt config
Check an ApexGantt options object against what the library does with it (missing id/name, numeric ids, tasks missing the dates the library requires, a missing endTime with no type (a milestone from 3.20.0, a throw before), a parent with only one date (a summary bar from 3.20.0, a throw before), an unknown task type, an incomplete `parsing` map, duplicate ids, orphan parentId, parentId cycles, progress out of 0 to 100, ISO dates with the default MM-DD-YYYY format, dependency object using `id` instead of `taskId`, unknown dependency target, self-dependency, invalid dependency type, `lagUnit` (no…
| Parameter | Type | Description |
|---|---|---|
config * | object | The ApexGantt options object to validate. |
apexgantt_get_reference Get ApexGantt reference doc
Read authoritative ApexGantt documentation from the bundled apexgantt-skill knowledge base. Call with no arguments to list all available files. Call with `file` to return that file as markdown. Use this to look up task data format, dependency types, zoom (`pixelsPerDay`), the update lifecycle, events and veto hooks, the editing API, or framework integration.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "data-format.md"). Omit to list available files. |
apextree_generate_config Generate ApexTree config
Build a minimal valid ApexTree config split into `options` (constructor) and `data` (the root NestedNode passed to `tree.render(data)`). Generates a small 3-level org chart placeholder when `data` is omitted. Every node in the output has `children: []` even for leaves (ApexTree requires it).
| Parameter | Type | Description |
|---|---|---|
childrenSpacing | number | Vertical spacing between a node and its children (px). |
contentKey | string | Key on each node used as the label. Default "name". Set to "data" to activate the built-in org-card template. |
data | object | Root NestedNode: `{ id, name, children: [...] }`. Recursive. Leaves must have `children: []`. |
direction | string | Where the root sits and which way the tree grows. Default "top". "radial" (apextree 2.0+) puts the root at the centre with one ring per depth. |
edgeStyle | string | |
enableSelection | Selection mode. Note: enableSelection: true is INVALID — use "single" or "multi". | |
enableToolbar | boolean | |
height | number | string | Canvas height. Default "auto". |
nodeHeight | number | |
nodeWidth | number | |
siblingSpacing | number | Horizontal spacing between siblings (px). |
theme | string | Built-in "light"/"dark"/"custom", or (apextree 2.1+) the name of a theme registered on the shared family registry. |
width | number | string | Canvas width. Default "100%". |
apextree_validate_config Validate ApexTree config
Check an ApexTree config against what the library does with it: root is a NestedNode, every node has an id and a label, children (when present) is an array, ids unique across the whole tree, valid direction/edgeStyle/edgeColorMode/theme values, enableSelection is "single"|"multi"|false (NOT boolean true), boolean tokens / designSystem, and a warning when contentKey is "data" but a node has no `data` payload. Accepts both the wrapped `{ options, data }` shape and a bare root node.
| Parameter | Type | Description |
|---|---|---|
config * | object | The ApexTree config to validate. |
apextree_get_reference Get ApexTree reference doc
Read authoritative ApexTree documentation from the bundled apextree-skill knowledge base. Call with no arguments to list available files; call with `file` to fetch markdown. Use this for the NestedNode data shape, grow directions, nodeTemplate, the graph API, or framework integration.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "data-format.md"). Omit to list available files. |
apexsankey_generate_config Generate ApexSankey config
Build a minimal valid ApexSankey config split into `options` (constructor) and `data` (render payload). Generates a 5-node placeholder flow when nodes/edges are omitted so the result renders something visible. Use the result by calling `new ApexSankey(el, options)` then `sankey.render(data)`.
| Parameter | Type | Description |
|---|---|---|
animation | boolean | Enable entrance animation. Default true. |
edges | array | Array of edge objects: `{ source, target, value, type }`. source/target reference node ids; value > 0. |
height | number | string | Canvas height (px number or "auto"). Default "auto" ≈ 1.6:1 from width. |
nodeWidth | number | Node rectangle width (px). Default 20. |
nodes | array | Array of node objects: `{ id, title, color? }`. ids must be unique. |
spacing | number | Horizontal gap between node columns (px). Default 20. |
tooltipTheme | string | Tooltip preset. |
width | number | string | Canvas width (px number or any CSS width). Default "100%". |
apexsankey_validate_config Validate ApexSankey config
Check an ApexSankey config against what the library does with it (unique node ids, edges reference real nodes, no negative values, no self-loops, no parallel edges that collapse into one, nodes without edges, options.tokens / options.designSystem that are not booleans). Cycles are allowed: they render as dashed loops. Accepts the wrapped `{ options, data }` shape from generate_config, the raw render payload `{ nodes, edges }`, or an ApexSankey.compare `{ before, after }` config.
| Parameter | Type | Description |
|---|---|---|
config * | object | The ApexSankey config object to validate. |
apexsankey_get_reference Get ApexSankey reference doc
Read authoritative ApexSankey documentation from the bundled apexsankey-skill knowledge base. Call with no arguments to list available files; call with `file` to fetch markdown. Use this for the { nodes, edges, options } data shape, layer ordering, styling, or framework integration.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "data-format.md"). Omit to list available files. |
apexgrid_generate_config Generate apex-grid config
Build a minimal valid `<apex-grid>` config: `{ columns, data }`. When both are omitted, a small users table is generated. When only `columns` is omitted, they are inferred from the keys of the first data row with `type` inferred per column. Pass `enableSortAndFilter: true` to opt every generated column in.
| Parameter | Type | Description |
|---|---|---|
columns | array | Array of ColumnConfiguration. Each column needs `{ key, type? }` where key is a real key of each data row. |
data | array | Array of row objects. Keys referenced by `column.key` must exist on each row. |
enableSortAndFilter | boolean | Convenience: add `sort: true` and `filter: true` to every generated column. |
resizable | boolean | Convenience: add `resizable: true` to every generated column. |
apexgrid_validate_config Validate apex-grid config
Check an apex-grid `{ columns, data }` config against apexgrid-skill rules: columns/data required and array-shaped, every column.key must be a real key of the data rows, column.key unique, type is one of apex-grid's column types (string, number, boolean, date, currency, select and the other presentation types), sort/filter is boolean or config object, designSystem / tokens properties (if passed) are booleans. Returns structured issues with stable rule ids.
| Parameter | Type | Description |
|---|---|---|
config * | object | The apex-grid config `{ columns, data }` to validate. |
apexgrid_get_reference Get apex-grid reference doc
Read authoritative apex-grid documentation from the bundled apexgrid-skill knowledge base. Call with no arguments to list available files; call with `file` to fetch markdown. Use this for ColumnConfiguration, Lit cellTemplate, sort/filter, data pipeline, or framework integration.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "columns-and-templates.md"). Omit to list available files. |
apexstock_generate_config Generate ApexStock config
Build a minimal valid ApexStock options object for a financial / stock chart. Generates a placeholder OHLCV candle series when `data` is omitted, so the result renders as-is. Note: ApexStock does not bundle ApexCharts. The host provides the constructor per instance (`new ApexStock(el, options, { ApexCharts })`), once app-wide (`ApexStock.setApexCharts(ApexCharts)`), or as the `window.ApexCharts` global. That is a host-page concern, not part of this options object.
| Parameter | Type | Description |
|---|---|---|
data | array | OHLC candles for series[0].data. Each point: { x, y: [open, high, low, close], v? }. Omit for a placeholder series. |
height | integer | Chart height in px (default 600). |
indicators | Indicators to enable: a list of keys (e.g. ["moving average", "rsi"]) or a keyed config map (e.g. { "bollinger bands": { period: 20, stdDev: 2 } }). Overlays and oscillators both stack; each oscillato… | |
name | string | Series name (default "Price"). |
theme | string | Theme mode. Omit to leave theme out of the config: the library default (light) applies and an Ignite UI add-on can pick its own light or dark variant. |
title | string | Optional chart title. |
apexstock_validate_config Validate ApexStock config
Check an ApexStock options object against the rules in apexstock-skill (missing series/data, flat o/h/l/c keys instead of a y:[o,h,l,c] array, malformed or inconsistent OHLC tuples, missing/invalid x, non-ascending data, invalid theme.mode, theme.tokens / theme.designSystem that are not booleans, and unknown indicator keys). Returns structured issues with stable rule ids.
| Parameter | Type | Description |
|---|---|---|
config * | object | The ApexStock options object to validate. |
apexstock_get_reference Get ApexStock reference doc
Read authoritative ApexStock documentation from the bundled apexstock-skill knowledge base. Call with no arguments to list all available files. Call with `file` to return that file as markdown. Use this to look up the OHLC data format, indicators, streaming/appendData, trading overlays, theming, or framework integration.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "indicators.md"). Omit to list available files. |
apexmaps_generate_config Generate ApexMaps config
Build a minimal valid ApexMaps options object for a geographic visualization. Supports the seven series types: choropleth (default), bubble, marker, arc, line, hexbin, pixel. Geometry comes from the built-in registry (e.g. "world/countries", "us", "eu/nuts2"), so no GeoJSON is needed. Generates a small placeholder dataset when data is omitted. Use the result with `new ApexMaps(el, options)` then `await map.render()`.
| Parameter | Type | Description |
|---|---|---|
data | array | Data array in the datum shape of `type`: choropleth and pixel rows `{ <key>, value }`, bubble/marker `{ lon, lat, ... }`, arc `{ from, to }`, line `{ path: [[lon,lat],...] }`, hexbin `{ lon, lat, valu… |
joinBy | Join spec: "field", ["geoField", "dataField"], or { geo, data }. Omit to use key auto-detection (the placeholder emits ["iso_a3", "code"]). | |
map | string | Geometry registry pack id or alias: "world/countries", "us", "us/counties", "eu/nuts2", "jp/prefectures", ... Default "world/countries". |
palette | string | Palette name for the value scale (e.g. "blues", "viridis", "okabeIto"). |
projection | Projection name or spec object. Omit to use the pack default (recommended: packs like "us" already pick albersUsa). | |
seriesName | string | Series display name (legend / tooltip). |
themeMode | string | Theme mode. Omit to leave theme out of the config, so the library default applies and an Ignite UI add-on can pick its own light or dark variant. |
type | string | Series type. Default "choropleth". "hexbin" bins points into a hex lattice (density); it takes points, never region-keyed rows. "pixel" is a choropleth drawn as a lattice of dots: the same region-keye… |
apexmaps_validate_config Validate ApexMaps config
Check an ApexMaps options object against what the library does with it: geo.map present and a built-in map id (or a URL / inline geometry), hex layouts only where one exists, a frameable geo.view.fit, geo.tiles with a url on a webMercator projection, known series types, arc from/to endpoints, line paths, bubble/marker coordinates or something to join on, hexbin point positions and aggregates (a hexbin has no joinBy), pixel shape / grid / lattice / spacing, [lon, lat] ordering, joinBy shape, null (not undefined) for missing values, known scale / projection / palette names, and boolean theme.tok…
| Parameter | Type | Description |
|---|---|---|
config * | object | The ApexMaps options object to validate. |
apexmaps_get_reference Get ApexMaps reference doc
Read authoritative ApexMaps documentation from the bundled apexmaps-skill knowledge base. Call with no arguments to list available files; call with `file` to fetch markdown. Use this for series datum shapes, joins, the geometry registry, projections, scales, drilldown, theming, or framework integration.
| Parameter | Type | Description |
|---|---|---|
file | string | Filename to read (e.g. "SKILL.md", "data-format.md"). Omit to list available files. |