/kx-dashboards-knowledge:kx-chartglfrom kx-dashboards-knowledge
Generates KX Dashboards ChartGL charts (line, bar, bubble, waterfall, candlestick, multi-axis, streaming) with WebGL acceleration. Supports multi-series layering, zoom/pan, crosshair, and kdb+/SQL/PyKX query binding.
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, and the pre-flight checklist.
Use this skill for chart layers and chart-based visualisations. Use kx-heatmap for standalone heatmap components rather than a ChartGL layer.
key: "ChartGL" · definitionId: "669" · version: "v2.18.0"
ChartGL is a WebGL-accelerated chart supporting 8 series types: Line, Bar, Bubble, Waterfall, Candlestick, Bounds, Baseline, Heatmap. Supports multi-series layering, multiple X/Y axes, zoom/pan, crosshair overlay, custom tooltips, override rules, per-layer highlight rules, ViewState-driven filtering, and kdb+/SQL/PyKX query binding.
This skill uses progressive disclosure: the workflow, hazards, and pre-flight checklist are here; the bulky JSON schema, config tables, 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 | The generate.js componentType: "chartgl" config envelope and the full Series fields table. |
| reference/component-schema.md | The raw component JSON — options envelope, Basics, axes, all 8 layer types, override/highlight rules, overlay, file export, annotations. |
| reference/examples.md | Five worked generate.js config examples (Category/Time axes, dual axes, streaming, dropdown, candlestick, grouped ViewState). |
| reference/learnings.md | Known limitations and the L1–L18 learnings captured from live testing. |
| reference/workflow-details.md | The original detailed input checklist — series/axis-type enums, per-series fields — plus the generate & verify steps. |
id = hash = filename stem. Generate once; use for all three. Never let them drift.Bubbles block with Color + RadiusScaling > 0 on Layer 0. The presence of such a block causes KX to render the layer as Bubble type regardless of _Type. See the two legitimate Bubbles-on-Line patterns in reference/component-schema.md (§ "Bubbles on Line layers — two legitimate patterns").by queries return lists per cell, not scalars. select bid, ask by sym from T returns a list per sym — ChartGL cannot plot lists. Always use an explicit aggregate: select last bid, last ask by sym from T.possibleXColumns, possibleYColumns, and all possible* arrays must list actual column names from the query — the settings panel is built from these arrays.Trade Filters/sym ≠ trade filters/sym. Separator is /._connection must match the connection file name field exactly._autoExecute and _autoExec in every data source for maximum compatibility.Range.UseMinMax controls the scale range. When false, KX auto-scales — if series have very different magnitudes (e.g. FX pairs + JPY on one axis), use a second Y-axis or set UseMinMax: true with explicit Min/Max.FilterUnique: true is required on Category X-axes to deduplicate labels."Logarithmic", not "Log". Using "Log" silently falls back to "Linear".Basics.Zoom and Basics.RangeSelection are mutually exclusive. Always set both explicitly: "Zoom": true, "RangeSelection": false or vice versa.CandlestickFormat, not at the layer root. Use CandlestickFormat.BullColor, .BearColor, .NeutralColor, .WickColor.Line | Bar | Bubble | Waterfall | Candlestick | Bounds | Baseline | Heatmap), X/Y axis types, theme, and any optional features (multi-axis, stacked bars, ViewState filter, dropdown, override/highlight rules, subscription type). Ask if schema/table reference files are available before asking column-level questions. The full input checklist (axis-type enums, per-series fields) is in reference/workflow-details.md.generate.js using componentType: "chartgl" — see reference/generate-config.md for the config envelope and Series fields.reference/component-schema.md. Populate every possible* array with actual query column names.reference/examples.md when one fits (dual-axis, streaming, dropdown, candlestick, grouped ViewState).reference/learnings.md for known pitfalls (L1–L18).Before writing any ChartGL dashboard file:
id = hash = filename stem (all three identical)screenDetails match entries in screens"isDefault": trueBubbles block on any Line Layer 0by without an explicit aggregatepossibleXColumns, possibleYColumns populated with actual column names_connection matches connection file name field exactly_autoExecute and _autoExec present in every data sourceBasics.Zoom and Basics.RangeSelection both explicitly setXAxisId / YAxisIdRange.UseMinMax set if series have very different magnitude scalesUseCustomTooltip: true set if a custom CustomTooltip template is providedCandlestickFormat, not at layer rootWhat 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./kx-breadcrumbsUse this when the user wants a KX Dashboards breadcrumb trail for hierarchical drilldown or drill-through navigation, especially with pivot grids or chart-based exploration. Use kx-tabs for tabbed navigation instead of breadcrumbs./kx-buttonUse this when the user wants a KX Dashboards button or clickable action trigger: labels, icons, tooltips, alignment, fixed width, disabled state, colours, and click actions. Use it for buttons and action triggers; use kx-textinput for free-text entry, kx-dropdown for selection lists, or kx-selectioncontrols for radio/checkbox choices./kx-chart3dUse this when the user wants a KX Dashboards 3D chart or 3D visualisation: scatter, line, bar, surface, or 4D color/size-encoded layers. Use it for 3D graphics; use kx-chartgl for standard 2D WebGL charts and kx-gauge for dial or bullet-style KPI charts.Other plugins' skills for the same job