ApexCharts

v0.14.1
com.apexcharts/mcp Checked 14 hours ago Published 18 days ago

Generates 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.

ParameterTypeDescription
type *stringApexCharts chart.type value (e.g. "line", "bar", "pie").
categoriesarrayxaxis categories (axis charts) or labels (pie/donut/etc).
heightintegerChart height in px (default 350).
horizontalbooleanRender bars horizontally. Honored only for bar and dumbbell (column is vertical by definition).
seriesarrayOptional series data in the format required by the chart type.
stackedbooleanStack series. Honored only for bar, column, area and line chart types.
titlestringOptional 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).

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
familystringOptional 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.

ParameterTypeDescription
filestringFilename 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.

ParameterTypeDescription
baselineEnable planned-vs-actual baseline track. Tasks must supply a per-task `baseline: { start, end }`.
enableCriticalPathbooleanHighlight the longest dependency chain on render.
enableSelectionbooleanEnable `getSelectedTasks()` / `setSelectedTasks()` / `selectionChange` event.
heightintegerChart height in px, emitted as the top-level `height` option (default 600 here; the library default is 500px).
inputDateFormatstringdayjs format for parsing date strings. Default is ApexGantt's own default "MM-DD-YYYY". Common alternatives: "YYYY-MM-DD", "DD/MM/YYYY".
tasksarrayTask 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…

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
filestringFilename 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).

ParameterTypeDescription
childrenSpacingnumberVertical spacing between a node and its children (px).
contentKeystringKey on each node used as the label. Default "name". Set to "data" to activate the built-in org-card template.
dataobjectRoot NestedNode: `{ id, name, children: [...] }`. Recursive. Leaves must have `children: []`.
directionstringWhere 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.
edgeStylestring
enableSelectionSelection mode. Note: enableSelection: true is INVALID — use "single" or "multi".
enableToolbarboolean
heightnumber | stringCanvas height. Default "auto".
nodeHeightnumber
nodeWidthnumber
siblingSpacingnumberHorizontal spacing between siblings (px).
themestringBuilt-in "light"/"dark"/"custom", or (apextree 2.1+) the name of a theme registered on the shared family registry.
widthnumber | stringCanvas 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.

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
filestringFilename 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)`.

ParameterTypeDescription
animationbooleanEnable entrance animation. Default true.
edgesarrayArray of edge objects: `{ source, target, value, type }`. source/target reference node ids; value > 0.
heightnumber | stringCanvas height (px number or "auto"). Default "auto" ≈ 1.6:1 from width.
nodeWidthnumberNode rectangle width (px). Default 20.
nodesarrayArray of node objects: `{ id, title, color? }`. ids must be unique.
spacingnumberHorizontal gap between node columns (px). Default 20.
tooltipThemestringTooltip preset.
widthnumber | stringCanvas 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.

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
filestringFilename 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.

ParameterTypeDescription
columnsarrayArray of ColumnConfiguration. Each column needs `{ key, type? }` where key is a real key of each data row.
dataarrayArray of row objects. Keys referenced by `column.key` must exist on each row.
enableSortAndFilterbooleanConvenience: add `sort: true` and `filter: true` to every generated column.
resizablebooleanConvenience: 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.

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
filestringFilename 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.

ParameterTypeDescription
dataarrayOHLC candles for series[0].data. Each point: { x, y: [open, high, low, close], v? }. Omit for a placeholder series.
heightintegerChart height in px (default 600).
indicatorsIndicators 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…
namestringSeries name (default "Price").
themestringTheme 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.
titlestringOptional 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.

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
filestringFilename 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()`.

ParameterTypeDescription
dataarrayData 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…
joinByJoin spec: "field", ["geoField", "dataField"], or { geo, data }. Omit to use key auto-detection (the placeholder emits ["iso_a3", "code"]).
mapstringGeometry registry pack id or alias: "world/countries", "us", "us/counties", "eu/nuts2", "jp/prefectures", ... Default "world/countries".
palettestringPalette name for the value scale (e.g. "blues", "viridis", "okabeIto").
projectionProjection name or spec object. Omit to use the pack default (recommended: packs like "us" already pick albersUsa).
seriesNamestringSeries display name (legend / tooltip).
themeModestringTheme 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.
typestringSeries 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…

ParameterTypeDescription
config *objectThe 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.

ParameterTypeDescription
filestringFilename to read (e.g. "SKILL.md", "data-format.md"). Omit to list available files.