/kx-dashboards-knowledge:kx-radarfrom kx-dashboards-knowledge
Generates KX Dashboards radar/polar-area charts from natural language queries, with controlled config JSON output for radial comparison visuals.
Ships in kx-dashboards-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Also read kx-dashboard-core for: envelope, screen/widget wrapper, data sources, ViewState, binding patterns, actions, notifications, deployment, and the pre-flight checklist.
This skill uses progressive disclosure: the workflow, hazards, and output rules are here; the bulky JSON schema, config tables, mapping rules, and examples live in reference/. Read only the reference file relevant to your current step.
| File | Read it when you need… |
|---|---|
| reference/generate-config.md | generate.js componentType: "radar" config keys — quick start, the full config-key table, and the layers[] object shape. |
| reference/component-schema.md | The raw component JSON — full options envelope (Basics, DataSet, Legend, ticks, Tooltip, ColorPallette, FileExport), plus the flip-select wide-table pattern. |
| reference/mapping.md | The NL → JSON mapping table, named-colour → hex list, and the valid easing values. |
| reference/examples.md | Six worked NLQ → radar config few-shot examples to copy from. |
| reference/nlx-tests.md | Maintainer NLX regression queries to retest on every MR that changes this skill. |
DataSet.Radar is the axis/label column (string or symbol), not a data series.DataSet.Layers[n].Data is a separate numeric series drawn on top.AngleLineOpacity is hidden in the Properties UI when ChartType = "polarArea" but must still be present in the JSON — omitting it breaks upgrades.ticks colours. RadarColor, RadarColorAngle, and Legend.LabelColor default to "#ffffff" which works on both themes — do not change them for dark theme.UseColor: true on a layer enables colour-palette mode (per data point), overriding the solid Color fill. Set it on all layers when colour palette is requested.possibleColumns and possibleLabels must match the QUERY OUTPUT columns, not the raw table columns.select Depart:sum Depart by State from USAirports outputs ["State","Depart"] — use those, not all USAirports columns. When the query is derived at generation time, inspect the SELECT clause to determine the output columns. Failure to do this leaves DataSet.Radar = "" and the chart does not render.DataSet.Radar must always be a non-empty string. If the prompt does not name the axis column explicitly, infer it: the first string/symbol column in the query output is the axis. Every remaining numeric column becomes a layer. An empty DataSet.Radar silently prevents the chart from drawing — no error is shown.Format: "General" ignores Precision — use "Number" or "Formatted Number" to enforce decimal places.DataSet.Radar and every layer Data must be actual query-output column names — inspect the SELECT clause, not the raw table (see Hazards 5–6). For wide numeric tables, use the flip-select Property/Value pattern in reference/component-schema.md.radarColumn → DataSet.Radar); every remaining numeric column becomes a layer.reference/mapping.md.componentType: "radar" and the config keys / layers[] shape in reference/generate-config.md, or hand-build the component JSON from reference/component-schema.md.reference/examples.md when a pattern fits.Before returning any Radar JSON, verify:
key is "Radar" and definitionId is "1008"options.version is "v2.12.0.1"Basics.ChartType is "radar" or "polarArea" onlyDataSet.Radar is a non-empty string matching the axis columnDataSet.Layers has at least one item; every item has all 8 fieldsLayers[n].PointStyle is one of the 11 enum values (including "")Layers[n].PointRadius is 1–10; Layers[n].ColorOpacity is 1–100DataSet.AngleLineOpacity is present even for polarAreaLegend.Position is "top", "bottom", "left", or "right"Animations.Easing is one of the 30 valid easing valuesticks.Format is one of the 5 allowed format stringsticks.Precision is 0–10; ignored unless Format is "Number" or "Formatted Number"FileExport.ScreenshotButton is "Export Png", "Copy to Clipboard", or "Export Png & Copy to Clipboard"ColorPallette.chartBarColors has 10 { "type": "#rrggbb" } entriespossibleColumns and possibleLabels list all actual column names from the queryTooltip.advancedTooltip uses the standard Handlebars template (unmodified unless asked)id = hash = filename stem (enforced by generateDashboard / makeRadarWidget)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kxsystems/kx-skills --plugin kx-dashboards-knowledge32 skills in this plugin
/kx-accordionUse this when the user wants collapsible or expandable sections in a KX Dashboards layout. Use it for section-based content organization; use kx-tabs for tabbed switching and kx-flex-panel for non-collapsible flexible layout containers./kx-actionsUse this alongside a component skill when adding KX Dashboards interactions such as clicks, hovers, row selection, navigation, or data-source re-execution. It defines how actions are attached and triggered, not the base component itself./kx-basiccomponents-containersUse this for KX Dashboards layout containers and navigation primitives such as panels, navigation menus, and overlay drawers. Use it for structural layout needs; use kx-tabs for tabbed switching, kx-accordion for collapsible sections, and kx-flex-panel for fixed-plus-flex layouts.Other plugins' skills for the same job