@keneth80/k-chart 1.18.1 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +30 -3
- package/ai/catalog.json +2291 -0
- package/ai/chart-plan.schema.json +372 -0
- package/ai/examples/intent-to-config.jsonl +32 -0
- package/ai/prompts/dashboard-system.md +42 -0
- package/docs/ai/agent-usage.md +79 -0
- package/docs/ai/chart-selection.md +65 -0
- package/docs/ai/index.md +195 -0
- package/docs/configuration-reference.md +34 -4
- package/docs/functional-api.md +27 -2
- package/examples/stackblitz-realtime-line-basic/src/main.ts +6 -0
- package/lib/ai/catalog.d.ts +4 -0
- package/lib/ai/catalog.d.ts.map +1 -0
- package/lib/ai/catalog.js +676 -0
- package/lib/ai/catalog.js.map +1 -0
- package/lib/ai/compiler.d.ts +63 -0
- package/lib/ai/compiler.d.ts.map +1 -0
- package/lib/ai/compiler.js +950 -0
- package/lib/ai/compiler.js.map +1 -0
- package/lib/ai/contracts.d.ts +117 -0
- package/lib/ai/contracts.d.ts.map +1 -0
- package/lib/ai/contracts.js +3 -0
- package/lib/ai/contracts.js.map +1 -0
- package/lib/ai/index.d.ts +6 -0
- package/lib/ai/index.d.ts.map +1 -0
- package/lib/ai/index.js +22 -0
- package/lib/ai/index.js.map +1 -0
- package/lib/ai/schema.d.ts +272 -0
- package/lib/ai/schema.d.ts.map +1 -0
- package/lib/ai/schema.js +199 -0
- package/lib/ai/schema.js.map +1 -0
- package/lib/ai/validate-plan.d.ts +5 -0
- package/lib/ai/validate-plan.d.ts.map +1 -0
- package/lib/ai/validate-plan.js +877 -0
- package/lib/ai/validate-plan.js.map +1 -0
- package/lib/core/animation.d.ts +8 -0
- package/lib/core/animation.d.ts.map +1 -0
- package/lib/core/animation.js +66 -0
- package/lib/core/animation.js.map +1 -0
- package/lib/core/contracts.d.ts +2 -0
- package/lib/core/contracts.d.ts.map +1 -1
- package/lib/core/create-kchart.d.ts.map +1 -1
- package/lib/core/create-kchart.js +82 -10
- package/lib/core/create-kchart.js.map +1 -1
- package/lib/series/canvas-line.d.ts.map +1 -1
- package/lib/series/canvas-line.js +68 -64
- package/lib/series/canvas-line.js.map +1 -1
- package/lib/series/svg-line.d.ts.map +1 -1
- package/lib/series/svg-line.js +1 -0
- package/lib/series/svg-line.js.map +1 -1
- package/lib/series/webgl-line.d.ts.map +1 -1
- package/lib/series/webgl-line.js +75 -71
- package/lib/series/webgl-line.js.map +1 -1
- package/lib/worker/render-worker.d.ts.map +1 -1
- package/lib/worker/render-worker.js +18 -6
- package/lib/worker/render-worker.js.map +1 -1
- package/llms.txt +37 -0
- package/package.json +19 -4
package/docs/ai/index.md
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# KChart AI integration
|
|
2
|
+
|
|
3
|
+
KChart AI integration is a provider-neutral planning layer. A language model selects a supported visualization and returns a declarative `ChartPlan`; deterministic application code validates that plan and compiles it into KChart configuration.
|
|
4
|
+
|
|
5
|
+
The model must not return executable JavaScript or TypeScript. This keeps provider output inspectable, testable, and safe to reject without replacing the currently rendered chart.
|
|
6
|
+
|
|
7
|
+
## Sources of truth
|
|
8
|
+
|
|
9
|
+
| Resource | Purpose |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `src/ai/catalog.ts` | Typed capability metadata used at runtime |
|
|
12
|
+
| `ai/catalog.json` | Generated catalog for tools that do not import TypeScript |
|
|
13
|
+
| `src/ai/schema.ts` | Source JSON Schema object |
|
|
14
|
+
| `ai/chart-plan.schema.json` | Generated model-output schema |
|
|
15
|
+
| `ai/examples/intent-to-config.jsonl` | Natural-language examples and regression fixtures |
|
|
16
|
+
| `docs/ai/chart-selection.md` | Human-readable selection policy |
|
|
17
|
+
|
|
18
|
+
Run the following after changing the catalog or schema:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm run generate:ai
|
|
22
|
+
npm run test:unit
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`npm run test:unit` checks that committed generated artifacts match their TypeScript sources and validates every natural-language fixture.
|
|
26
|
+
|
|
27
|
+
## Recommended pipeline
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
user prompt + data schema
|
|
31
|
+
|
|
|
32
|
+
v
|
|
33
|
+
deterministic data profiler
|
|
34
|
+
|
|
|
35
|
+
v
|
|
36
|
+
LLM returns ChartPlan JSON
|
|
37
|
+
|
|
|
38
|
+
v
|
|
39
|
+
validateKChartAIPlan()
|
|
40
|
+
|
|
|
41
|
+
v
|
|
42
|
+
compileKChartAIPlan()
|
|
43
|
+
|
|
|
44
|
+
v
|
|
45
|
+
render preview and explain selections
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The data profiler should send field names, inferred types, nullability, row count, and a small redacted sample. It should not send an entire large dataset to the model.
|
|
49
|
+
|
|
50
|
+
## Runtime validation
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
import {
|
|
54
|
+
assertKChartAIPlan,
|
|
55
|
+
kChartAICatalog,
|
|
56
|
+
kChartAIPlanJsonSchema,
|
|
57
|
+
validateKChartAIPlan,
|
|
58
|
+
} from "@keneth80/k-chart/ai";
|
|
59
|
+
|
|
60
|
+
const result = validateKChartAIPlan(providerResponse);
|
|
61
|
+
|
|
62
|
+
if (!result.valid) {
|
|
63
|
+
console.error(result.issues);
|
|
64
|
+
// Keep the last successfully rendered chart.
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const plan = assertKChartAIPlan(providerResponse);
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Validation checks capability ids, supported renderers, required field bindings, declared data fields, option compatibility, and strict top-level properties. Row-count guidance is reported as a warning rather than silently changing the requested chart.
|
|
72
|
+
|
|
73
|
+
## Compile a validated plan
|
|
74
|
+
|
|
75
|
+
`compileKChartAIPlan()` converts provider JSON into a real `KChartConfiguration`. The application supplies the selector and actual rows, so the model never controls DOM targets, callbacks, credentials, or the full dataset.
|
|
76
|
+
|
|
77
|
+
```ts
|
|
78
|
+
import {
|
|
79
|
+
compileKChartAIPlan,
|
|
80
|
+
renderKChartAIPlan,
|
|
81
|
+
} from "@keneth80/k-chart/ai";
|
|
82
|
+
|
|
83
|
+
const compiled = compileKChartAIPlan(providerResponse, {
|
|
84
|
+
selector: "#chart",
|
|
85
|
+
data: actualRows,
|
|
86
|
+
configuration: {
|
|
87
|
+
width: 960,
|
|
88
|
+
height: 480,
|
|
89
|
+
margin: { top: 72, right: 32, bottom: 56, left: 68 },
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
if (compiled.configuration) {
|
|
94
|
+
console.log(compiled.configuration, compiled.warnings);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const rendered = renderKChartAIPlan(providerResponse, {
|
|
98
|
+
selector: "#chart",
|
|
99
|
+
data: actualRows,
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
await rendered.controller.whenRenderComplete();
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
The compiler validates the plan again, infers axes when they are omitted, converts time-axis bounds to `Date`, applies only capability-specific setting allowlists, and keeps categorical zoom disabled. `renderKChartAIPlan()` is a convenience for chart-series plans; adapter-only plans intentionally have no core chart configuration.
|
|
106
|
+
|
|
107
|
+
### Trusted runtime settings
|
|
108
|
+
|
|
109
|
+
Model settings are JSON-only and filtered before they reach a factory. Supply callbacks, GeoJSON, provider instances, map styles, and credentials through trusted application settings:
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
const compiled = compileKChartAIPlan(regionPlan, {
|
|
113
|
+
selector: "#map",
|
|
114
|
+
data: regionalSales,
|
|
115
|
+
trustedSeriesSettings: {
|
|
116
|
+
"series.geo-region-map.svg": {
|
|
117
|
+
geoJson: koreaAdministrativeGeoJson,
|
|
118
|
+
onRegionClick: ({ data }) => openRegion(data),
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Use `capability#0`, `capability#1`, and so on when a plan contains the same capability more than once. A capability-wide key acts as the default and the indexed key overrides it.
|
|
125
|
+
|
|
126
|
+
### Custom series and recipes
|
|
127
|
+
|
|
128
|
+
`series.custom` and `recipe.*` need application-owned rendering or lifecycle code. Register deterministic compilers instead of asking the model to generate functions:
|
|
129
|
+
|
|
130
|
+
```ts
|
|
131
|
+
const compiled = compileKChartAIPlan(recipePlan, {
|
|
132
|
+
selector: "#chart",
|
|
133
|
+
data,
|
|
134
|
+
seriesCompilers: {
|
|
135
|
+
"recipe.column.stacked": ({ selector, bindings, trustedSettings }) =>
|
|
136
|
+
createStackedColumnRecipe({
|
|
137
|
+
...trustedSettings,
|
|
138
|
+
selector,
|
|
139
|
+
xField: bindings.x as string,
|
|
140
|
+
fields: bindings.segments as string[],
|
|
141
|
+
}),
|
|
142
|
+
},
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
The callback is trusted source code owned by the application. `settings` contains filtered provider JSON; `trustedSettings` contains values supplied by the application.
|
|
147
|
+
|
|
148
|
+
## Public AI entry points
|
|
149
|
+
|
|
150
|
+
Applications can import the typed runtime API without adding AI metadata to the main KChart entry bundle:
|
|
151
|
+
|
|
152
|
+
```ts
|
|
153
|
+
import {
|
|
154
|
+
compileKChartAIPlan,
|
|
155
|
+
kChartAICatalog,
|
|
156
|
+
kChartAIPlanJsonSchema,
|
|
157
|
+
renderKChartAIPlan,
|
|
158
|
+
validateKChartAIPlan,
|
|
159
|
+
} from "@keneth80/k-chart/ai";
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Tools that only need static assets can resolve these package subpaths:
|
|
163
|
+
|
|
164
|
+
- `@keneth80/k-chart/ai/catalog.json`
|
|
165
|
+
- `@keneth80/k-chart/ai/chart-plan.schema.json`
|
|
166
|
+
- `@keneth80/k-chart/llms.txt`
|
|
167
|
+
|
|
168
|
+
Each catalog entry declares both `apiKind` and `apiName`. `factory` identifies an importable function, `config-property` identifies configuration owned by the chart, `controller-method` identifies an imperative controller signal, and `recipe` identifies an application-owned composition.
|
|
169
|
+
|
|
170
|
+
## Optional adapters
|
|
171
|
+
|
|
172
|
+
Three.js, CesiumJS, and MapLibre integrations use `plan.adapters`, not `plan.series`. Adapter-only plans are valid. The compiler returns adapter descriptors with `importPath`, `apiName`, the actual data reference, field bindings, filtered plan settings, and separate trusted settings. The consuming application performs the dynamic client-side import and owns the adapter lifecycle.
|
|
173
|
+
|
|
174
|
+
Keep adapters as dynamic client-side imports in SSR frameworks. Provide tokens, map styles, imagery, terrain, and provider objects through `trustedAdapterSettings`, never through model output.
|
|
175
|
+
|
|
176
|
+
## Security boundary
|
|
177
|
+
|
|
178
|
+
- Never pass provider output to `eval`, `Function`, dynamic import, or JSX compilation.
|
|
179
|
+
- Map capability ids to an application-owned factory registry.
|
|
180
|
+
- Restrict formatters, callbacks, colors, and themes to serializable settings or registered preset ids.
|
|
181
|
+
- Validate remote URLs and geographic providers separately.
|
|
182
|
+
- Keep API tokens outside prompts and generated configuration.
|
|
183
|
+
- Limit sample rows and redact personal or confidential values.
|
|
184
|
+
|
|
185
|
+
## Current scope
|
|
186
|
+
|
|
187
|
+
The catalog covers first-class presets and series, documented custom recipes, core options, and optional adapter packages. `recipe.*` capabilities are intentionally separate from `series.*`: recipes require deterministic application-owned composition and do not imply that a same-named factory exists.
|
|
188
|
+
|
|
189
|
+
The deterministic ChartPlan compiler is the shared runtime boundary for the
|
|
190
|
+
Playground and dashboard template. The Playground provider now returns validated
|
|
191
|
+
JSON plans and deterministic editor source calls `compileKChartAIPlan()`; model
|
|
192
|
+
output is never evaluated as JavaScript. Its server API and client UI are
|
|
193
|
+
controlled separately with `KCHART_AI_ENABLED` and
|
|
194
|
+
`NEXT_PUBLIC_KCHART_AI_ENABLED`, so QA and Live builds can keep the unfinished
|
|
195
|
+
experience disabled.
|
|
@@ -39,7 +39,7 @@ createKChart({
|
|
|
39
39
|
| `legend` | `KChartLegendConfiguration` | no | visible top legend | series 표시/숨김 범례 설정입니다. |
|
|
40
40
|
| `tooltip` | `KChartTooltipConfiguration<T>` | no | basic tooltip | nearest point tooltip 설정입니다. |
|
|
41
41
|
| `zoom` | `KChartZoomConfiguration<T>` | no | disabled | number/time 축 zoom, pan, 영역 선택 zoom 설정입니다. |
|
|
42
|
-
| `animation` | `boolean \| KChartAnimationConfiguration` | no | disabled | series enter animation
|
|
42
|
+
| `animation` | `boolean \| KChartAnimationConfiguration` | no | disabled | series enter animation과 연속 축의 data update transition을 설정합니다. |
|
|
43
43
|
| `specAreas` | `KChartSpecAreaConfiguration[]` | no | `[]` | 기존 호환 필드입니다. 새 코드는 `createSpecAreaOption(...)` 사용을 권장합니다. |
|
|
44
44
|
| `guideLines` | `KChartGuideLinesConfiguration` | no | - | 기존 호환 필드입니다. 새 코드는 `createGuideLineOption(...)` 사용을 권장합니다. |
|
|
45
45
|
| `cursorGuide` | `KChartCursorGuideConfiguration` | no | - | 기존 호환 필드입니다. 새 코드는 `createCursorLineOption(...)` 사용을 권장합니다. |
|
|
@@ -103,7 +103,7 @@ createKChart({
|
|
|
103
103
|
|
|
104
104
|
## Animation Configuration
|
|
105
105
|
|
|
106
|
-
차트 레벨 `animation`은
|
|
106
|
+
차트 레벨 `animation`은 enter animation과 data update transition을 제어합니다. `animation: true`로 기본 enter animation을 켤 수 있고, 세부 옵션으로 duration과 easing을 조절할 수 있습니다. `mode: 'update'`에서는 `number`/`time` 축 domain을 이전 렌더와 새 렌더 사이에서 보간하므로 실시간 시계열이 갱신 주기마다 튀지 않고 연속해서 이동합니다. 새 update가 이전 transition 도중 도착하면 이전 RAF를 취소하고 현재 화면 위치부터 이어서 전환합니다.
|
|
107
107
|
|
|
108
108
|
```ts
|
|
109
109
|
createKChart({
|
|
@@ -123,11 +123,40 @@ createKChart({
|
|
|
123
123
|
| Field | Type | Default | Description |
|
|
124
124
|
| --- | --- | --- | --- |
|
|
125
125
|
| `enabled` | `boolean` | `false` | animation을 켭니다. `animation: true`와 동일하게 사용할 수 있습니다. |
|
|
126
|
-
| `duration` | `number` | `720` | enter
|
|
126
|
+
| `duration` | `number` | `720` | enter 또는 update transition 지속 시간(ms)입니다. 실시간 차트에서는 데이터 수신 주기와 같은 값을 권장합니다. |
|
|
127
127
|
| `easing` | `'linear' \| 'easeOutCubic' \| 'easeInOutCubic'` | `easeOutCubic` | progress easing 함수입니다. |
|
|
128
|
-
| `mode` | `'enter' \| 'update' \| 'both'` | `enter` |
|
|
128
|
+
| `mode` | `'enter' \| 'update' \| 'both'` | `enter` | `enter`는 최초 series 등장, `update`는 `updateData()` 시 연속 축 domain 이동, `both`는 두 동작을 모두 사용합니다. |
|
|
129
129
|
| `respectReducedMotion` | `boolean` | `true` | OS의 reduced motion 설정이 켜져 있으면 animation을 생략합니다. |
|
|
130
130
|
|
|
131
|
+
실시간 시계열의 기본 패턴:
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
const intervalMs = 250;
|
|
135
|
+
const chart = createKChart({
|
|
136
|
+
selector: '#chart',
|
|
137
|
+
data,
|
|
138
|
+
axes: [
|
|
139
|
+
{ field: 'time', type: 'time', placement: 'bottom' },
|
|
140
|
+
{ field: 'value', type: 'number', placement: 'left' }
|
|
141
|
+
],
|
|
142
|
+
series,
|
|
143
|
+
animation: {
|
|
144
|
+
enabled: true,
|
|
145
|
+
duration: intervalMs,
|
|
146
|
+
easing: 'linear',
|
|
147
|
+
mode: 'update'
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
setInterval(() => {
|
|
152
|
+
data.push(readNextPoint());
|
|
153
|
+
if (data.length > 240) data.splice(0, data.length - 240);
|
|
154
|
+
chart.updateData(data);
|
|
155
|
+
}, intervalMs);
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
화면이 백그라운드 탭에 있거나 OS reduced motion이 켜진 경우 transition이 생략될 수 있습니다. 스트림 데이터는 위 예제처럼 최대 개수를 유지하고, 화면을 제거할 때 interval과 `chart.destroy()`를 함께 정리해야 합니다.
|
|
159
|
+
|
|
131
160
|
## Zoom Configuration
|
|
132
161
|
|
|
133
162
|
차트 레벨 zoom은 `number` 또는 `time` axis domain을 갱신한 뒤 기존 render pipeline을 다시 실행합니다. `string`/`point` 축은 순서형 축이라 zoom 대상에서 제외됩니다.
|
|
@@ -167,6 +196,7 @@ createKChart({
|
|
|
167
196
|
| --- | --- | --- |
|
|
168
197
|
| `selector` | `string` | series의 DOM/canvas class, legend key, hidden key로 사용됩니다. 같은 chart 안에서 고유해야 합니다. |
|
|
169
198
|
| `displayName` | `string` | legend와 tooltip에 표시할 이름입니다. 없으면 `selector`를 사용합니다. |
|
|
199
|
+
| `supportsUpdateAnimation` | `boolean` | `true`인 동기 series만 chart-level `mode: 'update'`의 프레임 렌더에 참여합니다. 내장 SVG/Canvas/WebGL line은 동기 렌더일 때 자동 설정되며 Worker line은 큐 증가를 막기 위해 자동으로 비활성화됩니다. |
|
|
170
200
|
| `pointerEvents` | `'core' \| 'series'` | 기본값은 `core`입니다. 노드/링크가 직접 hover·click을 처리하는 custom series는 `series`를 지정하면 코어 tooltip이 상위 group에서 이벤트를 함께 수신합니다. |
|
|
171
201
|
| `xField` / `yField` | `keyof T & string` | 기본 tooltip, scale 선택, downsample에 쓰이는 field입니다. |
|
|
172
202
|
| `color` | `string` | series 색상입니다. 없으면 chart `colors` 팔레트에서 할당됩니다. |
|
package/docs/functional-api.md
CHANGED
|
@@ -706,7 +706,7 @@ const sampled = downsampleLTTB(data, 1000, (point) => point.x, (point) => point.
|
|
|
706
706
|
|
|
707
707
|
### Animation
|
|
708
708
|
|
|
709
|
-
차트 레벨의 `animation` 옵션은
|
|
709
|
+
차트 레벨의 `animation` 옵션은 enter animation과 `updateData()` transition을 제어합니다. `animation: true`로 기본 enter animation을 켤 수 있고, 세부 옵션으로 duration/easing을 조절할 수 있습니다. `mode: 'update'`는 `number`/`time` 축 domain을 프레임 단위로 보간하므로 실시간 시계열의 타임라인 이동에 적합합니다.
|
|
710
710
|
|
|
711
711
|
```ts
|
|
712
712
|
createKChart<Point>({
|
|
@@ -729,7 +729,32 @@ createKChart<Point>({
|
|
|
729
729
|
});
|
|
730
730
|
```
|
|
731
731
|
|
|
732
|
-
|
|
732
|
+
실시간 데이터는 다음처럼 수신 주기와 transition 시간을 맞춥니다.
|
|
733
|
+
|
|
734
|
+
```ts
|
|
735
|
+
const intervalMs = 250;
|
|
736
|
+
|
|
737
|
+
const chart = createKChart<Point>({
|
|
738
|
+
selector: '#chart',
|
|
739
|
+
data,
|
|
740
|
+
axes,
|
|
741
|
+
series,
|
|
742
|
+
animation: {
|
|
743
|
+
enabled: true,
|
|
744
|
+
duration: intervalMs,
|
|
745
|
+
easing: 'linear',
|
|
746
|
+
mode: 'update'
|
|
747
|
+
}
|
|
748
|
+
}).render();
|
|
749
|
+
|
|
750
|
+
const timer = window.setInterval(() => {
|
|
751
|
+
data.push(readNextPoint());
|
|
752
|
+
if (data.length > 240) data.splice(0, data.length - 240);
|
|
753
|
+
chart.updateData(data);
|
|
754
|
+
}, intervalMs);
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
Custom series에서는 `render(context)` 안에서 `context.animation.progress`를 읽어 직접 opacity, scale, arc sweep, draw count 등을 조절할 수 있습니다. Update transition에 참여할 동기 custom series는 `supportsUpdateAnimation: true`를 명시해야 합니다. Worker-backed Canvas/WebGL line은 메시지 큐 증가를 막기 위해 update transition을 자동 생략하고 수신 주기당 한 번만 렌더합니다. 대용량 차트에서는 필요한 화면에서만 animation을 켜고 downsampling을 함께 사용하는 것을 권장합니다.
|
|
733
758
|
|
|
734
759
|
### Zoom
|
|
735
760
|
|
|
@@ -49,6 +49,12 @@ const chart = createKChart<RealtimePoint>({
|
|
|
49
49
|
dasharray: '3 8'
|
|
50
50
|
},
|
|
51
51
|
legend: { visible: true, placement: 'top', selectable: true },
|
|
52
|
+
animation: {
|
|
53
|
+
enabled: true,
|
|
54
|
+
duration: INTERVAL_MS,
|
|
55
|
+
easing: 'linear',
|
|
56
|
+
mode: 'update'
|
|
57
|
+
},
|
|
52
58
|
tooltip: {
|
|
53
59
|
visible: true,
|
|
54
60
|
formatter: ({ data: point, series, y }) => `
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/ai/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,kBAAkB,EAClB,eAAe,EAElB,MAAM,aAAa,CAAC;AAspBrB,eAAO,MAAM,eAAe,EAAE,eAuB7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAC/B,IAAI,MAAM,KACX,kBAAkB,GAAG,SAEvB,CAAC"}
|