@keneth80/k-chart 1.19.0 → 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.
@@ -0,0 +1,2291 @@
1
+ {
2
+ "version": 1,
3
+ "renderers": [
4
+ {
5
+ "id": "svg",
6
+ "displayName": "SVG",
7
+ "recommendedFor": [
8
+ "small and medium datasets",
9
+ "rich DOM interaction",
10
+ "crisp labels"
11
+ ],
12
+ "tradeoffs": [
13
+ "DOM cost grows with visible marks"
14
+ ]
15
+ },
16
+ {
17
+ "id": "canvas",
18
+ "displayName": "Canvas",
19
+ "recommendedFor": [
20
+ "large datasets",
21
+ "frequent updates",
22
+ "worker rendering"
23
+ ],
24
+ "tradeoffs": [
25
+ "marks are not individual DOM nodes"
26
+ ]
27
+ },
28
+ {
29
+ "id": "webgl",
30
+ "displayName": "WebGL",
31
+ "recommendedFor": [
32
+ "very large line or point data",
33
+ "GPU rendering"
34
+ ],
35
+ "tradeoffs": [
36
+ "requires WebGL support",
37
+ "custom interaction needs hit testing"
38
+ ]
39
+ }
40
+ ],
41
+ "capabilities": [
42
+ {
43
+ "id": "preset.line",
44
+ "displayName": "Line chart preset",
45
+ "description": "Beginner-friendly single-series line chart with SVG, Canvas, or WebGL rendering.",
46
+ "apiName": "createLineChart",
47
+ "renderers": [
48
+ "svg",
49
+ "canvas",
50
+ "webgl"
51
+ ],
52
+ "fieldRoles": [
53
+ {
54
+ "id": "x",
55
+ "description": "Horizontal position, category, or timestamp.",
56
+ "types": [
57
+ "number",
58
+ "time",
59
+ "string"
60
+ ],
61
+ "required": true
62
+ },
63
+ {
64
+ "id": "y",
65
+ "description": "Numeric value rendered on the vertical axis.",
66
+ "types": [
67
+ "number"
68
+ ],
69
+ "required": true
70
+ }
71
+ ],
72
+ "recommendedFor": [
73
+ "time-series trends",
74
+ "ordered numeric trends",
75
+ "quick chart creation"
76
+ ],
77
+ "avoidWhen": [
78
+ "part-to-whole comparison",
79
+ "unordered categories with long labels"
80
+ ],
81
+ "rowCount": {
82
+ "idealMax": 1000000,
83
+ "note": "Choose Canvas or WebGL and enable LTTB for large data."
84
+ },
85
+ "compatibleOptions": [
86
+ "option.downsample.lttb",
87
+ "option.grid",
88
+ "option.zoom",
89
+ "option.cursor-line",
90
+ "option.guide-line",
91
+ "option.spec-area",
92
+ "option.legend",
93
+ "option.tooltip",
94
+ "option.animation",
95
+ "option.tooltip-note",
96
+ "option.render-complete"
97
+ ],
98
+ "tags": [
99
+ "beginner",
100
+ "trend",
101
+ "time-series"
102
+ ],
103
+ "kind": "preset",
104
+ "apiKind": "factory",
105
+ "importPath": "@keneth80/k-chart/presets",
106
+ "repositoryPath": "src/presets/index.ts",
107
+ "browserOnly": true
108
+ },
109
+ {
110
+ "id": "preset.column",
111
+ "displayName": "Column chart preset",
112
+ "description": "Beginner-friendly categorical comparison chart.",
113
+ "apiName": "createColumnChart",
114
+ "renderers": [
115
+ "svg"
116
+ ],
117
+ "fieldRoles": [
118
+ {
119
+ "id": "x",
120
+ "description": "Horizontal position, category, or timestamp.",
121
+ "types": [
122
+ "number",
123
+ "time",
124
+ "string"
125
+ ],
126
+ "required": true
127
+ },
128
+ {
129
+ "id": "y",
130
+ "description": "Numeric value rendered on the vertical axis.",
131
+ "types": [
132
+ "number"
133
+ ],
134
+ "required": true
135
+ }
136
+ ],
137
+ "recommendedFor": [
138
+ "category comparison",
139
+ "ranked values",
140
+ "small dashboards"
141
+ ],
142
+ "avoidWhen": [
143
+ "very high-cardinality categories",
144
+ "million-point data"
145
+ ],
146
+ "rowCount": {
147
+ "idealMax": 200
148
+ },
149
+ "compatibleOptions": [
150
+ "option.grid",
151
+ "option.cursor-line",
152
+ "option.guide-line",
153
+ "option.spec-area",
154
+ "option.legend",
155
+ "option.tooltip",
156
+ "option.animation",
157
+ "option.tooltip-note",
158
+ "option.render-complete"
159
+ ],
160
+ "tags": [
161
+ "beginner",
162
+ "comparison"
163
+ ],
164
+ "kind": "preset",
165
+ "apiKind": "factory",
166
+ "importPath": "@keneth80/k-chart/presets",
167
+ "repositoryPath": "src/presets/index.ts",
168
+ "browserOnly": true
169
+ },
170
+ {
171
+ "id": "preset.pie",
172
+ "displayName": "Pie chart preset",
173
+ "description": "Beginner-friendly part-to-whole chart.",
174
+ "apiName": "createPieChart",
175
+ "renderers": [
176
+ "svg"
177
+ ],
178
+ "fieldRoles": [
179
+ {
180
+ "id": "label",
181
+ "description": "Slice label.",
182
+ "types": [
183
+ "string"
184
+ ],
185
+ "required": true
186
+ },
187
+ {
188
+ "id": "value",
189
+ "description": "Non-negative slice value.",
190
+ "types": [
191
+ "number"
192
+ ],
193
+ "required": true
194
+ }
195
+ ],
196
+ "recommendedFor": [
197
+ "part-to-whole with a few categories"
198
+ ],
199
+ "avoidWhen": [
200
+ "more than seven categories",
201
+ "negative values",
202
+ "precise comparison"
203
+ ],
204
+ "rowCount": {
205
+ "idealMax": 7
206
+ },
207
+ "compatibleOptions": [
208
+ "option.legend",
209
+ "option.tooltip",
210
+ "option.animation",
211
+ "option.tooltip-note",
212
+ "option.render-complete"
213
+ ],
214
+ "tags": [
215
+ "beginner",
216
+ "part-to-whole"
217
+ ],
218
+ "kind": "preset",
219
+ "apiKind": "factory",
220
+ "importPath": "@keneth80/k-chart/presets",
221
+ "repositoryPath": "src/presets/index.ts",
222
+ "browserOnly": true
223
+ },
224
+ {
225
+ "id": "preset.doughnut",
226
+ "displayName": "Doughnut chart preset",
227
+ "description": "Pie chart with a configurable center opening.",
228
+ "apiName": "createDoughnutChart",
229
+ "renderers": [
230
+ "svg"
231
+ ],
232
+ "fieldRoles": [
233
+ {
234
+ "id": "label",
235
+ "description": "Slice label.",
236
+ "types": [
237
+ "string"
238
+ ],
239
+ "required": true
240
+ },
241
+ {
242
+ "id": "value",
243
+ "description": "Non-negative slice value.",
244
+ "types": [
245
+ "number"
246
+ ],
247
+ "required": true
248
+ }
249
+ ],
250
+ "recommendedFor": [
251
+ "part-to-whole with a central KPI label"
252
+ ],
253
+ "avoidWhen": [
254
+ "more than seven categories",
255
+ "negative values"
256
+ ],
257
+ "rowCount": {
258
+ "idealMax": 7
259
+ },
260
+ "compatibleOptions": [
261
+ "option.legend",
262
+ "option.tooltip",
263
+ "option.animation",
264
+ "option.tooltip-note",
265
+ "option.render-complete"
266
+ ],
267
+ "tags": [
268
+ "beginner",
269
+ "part-to-whole"
270
+ ],
271
+ "kind": "preset",
272
+ "apiKind": "factory",
273
+ "importPath": "@keneth80/k-chart/presets",
274
+ "repositoryPath": "src/presets/index.ts",
275
+ "browserOnly": true
276
+ },
277
+ {
278
+ "id": "series.line.svg",
279
+ "displayName": "SVG line",
280
+ "description": "Crisp accessible line with optional curve, dots, animation, and LTTB.",
281
+ "apiName": "createLineSeries",
282
+ "renderers": [
283
+ "svg"
284
+ ],
285
+ "fieldRoles": [
286
+ {
287
+ "id": "x",
288
+ "description": "Horizontal position, category, or timestamp.",
289
+ "types": [
290
+ "number",
291
+ "time",
292
+ "string"
293
+ ],
294
+ "required": true
295
+ },
296
+ {
297
+ "id": "y",
298
+ "description": "Numeric value rendered on the vertical axis.",
299
+ "types": [
300
+ "number"
301
+ ],
302
+ "required": true
303
+ }
304
+ ],
305
+ "recommendedFor": [
306
+ "small and medium trends",
307
+ "interactive SVG overlays",
308
+ "publication-quality labels"
309
+ ],
310
+ "avoidWhen": [
311
+ "hundreds of thousands of visible points"
312
+ ],
313
+ "rowCount": {
314
+ "idealMax": 20000,
315
+ "supportedMax": 100000
316
+ },
317
+ "compatibleOptions": [
318
+ "option.downsample.lttb",
319
+ "option.grid",
320
+ "option.zoom",
321
+ "option.cursor-line",
322
+ "option.guide-line",
323
+ "option.spec-area",
324
+ "option.legend",
325
+ "option.tooltip",
326
+ "option.animation",
327
+ "option.tooltip-note",
328
+ "option.render-complete"
329
+ ],
330
+ "tags": [
331
+ "trend",
332
+ "svg",
333
+ "time-series"
334
+ ],
335
+ "kind": "series",
336
+ "apiKind": "factory",
337
+ "importPath": "@keneth80/k-chart/series",
338
+ "repositoryPath": "src/series/svg-line.ts",
339
+ "browserOnly": true
340
+ },
341
+ {
342
+ "id": "series.line.canvas",
343
+ "displayName": "Canvas line",
344
+ "description": "Canvas line with LTTB and optional OffscreenCanvas worker rendering.",
345
+ "apiName": "createCanvasLineSeries",
346
+ "renderers": [
347
+ "canvas"
348
+ ],
349
+ "fieldRoles": [
350
+ {
351
+ "id": "x",
352
+ "description": "Horizontal position, category, or timestamp.",
353
+ "types": [
354
+ "number",
355
+ "time",
356
+ "string"
357
+ ],
358
+ "required": true
359
+ },
360
+ {
361
+ "id": "y",
362
+ "description": "Numeric value rendered on the vertical axis.",
363
+ "types": [
364
+ "number"
365
+ ],
366
+ "required": true
367
+ }
368
+ ],
369
+ "recommendedFor": [
370
+ "large time series",
371
+ "frequent updates",
372
+ "worker rendering"
373
+ ],
374
+ "rowCount": {
375
+ "idealMax": 300000,
376
+ "supportedMax": 1000000
377
+ },
378
+ "compatibleOptions": [
379
+ "option.downsample.lttb",
380
+ "option.grid",
381
+ "option.zoom",
382
+ "option.cursor-line",
383
+ "option.guide-line",
384
+ "option.spec-area",
385
+ "option.legend",
386
+ "option.tooltip",
387
+ "option.animation",
388
+ "option.tooltip-note",
389
+ "option.render-complete"
390
+ ],
391
+ "tags": [
392
+ "trend",
393
+ "canvas",
394
+ "large-data",
395
+ "worker"
396
+ ],
397
+ "kind": "series",
398
+ "apiKind": "factory",
399
+ "importPath": "@keneth80/k-chart/series",
400
+ "repositoryPath": "src/series/canvas-line.ts",
401
+ "browserOnly": true
402
+ },
403
+ {
404
+ "id": "series.line.webgl",
405
+ "displayName": "WebGL line",
406
+ "description": "GPU line renderer for very large time-series datasets.",
407
+ "apiName": "createWebglLineSeries",
408
+ "renderers": [
409
+ "webgl"
410
+ ],
411
+ "fieldRoles": [
412
+ {
413
+ "id": "x",
414
+ "description": "Horizontal position, category, or timestamp.",
415
+ "types": [
416
+ "number",
417
+ "time",
418
+ "string"
419
+ ],
420
+ "required": true
421
+ },
422
+ {
423
+ "id": "y",
424
+ "description": "Numeric value rendered on the vertical axis.",
425
+ "types": [
426
+ "number"
427
+ ],
428
+ "required": true
429
+ }
430
+ ],
431
+ "recommendedFor": [
432
+ "million-point line data",
433
+ "many dense numeric traces"
434
+ ],
435
+ "rowCount": {
436
+ "idealMax": 1000000,
437
+ "note": "Use explicit axis domains and LTTB when the full density is not needed."
438
+ },
439
+ "compatibleOptions": [
440
+ "option.downsample.lttb",
441
+ "option.grid",
442
+ "option.zoom",
443
+ "option.cursor-line",
444
+ "option.guide-line",
445
+ "option.spec-area",
446
+ "option.legend",
447
+ "option.tooltip",
448
+ "option.animation",
449
+ "option.tooltip-note",
450
+ "option.render-complete"
451
+ ],
452
+ "tags": [
453
+ "trend",
454
+ "webgl",
455
+ "large-data",
456
+ "gpu"
457
+ ],
458
+ "kind": "series",
459
+ "apiKind": "factory",
460
+ "importPath": "@keneth80/k-chart/series",
461
+ "repositoryPath": "src/series/webgl-line.ts",
462
+ "browserOnly": true
463
+ },
464
+ {
465
+ "id": "series.area.svg",
466
+ "displayName": "SVG area",
467
+ "description": "Filled line chart for magnitude over an ordered domain.",
468
+ "apiName": "createAreaSeries",
469
+ "renderers": [
470
+ "svg"
471
+ ],
472
+ "fieldRoles": [
473
+ {
474
+ "id": "x",
475
+ "description": "Horizontal position, category, or timestamp.",
476
+ "types": [
477
+ "number",
478
+ "time",
479
+ "string"
480
+ ],
481
+ "required": true
482
+ },
483
+ {
484
+ "id": "y",
485
+ "description": "Numeric value rendered on the vertical axis.",
486
+ "types": [
487
+ "number"
488
+ ],
489
+ "required": true
490
+ }
491
+ ],
492
+ "recommendedFor": [
493
+ "magnitude over time",
494
+ "capacity and volume trends"
495
+ ],
496
+ "avoidWhen": [
497
+ "overlapping many opaque series"
498
+ ],
499
+ "rowCount": {
500
+ "idealMax": 10000
501
+ },
502
+ "compatibleOptions": [
503
+ "option.downsample.lttb",
504
+ "option.grid",
505
+ "option.zoom",
506
+ "option.cursor-line",
507
+ "option.guide-line",
508
+ "option.spec-area",
509
+ "option.legend",
510
+ "option.tooltip",
511
+ "option.animation",
512
+ "option.tooltip-note",
513
+ "option.render-complete"
514
+ ],
515
+ "tags": [
516
+ "trend",
517
+ "area"
518
+ ],
519
+ "kind": "series",
520
+ "apiKind": "factory",
521
+ "importPath": "@keneth80/k-chart/series",
522
+ "repositoryPath": "src/series/svg-area.ts",
523
+ "browserOnly": true
524
+ },
525
+ {
526
+ "id": "series.bar.svg",
527
+ "displayName": "SVG bar",
528
+ "description": "Single-value bar series with configurable baseline and bar sizing.",
529
+ "apiName": "createBarSeries",
530
+ "renderers": [
531
+ "svg"
532
+ ],
533
+ "fieldRoles": [
534
+ {
535
+ "id": "x",
536
+ "description": "Horizontal position, category, or timestamp.",
537
+ "types": [
538
+ "number",
539
+ "time",
540
+ "string"
541
+ ],
542
+ "required": true
543
+ },
544
+ {
545
+ "id": "y",
546
+ "description": "Numeric value rendered on the vertical axis.",
547
+ "types": [
548
+ "number"
549
+ ],
550
+ "required": true
551
+ }
552
+ ],
553
+ "recommendedFor": [
554
+ "category comparison",
555
+ "positive and negative values"
556
+ ],
557
+ "rowCount": {
558
+ "idealMax": 200
559
+ },
560
+ "compatibleOptions": [
561
+ "option.grid",
562
+ "option.cursor-line",
563
+ "option.guide-line",
564
+ "option.spec-area",
565
+ "option.legend",
566
+ "option.tooltip",
567
+ "option.animation",
568
+ "option.tooltip-note",
569
+ "option.render-complete"
570
+ ],
571
+ "tags": [
572
+ "comparison",
573
+ "bar"
574
+ ],
575
+ "kind": "series",
576
+ "apiKind": "factory",
577
+ "importPath": "@keneth80/k-chart/series",
578
+ "repositoryPath": "src/series/svg-bar.ts",
579
+ "browserOnly": true
580
+ },
581
+ {
582
+ "id": "series.column.grouped.svg",
583
+ "displayName": "SVG grouped column",
584
+ "description": "Multiple numeric fields displayed side by side for each category.",
585
+ "apiName": "createGroupedColumnSeries",
586
+ "renderers": [
587
+ "svg"
588
+ ],
589
+ "fieldRoles": [
590
+ {
591
+ "id": "x",
592
+ "description": "Horizontal position, category, or timestamp.",
593
+ "types": [
594
+ "number",
595
+ "time",
596
+ "string"
597
+ ],
598
+ "required": true
599
+ },
600
+ {
601
+ "id": "segments",
602
+ "description": "Numeric fields rendered within each category.",
603
+ "types": [
604
+ "number"
605
+ ],
606
+ "required": true,
607
+ "multiple": true
608
+ }
609
+ ],
610
+ "recommendedFor": [
611
+ "multi-series category comparison"
612
+ ],
613
+ "avoidWhen": [
614
+ "more than six segments per category"
615
+ ],
616
+ "rowCount": {
617
+ "idealMax": 100
618
+ },
619
+ "compatibleOptions": [
620
+ "option.grid",
621
+ "option.cursor-line",
622
+ "option.guide-line",
623
+ "option.spec-area",
624
+ "option.legend",
625
+ "option.tooltip",
626
+ "option.animation",
627
+ "option.tooltip-note",
628
+ "option.render-complete"
629
+ ],
630
+ "tags": [
631
+ "comparison",
632
+ "multi-series",
633
+ "column"
634
+ ],
635
+ "kind": "series",
636
+ "apiKind": "factory",
637
+ "importPath": "@keneth80/k-chart/series",
638
+ "repositoryPath": "src/series/svg-bar.ts",
639
+ "browserOnly": true
640
+ },
641
+ {
642
+ "id": "series.scatter.svg",
643
+ "displayName": "SVG scatter",
644
+ "description": "Point chart for relationships between two numeric variables.",
645
+ "apiName": "createScatterSeries",
646
+ "renderers": [
647
+ "svg"
648
+ ],
649
+ "fieldRoles": [
650
+ {
651
+ "id": "x",
652
+ "description": "Horizontal position, category, or timestamp.",
653
+ "types": [
654
+ "number",
655
+ "time",
656
+ "string"
657
+ ],
658
+ "required": true
659
+ },
660
+ {
661
+ "id": "y",
662
+ "description": "Numeric value rendered on the vertical axis.",
663
+ "types": [
664
+ "number"
665
+ ],
666
+ "required": true
667
+ }
668
+ ],
669
+ "recommendedFor": [
670
+ "correlation",
671
+ "clusters",
672
+ "outlier inspection"
673
+ ],
674
+ "rowCount": {
675
+ "idealMax": 5000
676
+ },
677
+ "tags": [
678
+ "distribution",
679
+ "correlation"
680
+ ],
681
+ "kind": "series",
682
+ "apiKind": "factory",
683
+ "importPath": "@keneth80/k-chart/series",
684
+ "repositoryPath": "src/series/svg-scatter.ts",
685
+ "browserOnly": true,
686
+ "compatibleOptions": [
687
+ "option.grid",
688
+ "option.zoom",
689
+ "option.cursor-line",
690
+ "option.guide-line",
691
+ "option.spec-area",
692
+ "option.legend",
693
+ "option.tooltip",
694
+ "option.animation",
695
+ "option.tooltip-note",
696
+ "option.render-complete"
697
+ ]
698
+ },
699
+ {
700
+ "id": "series.bubble.svg",
701
+ "displayName": "SVG bubble",
702
+ "description": "Scatter chart with a third numeric field encoded as point radius.",
703
+ "apiName": "createBubbleSeries",
704
+ "renderers": [
705
+ "svg"
706
+ ],
707
+ "fieldRoles": [
708
+ {
709
+ "id": "x",
710
+ "description": "Horizontal position, category, or timestamp.",
711
+ "types": [
712
+ "number",
713
+ "time",
714
+ "string"
715
+ ],
716
+ "required": true
717
+ },
718
+ {
719
+ "id": "y",
720
+ "description": "Numeric value rendered on the vertical axis.",
721
+ "types": [
722
+ "number"
723
+ ],
724
+ "required": true
725
+ },
726
+ {
727
+ "id": "radius",
728
+ "description": "Numeric magnitude encoded as radius.",
729
+ "types": [
730
+ "number"
731
+ ],
732
+ "required": true
733
+ }
734
+ ],
735
+ "recommendedFor": [
736
+ "three-variable comparison"
737
+ ],
738
+ "rowCount": {
739
+ "idealMax": 1000
740
+ },
741
+ "tags": [
742
+ "distribution",
743
+ "bubble"
744
+ ],
745
+ "kind": "series",
746
+ "apiKind": "factory",
747
+ "importPath": "@keneth80/k-chart/series",
748
+ "repositoryPath": "src/series/svg-scatter.ts",
749
+ "browserOnly": true,
750
+ "compatibleOptions": [
751
+ "option.grid",
752
+ "option.zoom",
753
+ "option.cursor-line",
754
+ "option.guide-line",
755
+ "option.spec-area",
756
+ "option.legend",
757
+ "option.tooltip",
758
+ "option.animation",
759
+ "option.tooltip-note",
760
+ "option.render-complete"
761
+ ]
762
+ },
763
+ {
764
+ "id": "series.point.canvas",
765
+ "displayName": "Canvas point",
766
+ "description": "Canvas point renderer for medium-to-large scatter data.",
767
+ "apiName": "createCanvasPointSeries",
768
+ "renderers": [
769
+ "canvas"
770
+ ],
771
+ "fieldRoles": [
772
+ {
773
+ "id": "x",
774
+ "description": "Horizontal position, category, or timestamp.",
775
+ "types": [
776
+ "number",
777
+ "time",
778
+ "string"
779
+ ],
780
+ "required": true
781
+ },
782
+ {
783
+ "id": "y",
784
+ "description": "Numeric value rendered on the vertical axis.",
785
+ "types": [
786
+ "number"
787
+ ],
788
+ "required": true
789
+ }
790
+ ],
791
+ "recommendedFor": [
792
+ "dense point clouds",
793
+ "frequently updated scatter data"
794
+ ],
795
+ "rowCount": {
796
+ "idealMax": 100000
797
+ },
798
+ "tags": [
799
+ "distribution",
800
+ "canvas"
801
+ ],
802
+ "kind": "series",
803
+ "apiKind": "factory",
804
+ "importPath": "@keneth80/k-chart/series",
805
+ "repositoryPath": "src/series/canvas-point.ts",
806
+ "browserOnly": true,
807
+ "compatibleOptions": [
808
+ "option.grid",
809
+ "option.zoom",
810
+ "option.cursor-line",
811
+ "option.guide-line",
812
+ "option.spec-area",
813
+ "option.legend",
814
+ "option.tooltip",
815
+ "option.animation",
816
+ "option.tooltip-note",
817
+ "option.render-complete"
818
+ ]
819
+ },
820
+ {
821
+ "id": "series.point.webgl",
822
+ "displayName": "WebGL point",
823
+ "description": "Interleaved-buffer GPU point renderer.",
824
+ "apiName": "createWebglPointSeries",
825
+ "renderers": [
826
+ "webgl"
827
+ ],
828
+ "fieldRoles": [
829
+ {
830
+ "id": "x",
831
+ "description": "Horizontal position, category, or timestamp.",
832
+ "types": [
833
+ "number",
834
+ "time",
835
+ "string"
836
+ ],
837
+ "required": true
838
+ },
839
+ {
840
+ "id": "y",
841
+ "description": "Numeric value rendered on the vertical axis.",
842
+ "types": [
843
+ "number"
844
+ ],
845
+ "required": true
846
+ }
847
+ ],
848
+ "recommendedFor": [
849
+ "very large point clouds",
850
+ "GPU scatter rendering"
851
+ ],
852
+ "rowCount": {
853
+ "idealMax": 1000000
854
+ },
855
+ "tags": [
856
+ "distribution",
857
+ "webgl",
858
+ "large-data",
859
+ "gpu"
860
+ ],
861
+ "kind": "series",
862
+ "apiKind": "factory",
863
+ "importPath": "@keneth80/k-chart/series",
864
+ "repositoryPath": "src/series/webgl-point.ts",
865
+ "browserOnly": true,
866
+ "compatibleOptions": [
867
+ "option.grid",
868
+ "option.zoom",
869
+ "option.cursor-line",
870
+ "option.guide-line",
871
+ "option.spec-area",
872
+ "option.legend",
873
+ "option.tooltip",
874
+ "option.animation",
875
+ "option.tooltip-note",
876
+ "option.render-complete"
877
+ ]
878
+ },
879
+ {
880
+ "id": "series.candlestick.canvas",
881
+ "displayName": "Canvas candlestick",
882
+ "description": "OHLC financial chart with open-close or previous-close color modes.",
883
+ "apiName": "createCanvasCandlestickSeries",
884
+ "renderers": [
885
+ "canvas"
886
+ ],
887
+ "fieldRoles": [
888
+ {
889
+ "id": "x",
890
+ "description": "Horizontal position, category, or timestamp.",
891
+ "types": [
892
+ "number",
893
+ "time",
894
+ "string"
895
+ ],
896
+ "required": true
897
+ },
898
+ {
899
+ "id": "open",
900
+ "description": "Opening price.",
901
+ "types": [
902
+ "number"
903
+ ],
904
+ "required": true
905
+ },
906
+ {
907
+ "id": "high",
908
+ "description": "Highest price.",
909
+ "types": [
910
+ "number"
911
+ ],
912
+ "required": true
913
+ },
914
+ {
915
+ "id": "low",
916
+ "description": "Lowest price.",
917
+ "types": [
918
+ "number"
919
+ ],
920
+ "required": true
921
+ },
922
+ {
923
+ "id": "close",
924
+ "description": "Closing price.",
925
+ "types": [
926
+ "number"
927
+ ],
928
+ "required": true
929
+ },
930
+ {
931
+ "id": "previousClose",
932
+ "description": "Previous close used by previous-close coloring.",
933
+ "types": [
934
+ "number"
935
+ ]
936
+ }
937
+ ],
938
+ "recommendedFor": [
939
+ "financial OHLC data",
940
+ "stock price history"
941
+ ],
942
+ "rowCount": {
943
+ "idealMax": 10000
944
+ },
945
+ "tags": [
946
+ "financial",
947
+ "canvas",
948
+ "ohlc"
949
+ ],
950
+ "kind": "series",
951
+ "apiKind": "factory",
952
+ "importPath": "@keneth80/k-chart/series",
953
+ "repositoryPath": "src/series/canvas-candlestick.ts",
954
+ "browserOnly": true,
955
+ "compatibleOptions": [
956
+ "option.grid",
957
+ "option.zoom",
958
+ "option.cursor-line",
959
+ "option.guide-line",
960
+ "option.spec-area",
961
+ "option.legend",
962
+ "option.tooltip",
963
+ "option.animation",
964
+ "option.tooltip-note",
965
+ "option.render-complete"
966
+ ]
967
+ },
968
+ {
969
+ "id": "series.box-plot.svg",
970
+ "displayName": "SVG box plot",
971
+ "description": "Five-number summary with optional outliers.",
972
+ "apiName": "createBoxPlotSeries",
973
+ "renderers": [
974
+ "svg"
975
+ ],
976
+ "fieldRoles": [
977
+ {
978
+ "id": "x",
979
+ "description": "Horizontal position, category, or timestamp.",
980
+ "types": [
981
+ "number",
982
+ "time",
983
+ "string"
984
+ ],
985
+ "required": true
986
+ },
987
+ {
988
+ "id": "min",
989
+ "description": "Minimum or lower whisker.",
990
+ "types": [
991
+ "number"
992
+ ],
993
+ "required": true
994
+ },
995
+ {
996
+ "id": "q1",
997
+ "description": "First quartile.",
998
+ "types": [
999
+ "number"
1000
+ ],
1001
+ "required": true
1002
+ },
1003
+ {
1004
+ "id": "median",
1005
+ "description": "Median.",
1006
+ "types": [
1007
+ "number"
1008
+ ],
1009
+ "required": true
1010
+ },
1011
+ {
1012
+ "id": "q3",
1013
+ "description": "Third quartile.",
1014
+ "types": [
1015
+ "number"
1016
+ ],
1017
+ "required": true
1018
+ },
1019
+ {
1020
+ "id": "max",
1021
+ "description": "Maximum or upper whisker.",
1022
+ "types": [
1023
+ "number"
1024
+ ],
1025
+ "required": true
1026
+ },
1027
+ {
1028
+ "id": "outliers",
1029
+ "description": "Optional array of outlier values.",
1030
+ "types": [
1031
+ "number-array"
1032
+ ]
1033
+ }
1034
+ ],
1035
+ "recommendedFor": [
1036
+ "distribution summary",
1037
+ "outlier comparison"
1038
+ ],
1039
+ "rowCount": {
1040
+ "idealMax": 100
1041
+ },
1042
+ "compatibleOptions": [
1043
+ "option.grid",
1044
+ "option.cursor-line",
1045
+ "option.guide-line",
1046
+ "option.spec-area",
1047
+ "option.legend",
1048
+ "option.tooltip",
1049
+ "option.animation",
1050
+ "option.tooltip-note",
1051
+ "option.render-complete"
1052
+ ],
1053
+ "tags": [
1054
+ "distribution",
1055
+ "statistics"
1056
+ ],
1057
+ "kind": "series",
1058
+ "apiKind": "factory",
1059
+ "importPath": "@keneth80/k-chart/series",
1060
+ "repositoryPath": "src/series/svg-distribution.ts",
1061
+ "browserOnly": true
1062
+ },
1063
+ {
1064
+ "id": "series.histogram.svg",
1065
+ "displayName": "SVG histogram",
1066
+ "description": "Pre-binned frequency distribution.",
1067
+ "apiName": "createHistogramSeries",
1068
+ "renderers": [
1069
+ "svg"
1070
+ ],
1071
+ "fieldRoles": [
1072
+ {
1073
+ "id": "binStart",
1074
+ "description": "Bin start.",
1075
+ "types": [
1076
+ "number"
1077
+ ],
1078
+ "required": true
1079
+ },
1080
+ {
1081
+ "id": "binEnd",
1082
+ "description": "Bin end.",
1083
+ "types": [
1084
+ "number"
1085
+ ],
1086
+ "required": true
1087
+ },
1088
+ {
1089
+ "id": "value",
1090
+ "description": "Bin count or density.",
1091
+ "types": [
1092
+ "number"
1093
+ ],
1094
+ "required": true
1095
+ }
1096
+ ],
1097
+ "recommendedFor": [
1098
+ "numeric frequency distribution"
1099
+ ],
1100
+ "rowCount": {
1101
+ "idealMax": 200
1102
+ },
1103
+ "tags": [
1104
+ "distribution",
1105
+ "statistics"
1106
+ ],
1107
+ "kind": "series",
1108
+ "apiKind": "factory",
1109
+ "importPath": "@keneth80/k-chart/series",
1110
+ "repositoryPath": "src/series/svg-distribution.ts",
1111
+ "browserOnly": true,
1112
+ "compatibleOptions": [
1113
+ "option.grid",
1114
+ "option.zoom",
1115
+ "option.cursor-line",
1116
+ "option.guide-line",
1117
+ "option.spec-area",
1118
+ "option.legend",
1119
+ "option.tooltip",
1120
+ "option.animation",
1121
+ "option.tooltip-note",
1122
+ "option.render-complete"
1123
+ ]
1124
+ },
1125
+ {
1126
+ "id": "series.treemap.svg",
1127
+ "displayName": "SVG treemap",
1128
+ "description": "Space-filling comparison of labeled values.",
1129
+ "apiName": "createTreemapSeries",
1130
+ "renderers": [
1131
+ "svg"
1132
+ ],
1133
+ "fieldRoles": [
1134
+ {
1135
+ "id": "label",
1136
+ "description": "Tile label.",
1137
+ "types": [
1138
+ "string"
1139
+ ],
1140
+ "required": true
1141
+ },
1142
+ {
1143
+ "id": "value",
1144
+ "description": "Tile area value.",
1145
+ "types": [
1146
+ "number"
1147
+ ],
1148
+ "required": true
1149
+ },
1150
+ {
1151
+ "id": "color",
1152
+ "description": "Optional category or color value.",
1153
+ "types": [
1154
+ "string",
1155
+ "number"
1156
+ ]
1157
+ }
1158
+ ],
1159
+ "recommendedFor": [
1160
+ "part-to-whole with many categories",
1161
+ "portfolio composition"
1162
+ ],
1163
+ "rowCount": {
1164
+ "idealMax": 500
1165
+ },
1166
+ "compatibleOptions": [
1167
+ "option.legend",
1168
+ "option.tooltip",
1169
+ "option.animation",
1170
+ "option.tooltip-note",
1171
+ "option.render-complete"
1172
+ ],
1173
+ "tags": [
1174
+ "hierarchy",
1175
+ "part-to-whole"
1176
+ ],
1177
+ "kind": "series",
1178
+ "apiKind": "factory",
1179
+ "importPath": "@keneth80/k-chart/series",
1180
+ "repositoryPath": "src/series/svg-dashboard.ts",
1181
+ "browserOnly": true
1182
+ },
1183
+ {
1184
+ "id": "series.gauge.svg",
1185
+ "displayName": "SVG gauge",
1186
+ "description": "Single KPI meter with a configurable range.",
1187
+ "apiName": "createGaugeSeries",
1188
+ "renderers": [
1189
+ "svg"
1190
+ ],
1191
+ "fieldRoles": [
1192
+ {
1193
+ "id": "value",
1194
+ "description": "Current KPI value.",
1195
+ "types": [
1196
+ "number"
1197
+ ],
1198
+ "required": true
1199
+ },
1200
+ {
1201
+ "id": "label",
1202
+ "description": "Optional KPI label.",
1203
+ "types": [
1204
+ "string"
1205
+ ]
1206
+ }
1207
+ ],
1208
+ "recommendedFor": [
1209
+ "single KPI against a known range"
1210
+ ],
1211
+ "avoidWhen": [
1212
+ "comparing many values"
1213
+ ],
1214
+ "rowCount": {
1215
+ "idealMax": 1
1216
+ },
1217
+ "compatibleOptions": [
1218
+ "option.legend",
1219
+ "option.tooltip",
1220
+ "option.animation",
1221
+ "option.tooltip-note",
1222
+ "option.render-complete"
1223
+ ],
1224
+ "tags": [
1225
+ "dashboard",
1226
+ "kpi"
1227
+ ],
1228
+ "kind": "series",
1229
+ "apiKind": "factory",
1230
+ "importPath": "@keneth80/k-chart/series",
1231
+ "repositoryPath": "src/series/svg-dashboard.ts",
1232
+ "browserOnly": true
1233
+ },
1234
+ {
1235
+ "id": "series.waterfall.svg",
1236
+ "displayName": "SVG waterfall",
1237
+ "description": "Running-total bridge chart with positive, negative, and total bars.",
1238
+ "apiName": "createWaterfallSeries",
1239
+ "renderers": [
1240
+ "svg"
1241
+ ],
1242
+ "fieldRoles": [
1243
+ {
1244
+ "id": "x",
1245
+ "description": "Horizontal position, category, or timestamp.",
1246
+ "types": [
1247
+ "number",
1248
+ "time",
1249
+ "string"
1250
+ ],
1251
+ "required": true
1252
+ },
1253
+ {
1254
+ "id": "value",
1255
+ "description": "Increment or decrement.",
1256
+ "types": [
1257
+ "number"
1258
+ ],
1259
+ "required": true
1260
+ },
1261
+ {
1262
+ "id": "total",
1263
+ "description": "Boolean or numeric total marker.",
1264
+ "types": [
1265
+ "boolean",
1266
+ "number"
1267
+ ]
1268
+ }
1269
+ ],
1270
+ "recommendedFor": [
1271
+ "variance bridges",
1272
+ "financial contribution analysis"
1273
+ ],
1274
+ "rowCount": {
1275
+ "idealMax": 50
1276
+ },
1277
+ "compatibleOptions": [
1278
+ "option.grid",
1279
+ "option.cursor-line",
1280
+ "option.guide-line",
1281
+ "option.spec-area",
1282
+ "option.legend",
1283
+ "option.tooltip",
1284
+ "option.animation",
1285
+ "option.tooltip-note",
1286
+ "option.render-complete"
1287
+ ],
1288
+ "tags": [
1289
+ "financial",
1290
+ "comparison"
1291
+ ],
1292
+ "kind": "series",
1293
+ "apiKind": "factory",
1294
+ "importPath": "@keneth80/k-chart/series",
1295
+ "repositoryPath": "src/series/svg-dashboard.ts",
1296
+ "browserOnly": true
1297
+ },
1298
+ {
1299
+ "id": "series.graph.svg",
1300
+ "displayName": "SVG graph",
1301
+ "description": "Force or circular node-link graph with selection and roaming.",
1302
+ "apiName": "createGraphSeries",
1303
+ "renderers": [
1304
+ "svg"
1305
+ ],
1306
+ "fieldRoles": [
1307
+ {
1308
+ "id": "source",
1309
+ "description": "Source node id.",
1310
+ "types": [
1311
+ "string"
1312
+ ],
1313
+ "required": true
1314
+ },
1315
+ {
1316
+ "id": "target",
1317
+ "description": "Target node id.",
1318
+ "types": [
1319
+ "string"
1320
+ ],
1321
+ "required": true
1322
+ },
1323
+ {
1324
+ "id": "value",
1325
+ "description": "Edge weight.",
1326
+ "types": [
1327
+ "number"
1328
+ ],
1329
+ "required": true
1330
+ },
1331
+ {
1332
+ "id": "category",
1333
+ "description": "Optional node category.",
1334
+ "types": [
1335
+ "string"
1336
+ ]
1337
+ }
1338
+ ],
1339
+ "recommendedFor": [
1340
+ "relationships",
1341
+ "dependencies",
1342
+ "network topology"
1343
+ ],
1344
+ "rowCount": {
1345
+ "idealMax": 2000
1346
+ },
1347
+ "compatibleOptions": [
1348
+ "option.legend",
1349
+ "option.tooltip",
1350
+ "option.animation",
1351
+ "option.tooltip-note",
1352
+ "option.render-complete"
1353
+ ],
1354
+ "tags": [
1355
+ "network",
1356
+ "relationship"
1357
+ ],
1358
+ "kind": "series",
1359
+ "apiKind": "factory",
1360
+ "importPath": "@keneth80/k-chart/series",
1361
+ "repositoryPath": "src/series/svg-graph.ts",
1362
+ "browserOnly": true
1363
+ },
1364
+ {
1365
+ "id": "series.tree.svg",
1366
+ "displayName": "SVG tree",
1367
+ "description": "Orthogonal or radial parent-child hierarchy with roaming.",
1368
+ "apiName": "createTreeSeries",
1369
+ "renderers": [
1370
+ "svg"
1371
+ ],
1372
+ "fieldRoles": [
1373
+ {
1374
+ "id": "id",
1375
+ "description": "Node id.",
1376
+ "types": [
1377
+ "string"
1378
+ ],
1379
+ "required": true
1380
+ },
1381
+ {
1382
+ "id": "parent",
1383
+ "description": "Parent node id.",
1384
+ "types": [
1385
+ "string"
1386
+ ],
1387
+ "required": true
1388
+ },
1389
+ {
1390
+ "id": "label",
1391
+ "description": "Display label.",
1392
+ "types": [
1393
+ "string"
1394
+ ]
1395
+ },
1396
+ {
1397
+ "id": "value",
1398
+ "description": "Optional node magnitude.",
1399
+ "types": [
1400
+ "number"
1401
+ ]
1402
+ }
1403
+ ],
1404
+ "recommendedFor": [
1405
+ "organization hierarchy",
1406
+ "taxonomy",
1407
+ "dependency tree"
1408
+ ],
1409
+ "rowCount": {
1410
+ "idealMax": 2000
1411
+ },
1412
+ "compatibleOptions": [
1413
+ "option.legend",
1414
+ "option.tooltip",
1415
+ "option.animation",
1416
+ "option.tooltip-note",
1417
+ "option.render-complete"
1418
+ ],
1419
+ "tags": [
1420
+ "hierarchy",
1421
+ "tree"
1422
+ ],
1423
+ "kind": "series",
1424
+ "apiKind": "factory",
1425
+ "importPath": "@keneth80/k-chart/series",
1426
+ "repositoryPath": "src/series/svg-tree.ts",
1427
+ "browserOnly": true
1428
+ },
1429
+ {
1430
+ "id": "series.sankey.svg",
1431
+ "displayName": "SVG Sankey",
1432
+ "description": "Weighted flow between source and target stages.",
1433
+ "apiName": "createSankeySeries",
1434
+ "renderers": [
1435
+ "svg"
1436
+ ],
1437
+ "fieldRoles": [
1438
+ {
1439
+ "id": "source",
1440
+ "description": "Flow source id.",
1441
+ "types": [
1442
+ "string"
1443
+ ],
1444
+ "required": true
1445
+ },
1446
+ {
1447
+ "id": "target",
1448
+ "description": "Flow target id.",
1449
+ "types": [
1450
+ "string"
1451
+ ],
1452
+ "required": true
1453
+ },
1454
+ {
1455
+ "id": "value",
1456
+ "description": "Flow magnitude.",
1457
+ "types": [
1458
+ "number"
1459
+ ],
1460
+ "required": true
1461
+ },
1462
+ {
1463
+ "id": "category",
1464
+ "description": "Optional node category.",
1465
+ "types": [
1466
+ "string"
1467
+ ]
1468
+ }
1469
+ ],
1470
+ "recommendedFor": [
1471
+ "process flow",
1472
+ "energy flow",
1473
+ "conversion paths"
1474
+ ],
1475
+ "rowCount": {
1476
+ "idealMax": 1000
1477
+ },
1478
+ "compatibleOptions": [
1479
+ "option.legend",
1480
+ "option.tooltip",
1481
+ "option.animation",
1482
+ "option.tooltip-note",
1483
+ "option.render-complete"
1484
+ ],
1485
+ "tags": [
1486
+ "flow",
1487
+ "network"
1488
+ ],
1489
+ "kind": "series",
1490
+ "apiKind": "factory",
1491
+ "importPath": "@keneth80/k-chart/series",
1492
+ "repositoryPath": "src/series/svg-sankey.ts",
1493
+ "browserOnly": true
1494
+ },
1495
+ {
1496
+ "id": "series.globe.svg",
1497
+ "displayName": "SVG globe",
1498
+ "description": "Draggable geographic globe with markers, zoom, and optional map drilldown.",
1499
+ "apiName": "createSvgGlobeSeries",
1500
+ "renderers": [
1501
+ "svg"
1502
+ ],
1503
+ "fieldRoles": [
1504
+ {
1505
+ "id": "latitude",
1506
+ "description": "Latitude in degrees.",
1507
+ "types": [
1508
+ "latitude",
1509
+ "number"
1510
+ ],
1511
+ "required": true
1512
+ },
1513
+ {
1514
+ "id": "longitude",
1515
+ "description": "Longitude in degrees.",
1516
+ "types": [
1517
+ "longitude",
1518
+ "number"
1519
+ ],
1520
+ "required": true
1521
+ },
1522
+ {
1523
+ "id": "label",
1524
+ "description": "Marker label.",
1525
+ "types": [
1526
+ "string"
1527
+ ]
1528
+ }
1529
+ ],
1530
+ "recommendedFor": [
1531
+ "global locations",
1532
+ "interactive geographic storytelling"
1533
+ ],
1534
+ "rowCount": {
1535
+ "idealMax": 1000
1536
+ },
1537
+ "compatibleOptions": [
1538
+ "option.tooltip",
1539
+ "option.animation",
1540
+ "option.render-complete"
1541
+ ],
1542
+ "tags": [
1543
+ "map",
1544
+ "globe",
1545
+ "geo"
1546
+ ],
1547
+ "kind": "series",
1548
+ "apiKind": "factory",
1549
+ "importPath": "@keneth80/k-chart/series",
1550
+ "repositoryPath": "src/series/svg-globe.ts",
1551
+ "browserOnly": true
1552
+ },
1553
+ {
1554
+ "id": "series.geo-region-map.svg",
1555
+ "displayName": "SVG region map",
1556
+ "description": "GeoJSON/TopoJSON choropleth with labels, markers, bubbles, and zoom.",
1557
+ "apiName": "createGeoRegionMapSeries",
1558
+ "renderers": [
1559
+ "svg"
1560
+ ],
1561
+ "fieldRoles": [
1562
+ {
1563
+ "id": "regionKey",
1564
+ "description": "Data key matched to a geographic feature.",
1565
+ "types": [
1566
+ "string"
1567
+ ]
1568
+ },
1569
+ {
1570
+ "id": "value",
1571
+ "description": "Numeric value used for labels or color.",
1572
+ "types": [
1573
+ "number"
1574
+ ]
1575
+ },
1576
+ {
1577
+ "id": "color",
1578
+ "description": "Explicit color field.",
1579
+ "types": [
1580
+ "string"
1581
+ ]
1582
+ }
1583
+ ],
1584
+ "recommendedFor": [
1585
+ "regional comparison",
1586
+ "choropleth maps",
1587
+ "location markers"
1588
+ ],
1589
+ "rowCount": {
1590
+ "idealMax": 5000
1591
+ },
1592
+ "compatibleOptions": [
1593
+ "option.tooltip",
1594
+ "option.animation",
1595
+ "option.render-complete"
1596
+ ],
1597
+ "tags": [
1598
+ "map",
1599
+ "geo",
1600
+ "choropleth"
1601
+ ],
1602
+ "kind": "series",
1603
+ "apiKind": "factory",
1604
+ "importPath": "@keneth80/k-chart/series",
1605
+ "repositoryPath": "src/series/svg-region-map.ts",
1606
+ "browserOnly": true
1607
+ },
1608
+ {
1609
+ "id": "series.world-country-map.svg",
1610
+ "displayName": "SVG world country map",
1611
+ "description": "World-country convenience wrapper backed by bundled world-atlas data.",
1612
+ "apiName": "createWorldCountryMapSeries",
1613
+ "renderers": [
1614
+ "svg"
1615
+ ],
1616
+ "fieldRoles": [
1617
+ {
1618
+ "id": "regionKey",
1619
+ "description": "Country id or key.",
1620
+ "types": [
1621
+ "string"
1622
+ ]
1623
+ },
1624
+ {
1625
+ "id": "value",
1626
+ "description": "Country value.",
1627
+ "types": [
1628
+ "number"
1629
+ ]
1630
+ }
1631
+ ],
1632
+ "recommendedFor": [
1633
+ "country-level global comparison"
1634
+ ],
1635
+ "rowCount": {
1636
+ "idealMax": 300
1637
+ },
1638
+ "compatibleOptions": [
1639
+ "option.tooltip",
1640
+ "option.animation",
1641
+ "option.render-complete"
1642
+ ],
1643
+ "tags": [
1644
+ "map",
1645
+ "world",
1646
+ "choropleth"
1647
+ ],
1648
+ "kind": "series",
1649
+ "apiKind": "factory",
1650
+ "importPath": "@keneth80/k-chart/series",
1651
+ "repositoryPath": "src/series/svg-region-map.ts",
1652
+ "browserOnly": true
1653
+ },
1654
+ {
1655
+ "id": "series.custom",
1656
+ "displayName": "Custom functional series",
1657
+ "description": "User-defined functional renderer with injected SVG, Canvas, WebGL, scales, and lifecycle.",
1658
+ "apiName": "createCustomSeries",
1659
+ "renderers": [
1660
+ "svg",
1661
+ "canvas",
1662
+ "webgl"
1663
+ ],
1664
+ "fieldRoles": [
1665
+ {
1666
+ "id": "x",
1667
+ "description": "Horizontal position, category, or timestamp.",
1668
+ "types": [
1669
+ "number",
1670
+ "time",
1671
+ "string"
1672
+ ],
1673
+ "required": false
1674
+ },
1675
+ {
1676
+ "id": "y",
1677
+ "description": "Numeric value rendered on the vertical axis.",
1678
+ "types": [
1679
+ "number"
1680
+ ],
1681
+ "required": false
1682
+ }
1683
+ ],
1684
+ "recommendedFor": [
1685
+ "domain-specific visualization",
1686
+ "hybrid rendering",
1687
+ "unsupported visual marks"
1688
+ ],
1689
+ "compatibleOptions": [
1690
+ "option.downsample.lttb",
1691
+ "option.grid",
1692
+ "option.zoom",
1693
+ "option.cursor-line",
1694
+ "option.guide-line",
1695
+ "option.spec-area",
1696
+ "option.legend",
1697
+ "option.tooltip",
1698
+ "option.animation",
1699
+ "option.tooltip-note",
1700
+ "option.render-complete"
1701
+ ],
1702
+ "tags": [
1703
+ "custom",
1704
+ "functional",
1705
+ "extension"
1706
+ ],
1707
+ "kind": "series",
1708
+ "apiKind": "factory",
1709
+ "importPath": "@keneth80/k-chart/series",
1710
+ "repositoryPath": "src/series/custom.ts",
1711
+ "browserOnly": true
1712
+ },
1713
+ {
1714
+ "id": "recipe.realtime.rolling-window",
1715
+ "displayName": "Realtime rolling window",
1716
+ "description": "A time-domain line updated in place while old points are evicted from a fixed-duration window.",
1717
+ "apiName": "createLineSeries",
1718
+ "renderers": [
1719
+ "svg",
1720
+ "canvas",
1721
+ "webgl"
1722
+ ],
1723
+ "fieldRoles": [
1724
+ {
1725
+ "id": "x",
1726
+ "description": "Horizontal position, category, or timestamp.",
1727
+ "types": [
1728
+ "number",
1729
+ "time",
1730
+ "string"
1731
+ ],
1732
+ "required": true
1733
+ },
1734
+ {
1735
+ "id": "y",
1736
+ "description": "Numeric value rendered on the vertical axis.",
1737
+ "types": [
1738
+ "number"
1739
+ ],
1740
+ "required": true
1741
+ }
1742
+ ],
1743
+ "recommendedFor": [
1744
+ "live telemetry",
1745
+ "monitoring dashboards"
1746
+ ],
1747
+ "rowCount": {
1748
+ "idealMax": 100000,
1749
+ "note": "Bound retained points and reuse updateData to avoid unbounded memory growth."
1750
+ },
1751
+ "compatibleOptions": [
1752
+ "option.downsample.lttb",
1753
+ "option.grid",
1754
+ "option.zoom",
1755
+ "option.cursor-line",
1756
+ "option.guide-line",
1757
+ "option.spec-area",
1758
+ "option.legend",
1759
+ "option.tooltip",
1760
+ "option.animation",
1761
+ "option.tooltip-note",
1762
+ "option.render-complete"
1763
+ ],
1764
+ "tags": [
1765
+ "recipe",
1766
+ "realtime",
1767
+ "time-series"
1768
+ ],
1769
+ "examplePaths": [
1770
+ "examples/realtime-time-series.ts"
1771
+ ],
1772
+ "kind": "recipe",
1773
+ "apiKind": "recipe",
1774
+ "importPath": "@keneth80/k-chart",
1775
+ "repositoryPath": "src/series/svg-line.ts",
1776
+ "browserOnly": true
1777
+ },
1778
+ {
1779
+ "id": "recipe.column.stacked",
1780
+ "displayName": "Stacked column recipe",
1781
+ "description": "Custom SVG recipe that stacks multiple numeric fields per category.",
1782
+ "apiName": "createCustomSeries",
1783
+ "renderers": [
1784
+ "svg"
1785
+ ],
1786
+ "fieldRoles": [
1787
+ {
1788
+ "id": "x",
1789
+ "description": "Horizontal position, category, or timestamp.",
1790
+ "types": [
1791
+ "number",
1792
+ "time",
1793
+ "string"
1794
+ ],
1795
+ "required": true
1796
+ },
1797
+ {
1798
+ "id": "segments",
1799
+ "description": "Numeric fields stacked within each category.",
1800
+ "types": [
1801
+ "number"
1802
+ ],
1803
+ "required": true,
1804
+ "multiple": true
1805
+ }
1806
+ ],
1807
+ "recommendedFor": [
1808
+ "part-to-whole comparison across categories"
1809
+ ],
1810
+ "compatibleOptions": [
1811
+ "option.grid",
1812
+ "option.cursor-line",
1813
+ "option.guide-line",
1814
+ "option.spec-area",
1815
+ "option.legend",
1816
+ "option.tooltip",
1817
+ "option.animation",
1818
+ "option.tooltip-note",
1819
+ "option.render-complete"
1820
+ ],
1821
+ "tags": [
1822
+ "recipe",
1823
+ "column",
1824
+ "stacked"
1825
+ ],
1826
+ "kind": "recipe",
1827
+ "apiKind": "recipe",
1828
+ "importPath": "@keneth80/k-chart",
1829
+ "repositoryPath": "src/series/custom.ts",
1830
+ "browserOnly": true
1831
+ },
1832
+ {
1833
+ "id": "recipe.radial.custom",
1834
+ "displayName": "Custom radial recipe",
1835
+ "description": "Functional SVG radial metric composition.",
1836
+ "apiName": "createCustomSeries",
1837
+ "renderers": [
1838
+ "svg"
1839
+ ],
1840
+ "fieldRoles": [
1841
+ {
1842
+ "id": "label",
1843
+ "description": "Metric label.",
1844
+ "types": [
1845
+ "string"
1846
+ ]
1847
+ },
1848
+ {
1849
+ "id": "value",
1850
+ "description": "Metric value.",
1851
+ "types": [
1852
+ "number"
1853
+ ],
1854
+ "required": true,
1855
+ "multiple": true
1856
+ }
1857
+ ],
1858
+ "recommendedFor": [
1859
+ "compact multi-metric dashboard summaries"
1860
+ ],
1861
+ "compatibleOptions": [
1862
+ "option.legend",
1863
+ "option.tooltip",
1864
+ "option.animation",
1865
+ "option.tooltip-note",
1866
+ "option.render-complete"
1867
+ ],
1868
+ "tags": [
1869
+ "recipe",
1870
+ "radial"
1871
+ ],
1872
+ "kind": "recipe",
1873
+ "apiKind": "recipe",
1874
+ "importPath": "@keneth80/k-chart",
1875
+ "repositoryPath": "src/series/custom.ts",
1876
+ "browserOnly": true
1877
+ },
1878
+ {
1879
+ "id": "recipe.topology.custom",
1880
+ "displayName": "Topology recipe",
1881
+ "description": "Custom functional SVG node-group topology with relationship highlighting.",
1882
+ "apiName": "createCustomSeries",
1883
+ "renderers": [
1884
+ "svg"
1885
+ ],
1886
+ "fieldRoles": [
1887
+ {
1888
+ "id": "source",
1889
+ "description": "Source node id.",
1890
+ "types": [
1891
+ "string"
1892
+ ],
1893
+ "required": true
1894
+ },
1895
+ {
1896
+ "id": "target",
1897
+ "description": "Target node id.",
1898
+ "types": [
1899
+ "string"
1900
+ ],
1901
+ "required": true
1902
+ }
1903
+ ],
1904
+ "recommendedFor": [
1905
+ "infrastructure topology",
1906
+ "grouped dependency maps"
1907
+ ],
1908
+ "compatibleOptions": [
1909
+ "option.legend",
1910
+ "option.tooltip",
1911
+ "option.animation",
1912
+ "option.tooltip-note",
1913
+ "option.render-complete"
1914
+ ],
1915
+ "tags": [
1916
+ "recipe",
1917
+ "topology",
1918
+ "network"
1919
+ ],
1920
+ "kind": "recipe",
1921
+ "apiKind": "recipe",
1922
+ "importPath": "@keneth80/k-chart",
1923
+ "repositoryPath": "src/series/custom.ts",
1924
+ "browserOnly": true
1925
+ },
1926
+ {
1927
+ "id": "option.grid",
1928
+ "kind": "option",
1929
+ "displayName": "Grid",
1930
+ "description": "Axis-aligned plot grid.",
1931
+ "apiKind": "config-property",
1932
+ "apiName": "KChartConfiguration.grid",
1933
+ "importPath": "@keneth80/k-chart",
1934
+ "renderers": [
1935
+ "svg",
1936
+ "canvas",
1937
+ "webgl"
1938
+ ],
1939
+ "fieldRoles": [],
1940
+ "recommendedFor": [
1941
+ "reading values across axes"
1942
+ ],
1943
+ "tags": [],
1944
+ "browserOnly": true,
1945
+ "repositoryPath": "src/core/contracts.ts"
1946
+ },
1947
+ {
1948
+ "id": "option.legend",
1949
+ "kind": "option",
1950
+ "displayName": "Legend",
1951
+ "description": "Selectable series legend.",
1952
+ "apiKind": "config-property",
1953
+ "apiName": "KChartConfiguration.legend",
1954
+ "importPath": "@keneth80/k-chart",
1955
+ "renderers": [
1956
+ "svg",
1957
+ "canvas",
1958
+ "webgl"
1959
+ ],
1960
+ "fieldRoles": [],
1961
+ "recommendedFor": [
1962
+ "multi-series identification and visibility"
1963
+ ],
1964
+ "tags": [],
1965
+ "browserOnly": true,
1966
+ "repositoryPath": "src/core/contracts.ts"
1967
+ },
1968
+ {
1969
+ "id": "option.tooltip",
1970
+ "kind": "option",
1971
+ "displayName": "Tooltip",
1972
+ "description": "Core hover tooltip with optional formatter.",
1973
+ "apiKind": "config-property",
1974
+ "apiName": "KChartConfiguration.tooltip",
1975
+ "importPath": "@keneth80/k-chart",
1976
+ "renderers": [
1977
+ "svg",
1978
+ "canvas",
1979
+ "webgl"
1980
+ ],
1981
+ "fieldRoles": [],
1982
+ "recommendedFor": [
1983
+ "point inspection"
1984
+ ],
1985
+ "tags": [],
1986
+ "browserOnly": true,
1987
+ "repositoryPath": "src/core/contracts.ts"
1988
+ },
1989
+ {
1990
+ "id": "option.zoom",
1991
+ "kind": "option",
1992
+ "displayName": "Zoom",
1993
+ "description": "Wheel, selection, and touch gesture zoom.",
1994
+ "apiKind": "config-property",
1995
+ "apiName": "KChartConfiguration.zoom",
1996
+ "importPath": "@keneth80/k-chart",
1997
+ "renderers": [
1998
+ "svg",
1999
+ "canvas",
2000
+ "webgl"
2001
+ ],
2002
+ "fieldRoles": [],
2003
+ "recommendedFor": [
2004
+ "dense numeric or time domains"
2005
+ ],
2006
+ "tags": [],
2007
+ "browserOnly": true,
2008
+ "repositoryPath": "src/core/contracts.ts"
2009
+ },
2010
+ {
2011
+ "id": "option.animation",
2012
+ "kind": "option",
2013
+ "displayName": "Animation",
2014
+ "description": "Enter and update animation with reduced-motion support.",
2015
+ "apiKind": "config-property",
2016
+ "apiName": "KChartConfiguration.animation",
2017
+ "importPath": "@keneth80/k-chart",
2018
+ "renderers": [
2019
+ "svg",
2020
+ "canvas",
2021
+ "webgl"
2022
+ ],
2023
+ "fieldRoles": [],
2024
+ "recommendedFor": [
2025
+ "state transitions",
2026
+ "realtime updates"
2027
+ ],
2028
+ "tags": [],
2029
+ "browserOnly": true,
2030
+ "repositoryPath": "src/core/contracts.ts"
2031
+ },
2032
+ {
2033
+ "id": "option.downsample.lttb",
2034
+ "kind": "option",
2035
+ "displayName": "LTTB downsampling",
2036
+ "description": "Largest-Triangle-Three-Buckets reduction for dense lines.",
2037
+ "apiKind": "config-property",
2038
+ "apiName": "KChartSeries.downsample",
2039
+ "importPath": "@keneth80/k-chart",
2040
+ "renderers": [
2041
+ "svg",
2042
+ "canvas",
2043
+ "webgl"
2044
+ ],
2045
+ "fieldRoles": [],
2046
+ "recommendedFor": [
2047
+ "large line datasets"
2048
+ ],
2049
+ "tags": [
2050
+ "performance"
2051
+ ],
2052
+ "browserOnly": true,
2053
+ "repositoryPath": "src/core/contracts.ts"
2054
+ },
2055
+ {
2056
+ "id": "option.cursor-line",
2057
+ "kind": "option",
2058
+ "displayName": "Cursor line",
2059
+ "description": "Pointer-following guide with x and value labels.",
2060
+ "apiKind": "factory",
2061
+ "apiName": "createCursorLineOption",
2062
+ "importPath": "@keneth80/k-chart/options",
2063
+ "renderers": [
2064
+ "svg",
2065
+ "canvas",
2066
+ "webgl"
2067
+ ],
2068
+ "fieldRoles": [],
2069
+ "recommendedFor": [
2070
+ "cross-series value comparison"
2071
+ ],
2072
+ "tags": [],
2073
+ "browserOnly": true,
2074
+ "repositoryPath": "src/options/cursor-line.ts"
2075
+ },
2076
+ {
2077
+ "id": "option.guide-line",
2078
+ "kind": "option",
2079
+ "displayName": "Fixed guide lines",
2080
+ "description": "Fixed x or y reference lines with labels.",
2081
+ "apiKind": "factory",
2082
+ "apiName": "createGuideLineOption",
2083
+ "importPath": "@keneth80/k-chart/options",
2084
+ "renderers": [
2085
+ "svg",
2086
+ "canvas",
2087
+ "webgl"
2088
+ ],
2089
+ "fieldRoles": [],
2090
+ "recommendedFor": [
2091
+ "thresholds",
2092
+ "targets",
2093
+ "events"
2094
+ ],
2095
+ "tags": [],
2096
+ "browserOnly": true,
2097
+ "repositoryPath": "src/options/guide-line.ts"
2098
+ },
2099
+ {
2100
+ "id": "option.spec-area",
2101
+ "kind": "option",
2102
+ "displayName": "Specification area",
2103
+ "description": "Highlighted ranges on numeric or time axes.",
2104
+ "apiKind": "factory",
2105
+ "apiName": "createSpecAreaOption",
2106
+ "importPath": "@keneth80/k-chart/options",
2107
+ "renderers": [
2108
+ "svg",
2109
+ "canvas",
2110
+ "webgl"
2111
+ ],
2112
+ "fieldRoles": [],
2113
+ "recommendedFor": [
2114
+ "acceptable ranges",
2115
+ "process stages"
2116
+ ],
2117
+ "tags": [],
2118
+ "browserOnly": true,
2119
+ "repositoryPath": "src/options/spec-area.ts"
2120
+ },
2121
+ {
2122
+ "id": "option.tooltip-note",
2123
+ "kind": "option",
2124
+ "displayName": "Pinned tooltip note",
2125
+ "description": "Draggable persistent tooltip annotations with notes.",
2126
+ "apiKind": "factory",
2127
+ "apiName": "createTooltipNoteOption",
2128
+ "importPath": "@keneth80/k-chart/options",
2129
+ "renderers": [
2130
+ "svg",
2131
+ "canvas",
2132
+ "webgl"
2133
+ ],
2134
+ "fieldRoles": [],
2135
+ "recommendedFor": [
2136
+ "analysis notes",
2137
+ "review workflows"
2138
+ ],
2139
+ "tags": [],
2140
+ "browserOnly": true,
2141
+ "repositoryPath": "src/options/tooltip-note.ts"
2142
+ },
2143
+ {
2144
+ "id": "option.render-complete",
2145
+ "kind": "option",
2146
+ "displayName": "Render completion",
2147
+ "description": "Promise and callback signal covering asynchronous renderer commits.",
2148
+ "apiKind": "controller-method",
2149
+ "apiName": "KChartController.whenRenderComplete",
2150
+ "importPath": "@keneth80/k-chart",
2151
+ "renderers": [
2152
+ "svg",
2153
+ "canvas",
2154
+ "webgl"
2155
+ ],
2156
+ "fieldRoles": [],
2157
+ "recommendedFor": [
2158
+ "benchmarking",
2159
+ "export after paint",
2160
+ "loading state"
2161
+ ],
2162
+ "tags": [],
2163
+ "browserOnly": true,
2164
+ "repositoryPath": "src/core/contracts.ts"
2165
+ },
2166
+ {
2167
+ "id": "adapter.three.scene",
2168
+ "kind": "adapter",
2169
+ "apiKind": "factory",
2170
+ "displayName": "Three.js adapter",
2171
+ "description": "Optional Three.js scene and wafer visualization wrapper.",
2172
+ "apiName": "createKThreeScene",
2173
+ "importPath": "@keneth80/k-chart-three",
2174
+ "packageName": "@keneth80/k-chart-three",
2175
+ "renderers": [
2176
+ "webgl"
2177
+ ],
2178
+ "fieldRoles": [],
2179
+ "recommendedFor": [
2180
+ "3D objects",
2181
+ "wafer monitoring",
2182
+ "custom 3D visualization"
2183
+ ],
2184
+ "tags": [
2185
+ "adapter",
2186
+ "three",
2187
+ "3d"
2188
+ ],
2189
+ "repositoryPath": "packages/k-chart-three/src/index.ts",
2190
+ "browserOnly": true,
2191
+ "requires": [
2192
+ "@keneth80/k-chart",
2193
+ "three"
2194
+ ]
2195
+ },
2196
+ {
2197
+ "id": "adapter.cesium.globe",
2198
+ "kind": "adapter",
2199
+ "apiKind": "factory",
2200
+ "displayName": "Cesium globe adapter",
2201
+ "description": "Optional CesiumJS globe and route wrapper with user-supplied providers and tokens.",
2202
+ "apiName": "createCesiumGlobe",
2203
+ "importPath": "@keneth80/k-chart-cesium",
2204
+ "packageName": "@keneth80/k-chart-cesium",
2205
+ "renderers": [
2206
+ "webgl"
2207
+ ],
2208
+ "fieldRoles": [
2209
+ {
2210
+ "id": "latitude",
2211
+ "description": "Route latitude.",
2212
+ "types": [
2213
+ "latitude",
2214
+ "number"
2215
+ ]
2216
+ },
2217
+ {
2218
+ "id": "longitude",
2219
+ "description": "Route longitude.",
2220
+ "types": [
2221
+ "longitude",
2222
+ "number"
2223
+ ]
2224
+ }
2225
+ ],
2226
+ "recommendedFor": [
2227
+ "3D globe routes",
2228
+ "terrain and imagery providers"
2229
+ ],
2230
+ "tags": [
2231
+ "adapter",
2232
+ "cesium",
2233
+ "geo"
2234
+ ],
2235
+ "repositoryPath": "packages/k-chart-cesium/src/index.ts",
2236
+ "browserOnly": true,
2237
+ "requires": [
2238
+ "@cesium/engine",
2239
+ "@cesium/widgets",
2240
+ "cesium"
2241
+ ]
2242
+ },
2243
+ {
2244
+ "id": "adapter.maplibre.flat-map",
2245
+ "kind": "adapter",
2246
+ "apiKind": "factory",
2247
+ "displayName": "MapLibre adapter",
2248
+ "description": "Optional real-map drilldown and place marker wrapper.",
2249
+ "apiName": "createMapLibreFlatMap",
2250
+ "importPath": "@keneth80/k-chart-maplibre",
2251
+ "packageName": "@keneth80/k-chart-maplibre",
2252
+ "renderers": [
2253
+ "webgl"
2254
+ ],
2255
+ "fieldRoles": [
2256
+ {
2257
+ "id": "latitude",
2258
+ "description": "Place latitude.",
2259
+ "types": [
2260
+ "latitude",
2261
+ "number"
2262
+ ]
2263
+ },
2264
+ {
2265
+ "id": "longitude",
2266
+ "description": "Place longitude.",
2267
+ "types": [
2268
+ "longitude",
2269
+ "number"
2270
+ ]
2271
+ }
2272
+ ],
2273
+ "recommendedFor": [
2274
+ "street-level maps",
2275
+ "place search",
2276
+ "globe-to-map drilldown"
2277
+ ],
2278
+ "tags": [
2279
+ "adapter",
2280
+ "maplibre",
2281
+ "geo"
2282
+ ],
2283
+ "repositoryPath": "packages/k-chart-maplibre/src/index.ts",
2284
+ "browserOnly": true,
2285
+ "requires": [
2286
+ "@keneth80/k-chart",
2287
+ "maplibre-gl"
2288
+ ]
2289
+ }
2290
+ ]
2291
+ }