@g9tm/lynxcontrols-charts 2.3.0 → 2.4.1

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,2508 @@
1
+ {
2
+ "catalogVersion": 1,
3
+ "package": "@g9tm/lynxcontrols-charts",
4
+ "version": "2.4.1",
5
+ "generatedBy": "node scripts/check-docs.mjs --write",
6
+ "components": [
7
+ {
8
+ "id": "charts.charts.G9BarChart",
9
+ "export": "G9BarChart",
10
+ "from": "@g9tm/lynxcontrols-charts",
11
+ "kind": "component",
12
+ "family": "charts",
13
+ "summary": "Bars (SAC hourly, G9Hub admin BarChart, ShopManager Bars).",
14
+ "since": null,
15
+ "props": [
16
+ {
17
+ "name": "accessibilityLabel",
18
+ "type": {
19
+ "kind": "string"
20
+ },
21
+ "required": false,
22
+ "serializable": true,
23
+ "role": "identity"
24
+ },
25
+ {
26
+ "name": "className",
27
+ "type": {
28
+ "kind": "string"
29
+ },
30
+ "required": false,
31
+ "serializable": true,
32
+ "role": "appearance"
33
+ },
34
+ {
35
+ "name": "color",
36
+ "type": {
37
+ "kind": "color"
38
+ },
39
+ "required": false,
40
+ "serializable": true,
41
+ "role": "behaviour"
42
+ },
43
+ {
44
+ "name": "everyX",
45
+ "type": {
46
+ "kind": "number"
47
+ },
48
+ "required": false,
49
+ "serializable": true,
50
+ "role": "behaviour"
51
+ },
52
+ {
53
+ "name": "height",
54
+ "type": {
55
+ "kind": "number"
56
+ },
57
+ "required": false,
58
+ "default": 180,
59
+ "serializable": true,
60
+ "role": "behaviour",
61
+ "doc": "Default 180."
62
+ },
63
+ {
64
+ "name": "highlightIndex",
65
+ "type": {
66
+ "kind": "number"
67
+ },
68
+ "required": false,
69
+ "serializable": true,
70
+ "role": "behaviour"
71
+ },
72
+ {
73
+ "name": "id",
74
+ "type": {
75
+ "kind": "string"
76
+ },
77
+ "required": false,
78
+ "serializable": true,
79
+ "role": "identity"
80
+ },
81
+ {
82
+ "name": "legend",
83
+ "type": {
84
+ "kind": "array",
85
+ "items": {
86
+ "kind": "object",
87
+ "fields": [
88
+ {
89
+ "name": "label",
90
+ "required": true,
91
+ "type": {
92
+ "kind": "string"
93
+ },
94
+ "serializable": true
95
+ },
96
+ {
97
+ "name": "color",
98
+ "required": true,
99
+ "type": {
100
+ "kind": "color"
101
+ },
102
+ "serializable": true
103
+ }
104
+ ]
105
+ }
106
+ },
107
+ "required": false,
108
+ "serializable": true,
109
+ "role": "behaviour",
110
+ "doc": "Legend entries."
111
+ },
112
+ {
113
+ "name": "style",
114
+ "type": {
115
+ "kind": "object",
116
+ "name": "style",
117
+ "map": {
118
+ "kind": "union",
119
+ "of": [
120
+ {
121
+ "kind": "string"
122
+ },
123
+ {
124
+ "kind": "number"
125
+ }
126
+ ]
127
+ }
128
+ },
129
+ "required": false,
130
+ "serializable": true,
131
+ "role": "appearance"
132
+ },
133
+ {
134
+ "name": "tooltip",
135
+ "type": {
136
+ "kind": "event",
137
+ "payload": "index: number",
138
+ "returns": "string"
139
+ },
140
+ "required": false,
141
+ "serializable": false,
142
+ "role": "event",
143
+ "doc": "Tooltip text for slot i; omitted, no tooltip."
144
+ },
145
+ {
146
+ "name": "values",
147
+ "type": {
148
+ "kind": "array",
149
+ "items": {
150
+ "kind": "number"
151
+ }
152
+ },
153
+ "required": true,
154
+ "serializable": true,
155
+ "role": "behaviour"
156
+ },
157
+ {
158
+ "name": "width",
159
+ "type": {
160
+ "kind": "number"
161
+ },
162
+ "required": false,
163
+ "serializable": true,
164
+ "role": "behaviour",
165
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
166
+ },
167
+ {
168
+ "name": "xLabels",
169
+ "type": {
170
+ "kind": "array",
171
+ "items": {
172
+ "kind": "string"
173
+ }
174
+ },
175
+ "required": false,
176
+ "serializable": true,
177
+ "role": "behaviour",
178
+ "doc": "Labels under the slots (shown every `everyX`-th)."
179
+ },
180
+ {
181
+ "name": "yFormat",
182
+ "type": {
183
+ "kind": "event",
184
+ "payload": "v: number",
185
+ "returns": "string"
186
+ },
187
+ "required": false,
188
+ "serializable": false,
189
+ "role": "event",
190
+ "doc": "How a y tick reads. Default the culture's number."
191
+ }
192
+ ],
193
+ "anchor": null,
194
+ "accessibility": {
195
+ "labelFrom": [
196
+ "accessibilityLabel"
197
+ ],
198
+ "labelRequired": false
199
+ },
200
+ "targets": {
201
+ "android": "unmeasured",
202
+ "ios": "unmeasured",
203
+ "windows": "unmeasured",
204
+ "macos": "unmeasured",
205
+ "web": "verified"
206
+ },
207
+ "evidence": {
208
+ "ledger": [
209
+ "N-122"
210
+ ]
211
+ },
212
+ "tokens": [
213
+ "InverseOnSurface",
214
+ "InverseSurface",
215
+ "Outline",
216
+ "TextPrimary",
217
+ "TextSecondary",
218
+ "TextTertiary"
219
+ ],
220
+ "example": {
221
+ "line": "<G9BarChart values={values} />",
222
+ "from": "generated"
223
+ }
224
+ },
225
+ {
226
+ "id": "charts.charts.G9CandleChart",
227
+ "export": "G9CandleChart",
228
+ "from": "@g9tm/lynxcontrols-charts",
229
+ "kind": "component",
230
+ "family": "charts",
231
+ "summary": "Candlesticks (Riskara Candles): success colour up, error colour down, the last close dashed.",
232
+ "since": null,
233
+ "props": [
234
+ {
235
+ "name": "accessibilityLabel",
236
+ "type": {
237
+ "kind": "string"
238
+ },
239
+ "required": false,
240
+ "serializable": true,
241
+ "role": "identity"
242
+ },
243
+ {
244
+ "name": "candles",
245
+ "type": {
246
+ "kind": "array",
247
+ "items": {
248
+ "kind": "object",
249
+ "fields": [
250
+ {
251
+ "name": "open",
252
+ "required": true,
253
+ "type": {
254
+ "kind": "number"
255
+ },
256
+ "serializable": true
257
+ },
258
+ {
259
+ "name": "high",
260
+ "required": true,
261
+ "type": {
262
+ "kind": "number"
263
+ },
264
+ "serializable": true
265
+ },
266
+ {
267
+ "name": "low",
268
+ "required": true,
269
+ "type": {
270
+ "kind": "number"
271
+ },
272
+ "serializable": true
273
+ },
274
+ {
275
+ "name": "close",
276
+ "required": true,
277
+ "type": {
278
+ "kind": "number"
279
+ },
280
+ "serializable": true
281
+ }
282
+ ]
283
+ }
284
+ },
285
+ "required": true,
286
+ "serializable": true,
287
+ "role": "behaviour"
288
+ },
289
+ {
290
+ "name": "className",
291
+ "type": {
292
+ "kind": "string"
293
+ },
294
+ "required": false,
295
+ "serializable": true,
296
+ "role": "appearance"
297
+ },
298
+ {
299
+ "name": "everyX",
300
+ "type": {
301
+ "kind": "number"
302
+ },
303
+ "required": false,
304
+ "serializable": true,
305
+ "role": "behaviour"
306
+ },
307
+ {
308
+ "name": "height",
309
+ "type": {
310
+ "kind": "number"
311
+ },
312
+ "required": false,
313
+ "default": 180,
314
+ "serializable": true,
315
+ "role": "behaviour",
316
+ "doc": "Default 180."
317
+ },
318
+ {
319
+ "name": "id",
320
+ "type": {
321
+ "kind": "string"
322
+ },
323
+ "required": false,
324
+ "serializable": true,
325
+ "role": "identity"
326
+ },
327
+ {
328
+ "name": "legend",
329
+ "type": {
330
+ "kind": "array",
331
+ "items": {
332
+ "kind": "object",
333
+ "fields": [
334
+ {
335
+ "name": "label",
336
+ "required": true,
337
+ "type": {
338
+ "kind": "string"
339
+ },
340
+ "serializable": true
341
+ },
342
+ {
343
+ "name": "color",
344
+ "required": true,
345
+ "type": {
346
+ "kind": "color"
347
+ },
348
+ "serializable": true
349
+ }
350
+ ]
351
+ }
352
+ },
353
+ "required": false,
354
+ "serializable": true,
355
+ "role": "behaviour",
356
+ "doc": "Legend entries."
357
+ },
358
+ {
359
+ "name": "style",
360
+ "type": {
361
+ "kind": "object",
362
+ "name": "style",
363
+ "map": {
364
+ "kind": "union",
365
+ "of": [
366
+ {
367
+ "kind": "string"
368
+ },
369
+ {
370
+ "kind": "number"
371
+ }
372
+ ]
373
+ }
374
+ },
375
+ "required": false,
376
+ "serializable": true,
377
+ "role": "appearance"
378
+ },
379
+ {
380
+ "name": "tooltip",
381
+ "type": {
382
+ "kind": "event",
383
+ "payload": "index: number",
384
+ "returns": "string"
385
+ },
386
+ "required": false,
387
+ "serializable": false,
388
+ "role": "event",
389
+ "doc": "Tooltip text for slot i; omitted, no tooltip."
390
+ },
391
+ {
392
+ "name": "width",
393
+ "type": {
394
+ "kind": "number"
395
+ },
396
+ "required": false,
397
+ "serializable": true,
398
+ "role": "behaviour",
399
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
400
+ },
401
+ {
402
+ "name": "xLabels",
403
+ "type": {
404
+ "kind": "array",
405
+ "items": {
406
+ "kind": "string"
407
+ }
408
+ },
409
+ "required": false,
410
+ "serializable": true,
411
+ "role": "behaviour",
412
+ "doc": "Labels under the slots (shown every `everyX`-th)."
413
+ },
414
+ {
415
+ "name": "yFormat",
416
+ "type": {
417
+ "kind": "event",
418
+ "payload": "v: number",
419
+ "returns": "string"
420
+ },
421
+ "required": false,
422
+ "serializable": false,
423
+ "role": "event",
424
+ "doc": "How a y tick reads. Default the culture's number."
425
+ }
426
+ ],
427
+ "anchor": null,
428
+ "accessibility": {
429
+ "labelFrom": [
430
+ "accessibilityLabel"
431
+ ],
432
+ "labelRequired": false
433
+ },
434
+ "targets": {
435
+ "android": "unmeasured",
436
+ "ios": "unmeasured",
437
+ "windows": "unmeasured",
438
+ "macos": "unmeasured",
439
+ "web": "verified"
440
+ },
441
+ "evidence": {
442
+ "ledger": [
443
+ "N-122"
444
+ ]
445
+ },
446
+ "tokens": [
447
+ "InverseOnSurface",
448
+ "InverseSurface",
449
+ "Outline",
450
+ "TextPrimary",
451
+ "TextSecondary",
452
+ "TextTertiary"
453
+ ],
454
+ "example": {
455
+ "line": "<G9CandleChart candles={candles} />",
456
+ "from": "generated"
457
+ }
458
+ },
459
+ {
460
+ "id": "charts.charts.G9ChartBox",
461
+ "export": "G9ChartBox",
462
+ "from": "@g9tm/lynxcontrols-charts",
463
+ "kind": "component",
464
+ "family": "charts",
465
+ "summary": "A chart in its frame (SAC kit ChartBox): y labels on the end side in the reading direction (right in RTL), x labels under, a legend, and a tooltip that follows the finger to the nearest slot. The SVG is rebuilt only when the data or the width change; a theme switch rebuilds it once (SVG cannot read CSS variables).",
466
+ "since": null,
467
+ "props": [
468
+ {
469
+ "name": "accessibilityLabel",
470
+ "type": {
471
+ "kind": "string"
472
+ },
473
+ "required": false,
474
+ "serializable": true,
475
+ "role": "identity"
476
+ },
477
+ {
478
+ "name": "build",
479
+ "type": {
480
+ "kind": "event",
481
+ "payload": "width: number, height: number, palette: G9PaletteValues",
482
+ "returns": "G9BuiltChart"
483
+ },
484
+ "required": true,
485
+ "serializable": false,
486
+ "role": "event",
487
+ "doc": "Builds the chart for a width (memoised by the box)."
488
+ },
489
+ {
490
+ "name": "className",
491
+ "type": {
492
+ "kind": "string"
493
+ },
494
+ "required": false,
495
+ "serializable": true,
496
+ "role": "appearance"
497
+ },
498
+ {
499
+ "name": "deps",
500
+ "type": {
501
+ "kind": "array",
502
+ "items": {
503
+ "kind": "unknown",
504
+ "text": "{}"
505
+ }
506
+ },
507
+ "required": true,
508
+ "serializable": false,
509
+ "role": "behaviour",
510
+ "doc": "Rebuild keys (the data): the chart is rebuilt only when these or the width change."
511
+ },
512
+ {
513
+ "name": "everyX",
514
+ "type": {
515
+ "kind": "number"
516
+ },
517
+ "required": false,
518
+ "serializable": true,
519
+ "role": "behaviour"
520
+ },
521
+ {
522
+ "name": "height",
523
+ "type": {
524
+ "kind": "number"
525
+ },
526
+ "required": false,
527
+ "default": 180,
528
+ "serializable": true,
529
+ "role": "behaviour",
530
+ "doc": "Default 180."
531
+ },
532
+ {
533
+ "name": "id",
534
+ "type": {
535
+ "kind": "string"
536
+ },
537
+ "required": false,
538
+ "serializable": true,
539
+ "role": "identity"
540
+ },
541
+ {
542
+ "name": "legend",
543
+ "type": {
544
+ "kind": "array",
545
+ "items": {
546
+ "kind": "object",
547
+ "fields": [
548
+ {
549
+ "name": "label",
550
+ "required": true,
551
+ "type": {
552
+ "kind": "string"
553
+ },
554
+ "serializable": true
555
+ },
556
+ {
557
+ "name": "color",
558
+ "required": true,
559
+ "type": {
560
+ "kind": "color"
561
+ },
562
+ "serializable": true
563
+ }
564
+ ]
565
+ }
566
+ },
567
+ "required": false,
568
+ "serializable": true,
569
+ "role": "behaviour",
570
+ "doc": "Legend entries."
571
+ },
572
+ {
573
+ "name": "style",
574
+ "type": {
575
+ "kind": "object",
576
+ "name": "style",
577
+ "map": {
578
+ "kind": "union",
579
+ "of": [
580
+ {
581
+ "kind": "string"
582
+ },
583
+ {
584
+ "kind": "number"
585
+ }
586
+ ]
587
+ }
588
+ },
589
+ "required": false,
590
+ "serializable": true,
591
+ "role": "appearance"
592
+ },
593
+ {
594
+ "name": "tooltip",
595
+ "type": {
596
+ "kind": "event",
597
+ "payload": "index: number",
598
+ "returns": "string"
599
+ },
600
+ "required": false,
601
+ "serializable": false,
602
+ "role": "event",
603
+ "doc": "Tooltip text for slot i; omitted, no tooltip."
604
+ },
605
+ {
606
+ "name": "width",
607
+ "type": {
608
+ "kind": "number"
609
+ },
610
+ "required": false,
611
+ "serializable": true,
612
+ "role": "behaviour",
613
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
614
+ },
615
+ {
616
+ "name": "xLabels",
617
+ "type": {
618
+ "kind": "array",
619
+ "items": {
620
+ "kind": "string"
621
+ }
622
+ },
623
+ "required": false,
624
+ "serializable": true,
625
+ "role": "behaviour",
626
+ "doc": "Labels under the slots (shown every `everyX`-th)."
627
+ },
628
+ {
629
+ "name": "yFormat",
630
+ "type": {
631
+ "kind": "event",
632
+ "payload": "v: number",
633
+ "returns": "string"
634
+ },
635
+ "required": false,
636
+ "serializable": false,
637
+ "role": "event",
638
+ "doc": "How a y tick reads. Default the culture's number."
639
+ }
640
+ ],
641
+ "anchor": null,
642
+ "accessibility": {
643
+ "labelFrom": [
644
+ "accessibilityLabel"
645
+ ],
646
+ "labelRequired": false
647
+ },
648
+ "targets": {
649
+ "android": "unmeasured",
650
+ "ios": "unmeasured",
651
+ "windows": "unmeasured",
652
+ "macos": "unmeasured",
653
+ "web": "verified"
654
+ },
655
+ "evidence": {
656
+ "ledger": [
657
+ "N-122"
658
+ ]
659
+ },
660
+ "tokens": [
661
+ "InverseOnSurface",
662
+ "InverseSurface",
663
+ "Outline",
664
+ "TextPrimary",
665
+ "TextSecondary",
666
+ "TextTertiary"
667
+ ],
668
+ "example": {
669
+ "line": "<G9ChartBox build={build} deps={deps} />",
670
+ "from": "generated"
671
+ }
672
+ },
673
+ {
674
+ "id": "charts.charts.G9Donut",
675
+ "export": "G9Donut",
676
+ "from": "@g9tm/lynxcontrols-charts",
677
+ "kind": "component",
678
+ "family": "charts",
679
+ "summary": "A donut with its legend and shares (SAC DonutBox, Riskara Donut); at most about six slices read well.",
680
+ "since": null,
681
+ "props": [
682
+ {
683
+ "name": "accessibilityLabel",
684
+ "type": {
685
+ "kind": "string"
686
+ },
687
+ "required": false,
688
+ "serializable": true,
689
+ "role": "identity"
690
+ },
691
+ {
692
+ "name": "children",
693
+ "type": {
694
+ "kind": "slot",
695
+ "accepts": "any"
696
+ },
697
+ "required": false,
698
+ "serializable": false,
699
+ "role": "slot",
700
+ "doc": "In the hole (a total, a percentage)."
701
+ },
702
+ {
703
+ "name": "className",
704
+ "type": {
705
+ "kind": "string"
706
+ },
707
+ "required": false,
708
+ "serializable": true,
709
+ "role": "appearance"
710
+ },
711
+ {
712
+ "name": "id",
713
+ "type": {
714
+ "kind": "string"
715
+ },
716
+ "required": false,
717
+ "serializable": true,
718
+ "role": "identity"
719
+ },
720
+ {
721
+ "name": "legend",
722
+ "type": {
723
+ "kind": "boolean"
724
+ },
725
+ "required": false,
726
+ "default": true,
727
+ "serializable": true,
728
+ "role": "behaviour",
729
+ "doc": "A legend with shares beside (wide) or under the donut. Default true."
730
+ },
731
+ {
732
+ "name": "size",
733
+ "type": {
734
+ "kind": "number"
735
+ },
736
+ "required": false,
737
+ "default": 160,
738
+ "serializable": true,
739
+ "role": "appearance",
740
+ "doc": "Default 160."
741
+ },
742
+ {
743
+ "name": "slices",
744
+ "type": {
745
+ "kind": "array",
746
+ "items": {
747
+ "kind": "object",
748
+ "fields": [
749
+ {
750
+ "name": "label",
751
+ "required": true,
752
+ "type": {
753
+ "kind": "string"
754
+ },
755
+ "serializable": true
756
+ },
757
+ {
758
+ "name": "value",
759
+ "required": true,
760
+ "type": {
761
+ "kind": "number"
762
+ },
763
+ "serializable": true
764
+ },
765
+ {
766
+ "name": "color",
767
+ "required": false,
768
+ "type": {
769
+ "kind": "color"
770
+ },
771
+ "serializable": true
772
+ },
773
+ {
774
+ "name": "text",
775
+ "required": false,
776
+ "type": {
777
+ "kind": "string"
778
+ },
779
+ "serializable": true
780
+ }
781
+ ]
782
+ }
783
+ },
784
+ "required": true,
785
+ "serializable": true,
786
+ "role": "behaviour"
787
+ },
788
+ {
789
+ "name": "style",
790
+ "type": {
791
+ "kind": "object",
792
+ "name": "style",
793
+ "map": {
794
+ "kind": "union",
795
+ "of": [
796
+ {
797
+ "kind": "string"
798
+ },
799
+ {
800
+ "kind": "number"
801
+ }
802
+ ]
803
+ }
804
+ },
805
+ "required": false,
806
+ "serializable": true,
807
+ "role": "appearance"
808
+ },
809
+ {
810
+ "name": "thickness",
811
+ "type": {
812
+ "kind": "number"
813
+ },
814
+ "required": false,
815
+ "default": 18,
816
+ "serializable": true,
817
+ "role": "behaviour",
818
+ "doc": "Default 18."
819
+ },
820
+ {
821
+ "name": "width",
822
+ "type": {
823
+ "kind": "number"
824
+ },
825
+ "required": false,
826
+ "serializable": true,
827
+ "role": "behaviour",
828
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
829
+ }
830
+ ],
831
+ "anchor": null,
832
+ "accessibility": {
833
+ "labelFrom": [
834
+ "accessibilityLabel"
835
+ ],
836
+ "labelRequired": false
837
+ },
838
+ "targets": {
839
+ "android": "unmeasured",
840
+ "ios": "unmeasured",
841
+ "windows": "unmeasured",
842
+ "macos": "unmeasured",
843
+ "web": "verified"
844
+ },
845
+ "evidence": {
846
+ "ledger": [
847
+ "N-122"
848
+ ]
849
+ },
850
+ "tokens": [
851
+ "InverseOnSurface",
852
+ "InverseSurface",
853
+ "Outline",
854
+ "TextPrimary",
855
+ "TextSecondary",
856
+ "TextTertiary"
857
+ ],
858
+ "example": {
859
+ "line": "<G9Donut slices={slices} />",
860
+ "from": "generated"
861
+ }
862
+ },
863
+ {
864
+ "id": "charts.charts.G9FanChart",
865
+ "export": "G9FanChart",
866
+ "from": "@g9tm/lynxcontrols-charts",
867
+ "kind": "component",
868
+ "family": "charts",
869
+ "summary": "A forecast fan (Riskara FanBox).",
870
+ "since": null,
871
+ "props": [
872
+ {
873
+ "name": "accessibilityLabel",
874
+ "type": {
875
+ "kind": "string"
876
+ },
877
+ "required": false,
878
+ "serializable": true,
879
+ "role": "identity"
880
+ },
881
+ {
882
+ "name": "className",
883
+ "type": {
884
+ "kind": "string"
885
+ },
886
+ "required": false,
887
+ "serializable": true,
888
+ "role": "appearance"
889
+ },
890
+ {
891
+ "name": "color",
892
+ "type": {
893
+ "kind": "color"
894
+ },
895
+ "required": false,
896
+ "serializable": true,
897
+ "role": "behaviour"
898
+ },
899
+ {
900
+ "name": "everyX",
901
+ "type": {
902
+ "kind": "number"
903
+ },
904
+ "required": false,
905
+ "serializable": true,
906
+ "role": "behaviour"
907
+ },
908
+ {
909
+ "name": "height",
910
+ "type": {
911
+ "kind": "number"
912
+ },
913
+ "required": false,
914
+ "default": 180,
915
+ "serializable": true,
916
+ "role": "behaviour",
917
+ "doc": "Default 180."
918
+ },
919
+ {
920
+ "name": "id",
921
+ "type": {
922
+ "kind": "string"
923
+ },
924
+ "required": false,
925
+ "serializable": true,
926
+ "role": "identity"
927
+ },
928
+ {
929
+ "name": "legend",
930
+ "type": {
931
+ "kind": "array",
932
+ "items": {
933
+ "kind": "object",
934
+ "fields": [
935
+ {
936
+ "name": "label",
937
+ "required": true,
938
+ "type": {
939
+ "kind": "string"
940
+ },
941
+ "serializable": true
942
+ },
943
+ {
944
+ "name": "color",
945
+ "required": true,
946
+ "type": {
947
+ "kind": "color"
948
+ },
949
+ "serializable": true
950
+ }
951
+ ]
952
+ }
953
+ },
954
+ "required": false,
955
+ "serializable": true,
956
+ "role": "behaviour",
957
+ "doc": "Legend entries."
958
+ },
959
+ {
960
+ "name": "points",
961
+ "type": {
962
+ "kind": "array",
963
+ "items": {
964
+ "kind": "object",
965
+ "fields": [
966
+ {
967
+ "name": "p10",
968
+ "required": true,
969
+ "type": {
970
+ "kind": "number"
971
+ },
972
+ "serializable": true
973
+ },
974
+ {
975
+ "name": "p50",
976
+ "required": true,
977
+ "type": {
978
+ "kind": "number"
979
+ },
980
+ "serializable": true
981
+ },
982
+ {
983
+ "name": "p90",
984
+ "required": true,
985
+ "type": {
986
+ "kind": "number"
987
+ },
988
+ "serializable": true
989
+ }
990
+ ]
991
+ }
992
+ },
993
+ "required": true,
994
+ "serializable": true,
995
+ "role": "behaviour"
996
+ },
997
+ {
998
+ "name": "style",
999
+ "type": {
1000
+ "kind": "object",
1001
+ "name": "style",
1002
+ "map": {
1003
+ "kind": "union",
1004
+ "of": [
1005
+ {
1006
+ "kind": "string"
1007
+ },
1008
+ {
1009
+ "kind": "number"
1010
+ }
1011
+ ]
1012
+ }
1013
+ },
1014
+ "required": false,
1015
+ "serializable": true,
1016
+ "role": "appearance"
1017
+ },
1018
+ {
1019
+ "name": "tooltip",
1020
+ "type": {
1021
+ "kind": "event",
1022
+ "payload": "index: number",
1023
+ "returns": "string"
1024
+ },
1025
+ "required": false,
1026
+ "serializable": false,
1027
+ "role": "event",
1028
+ "doc": "Tooltip text for slot i; omitted, no tooltip."
1029
+ },
1030
+ {
1031
+ "name": "width",
1032
+ "type": {
1033
+ "kind": "number"
1034
+ },
1035
+ "required": false,
1036
+ "serializable": true,
1037
+ "role": "behaviour",
1038
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
1039
+ },
1040
+ {
1041
+ "name": "xLabels",
1042
+ "type": {
1043
+ "kind": "array",
1044
+ "items": {
1045
+ "kind": "string"
1046
+ }
1047
+ },
1048
+ "required": false,
1049
+ "serializable": true,
1050
+ "role": "behaviour",
1051
+ "doc": "Labels under the slots (shown every `everyX`-th)."
1052
+ },
1053
+ {
1054
+ "name": "yFormat",
1055
+ "type": {
1056
+ "kind": "event",
1057
+ "payload": "v: number",
1058
+ "returns": "string"
1059
+ },
1060
+ "required": false,
1061
+ "serializable": false,
1062
+ "role": "event",
1063
+ "doc": "How a y tick reads. Default the culture's number."
1064
+ }
1065
+ ],
1066
+ "anchor": null,
1067
+ "accessibility": {
1068
+ "labelFrom": [
1069
+ "accessibilityLabel"
1070
+ ],
1071
+ "labelRequired": false
1072
+ },
1073
+ "targets": {
1074
+ "android": "unmeasured",
1075
+ "ios": "unmeasured",
1076
+ "windows": "unmeasured",
1077
+ "macos": "unmeasured",
1078
+ "web": "verified"
1079
+ },
1080
+ "evidence": {
1081
+ "ledger": [
1082
+ "N-122"
1083
+ ]
1084
+ },
1085
+ "tokens": [
1086
+ "InverseOnSurface",
1087
+ "InverseSurface",
1088
+ "Outline",
1089
+ "TextPrimary",
1090
+ "TextSecondary",
1091
+ "TextTertiary"
1092
+ ],
1093
+ "example": {
1094
+ "line": "<G9FanChart points={points} />",
1095
+ "from": "generated"
1096
+ }
1097
+ },
1098
+ {
1099
+ "id": "charts.charts.G9Gauge",
1100
+ "export": "G9Gauge",
1101
+ "from": "@g9tm/lynxcontrols-charts",
1102
+ "kind": "component",
1103
+ "family": "charts",
1104
+ "summary": "A gauge on a spectrum arc (Riskara Gauge, ShopChat Needle).",
1105
+ "since": null,
1106
+ "props": [
1107
+ {
1108
+ "name": "accessibilityLabel",
1109
+ "type": {
1110
+ "kind": "string"
1111
+ },
1112
+ "required": false,
1113
+ "serializable": true,
1114
+ "role": "identity"
1115
+ },
1116
+ {
1117
+ "name": "children",
1118
+ "type": {
1119
+ "kind": "slot",
1120
+ "accepts": "any"
1121
+ },
1122
+ "required": false,
1123
+ "serializable": false,
1124
+ "role": "slot"
1125
+ },
1126
+ {
1127
+ "name": "className",
1128
+ "type": {
1129
+ "kind": "string"
1130
+ },
1131
+ "required": false,
1132
+ "serializable": true,
1133
+ "role": "appearance"
1134
+ },
1135
+ {
1136
+ "name": "id",
1137
+ "type": {
1138
+ "kind": "string"
1139
+ },
1140
+ "required": false,
1141
+ "serializable": true,
1142
+ "role": "identity"
1143
+ },
1144
+ {
1145
+ "name": "size",
1146
+ "type": {
1147
+ "kind": "number"
1148
+ },
1149
+ "required": false,
1150
+ "default": 200,
1151
+ "serializable": true,
1152
+ "role": "appearance",
1153
+ "doc": "Default 200."
1154
+ },
1155
+ {
1156
+ "name": "stops",
1157
+ "type": {
1158
+ "kind": "array",
1159
+ "items": {
1160
+ "kind": "string"
1161
+ }
1162
+ },
1163
+ "required": false,
1164
+ "serializable": true,
1165
+ "role": "behaviour",
1166
+ "doc": "Colour stops along the arc (Riskara risk spectrum). Default primary → error."
1167
+ },
1168
+ {
1169
+ "name": "style",
1170
+ "type": {
1171
+ "kind": "object",
1172
+ "name": "style",
1173
+ "map": {
1174
+ "kind": "union",
1175
+ "of": [
1176
+ {
1177
+ "kind": "string"
1178
+ },
1179
+ {
1180
+ "kind": "number"
1181
+ }
1182
+ ]
1183
+ }
1184
+ },
1185
+ "required": false,
1186
+ "serializable": true,
1187
+ "role": "appearance"
1188
+ },
1189
+ {
1190
+ "name": "thickness",
1191
+ "type": {
1192
+ "kind": "number"
1193
+ },
1194
+ "required": false,
1195
+ "serializable": true,
1196
+ "role": "behaviour"
1197
+ },
1198
+ {
1199
+ "name": "value",
1200
+ "type": {
1201
+ "kind": "number"
1202
+ },
1203
+ "required": true,
1204
+ "serializable": true,
1205
+ "role": "state",
1206
+ "doc": "0..1."
1207
+ },
1208
+ {
1209
+ "name": "width",
1210
+ "type": {
1211
+ "kind": "number"
1212
+ },
1213
+ "required": false,
1214
+ "serializable": true,
1215
+ "role": "behaviour",
1216
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
1217
+ }
1218
+ ],
1219
+ "anchor": null,
1220
+ "accessibility": {
1221
+ "labelFrom": [
1222
+ "accessibilityLabel"
1223
+ ],
1224
+ "labelRequired": false
1225
+ },
1226
+ "targets": {
1227
+ "android": "unmeasured",
1228
+ "ios": "unmeasured",
1229
+ "windows": "unmeasured",
1230
+ "macos": "unmeasured",
1231
+ "web": "verified"
1232
+ },
1233
+ "evidence": {
1234
+ "ledger": [
1235
+ "N-122"
1236
+ ]
1237
+ },
1238
+ "tokens": [
1239
+ "InverseOnSurface",
1240
+ "InverseSurface",
1241
+ "Outline",
1242
+ "TextPrimary",
1243
+ "TextSecondary",
1244
+ "TextTertiary"
1245
+ ],
1246
+ "example": {
1247
+ "line": "<G9Gauge value={1} />",
1248
+ "from": "generated"
1249
+ }
1250
+ },
1251
+ {
1252
+ "id": "charts.charts.G9Heatmap",
1253
+ "export": "G9Heatmap",
1254
+ "from": "@g9tm/lynxcontrols-charts",
1255
+ "kind": "component",
1256
+ "family": "charts",
1257
+ "summary": "An hour × weekday heatmap (SAC HeatmapBox), row labels on the start side.",
1258
+ "since": null,
1259
+ "props": [
1260
+ {
1261
+ "name": "accessibilityLabel",
1262
+ "type": {
1263
+ "kind": "string"
1264
+ },
1265
+ "required": false,
1266
+ "serializable": true,
1267
+ "role": "identity"
1268
+ },
1269
+ {
1270
+ "name": "className",
1271
+ "type": {
1272
+ "kind": "string"
1273
+ },
1274
+ "required": false,
1275
+ "serializable": true,
1276
+ "role": "appearance"
1277
+ },
1278
+ {
1279
+ "name": "colLabels",
1280
+ "type": {
1281
+ "kind": "array",
1282
+ "items": {
1283
+ "kind": "string"
1284
+ }
1285
+ },
1286
+ "required": false,
1287
+ "serializable": true,
1288
+ "role": "behaviour"
1289
+ },
1290
+ {
1291
+ "name": "color",
1292
+ "type": {
1293
+ "kind": "color"
1294
+ },
1295
+ "required": false,
1296
+ "serializable": true,
1297
+ "role": "behaviour"
1298
+ },
1299
+ {
1300
+ "name": "everyCol",
1301
+ "type": {
1302
+ "kind": "number"
1303
+ },
1304
+ "required": false,
1305
+ "default": 3,
1306
+ "serializable": true,
1307
+ "role": "behaviour",
1308
+ "doc": "Show every n-th column label. Default 3."
1309
+ },
1310
+ {
1311
+ "name": "grid",
1312
+ "type": {
1313
+ "kind": "array",
1314
+ "items": {
1315
+ "kind": "array",
1316
+ "items": {
1317
+ "kind": "number"
1318
+ }
1319
+ }
1320
+ },
1321
+ "required": true,
1322
+ "serializable": true,
1323
+ "role": "behaviour"
1324
+ },
1325
+ {
1326
+ "name": "height",
1327
+ "type": {
1328
+ "kind": "number"
1329
+ },
1330
+ "required": false,
1331
+ "default": 160,
1332
+ "serializable": true,
1333
+ "role": "behaviour",
1334
+ "doc": "Default 160."
1335
+ },
1336
+ {
1337
+ "name": "id",
1338
+ "type": {
1339
+ "kind": "string"
1340
+ },
1341
+ "required": false,
1342
+ "serializable": true,
1343
+ "role": "identity"
1344
+ },
1345
+ {
1346
+ "name": "rowLabels",
1347
+ "type": {
1348
+ "kind": "array",
1349
+ "items": {
1350
+ "kind": "string"
1351
+ }
1352
+ },
1353
+ "required": false,
1354
+ "serializable": true,
1355
+ "role": "behaviour"
1356
+ },
1357
+ {
1358
+ "name": "style",
1359
+ "type": {
1360
+ "kind": "object",
1361
+ "name": "style",
1362
+ "map": {
1363
+ "kind": "union",
1364
+ "of": [
1365
+ {
1366
+ "kind": "string"
1367
+ },
1368
+ {
1369
+ "kind": "number"
1370
+ }
1371
+ ]
1372
+ }
1373
+ },
1374
+ "required": false,
1375
+ "serializable": true,
1376
+ "role": "appearance"
1377
+ },
1378
+ {
1379
+ "name": "width",
1380
+ "type": {
1381
+ "kind": "number"
1382
+ },
1383
+ "required": false,
1384
+ "serializable": true,
1385
+ "role": "behaviour",
1386
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
1387
+ }
1388
+ ],
1389
+ "anchor": null,
1390
+ "accessibility": {
1391
+ "labelFrom": [
1392
+ "accessibilityLabel"
1393
+ ],
1394
+ "labelRequired": false
1395
+ },
1396
+ "targets": {
1397
+ "android": "unmeasured",
1398
+ "ios": "unmeasured",
1399
+ "windows": "unmeasured",
1400
+ "macos": "unmeasured",
1401
+ "web": "verified"
1402
+ },
1403
+ "evidence": {
1404
+ "ledger": [
1405
+ "N-122"
1406
+ ]
1407
+ },
1408
+ "tokens": [
1409
+ "InverseOnSurface",
1410
+ "InverseSurface",
1411
+ "Outline",
1412
+ "TextPrimary",
1413
+ "TextSecondary",
1414
+ "TextTertiary"
1415
+ ],
1416
+ "example": {
1417
+ "line": "<G9Heatmap grid={grid} />",
1418
+ "from": "generated"
1419
+ }
1420
+ },
1421
+ {
1422
+ "id": "charts.charts.G9LineChart",
1423
+ "export": "G9LineChart",
1424
+ "from": "@g9tm/lynxcontrols-charts",
1425
+ "kind": "component",
1426
+ "family": "charts",
1427
+ "summary": "Lines and areas over time (SAC sales, Riskara LineBox, G9Hub insights).",
1428
+ "since": null,
1429
+ "props": [
1430
+ {
1431
+ "name": "accessibilityLabel",
1432
+ "type": {
1433
+ "kind": "string"
1434
+ },
1435
+ "required": false,
1436
+ "serializable": true,
1437
+ "role": "identity"
1438
+ },
1439
+ {
1440
+ "name": "className",
1441
+ "type": {
1442
+ "kind": "string"
1443
+ },
1444
+ "required": false,
1445
+ "serializable": true,
1446
+ "role": "appearance"
1447
+ },
1448
+ {
1449
+ "name": "everyX",
1450
+ "type": {
1451
+ "kind": "number"
1452
+ },
1453
+ "required": false,
1454
+ "serializable": true,
1455
+ "role": "behaviour"
1456
+ },
1457
+ {
1458
+ "name": "height",
1459
+ "type": {
1460
+ "kind": "number"
1461
+ },
1462
+ "required": false,
1463
+ "default": 180,
1464
+ "serializable": true,
1465
+ "role": "behaviour",
1466
+ "doc": "Default 180."
1467
+ },
1468
+ {
1469
+ "name": "id",
1470
+ "type": {
1471
+ "kind": "string"
1472
+ },
1473
+ "required": false,
1474
+ "serializable": true,
1475
+ "role": "identity"
1476
+ },
1477
+ {
1478
+ "name": "legend",
1479
+ "type": {
1480
+ "kind": "boolean"
1481
+ },
1482
+ "required": false,
1483
+ "serializable": true,
1484
+ "role": "behaviour"
1485
+ },
1486
+ {
1487
+ "name": "max",
1488
+ "type": {
1489
+ "kind": "number"
1490
+ },
1491
+ "required": false,
1492
+ "serializable": true,
1493
+ "role": "behaviour"
1494
+ },
1495
+ {
1496
+ "name": "min",
1497
+ "type": {
1498
+ "kind": "number"
1499
+ },
1500
+ "required": false,
1501
+ "serializable": true,
1502
+ "role": "behaviour"
1503
+ },
1504
+ {
1505
+ "name": "series",
1506
+ "type": {
1507
+ "kind": "array",
1508
+ "items": {
1509
+ "kind": "object",
1510
+ "fields": [
1511
+ {
1512
+ "name": "label",
1513
+ "required": true,
1514
+ "type": {
1515
+ "kind": "string"
1516
+ },
1517
+ "serializable": true
1518
+ },
1519
+ {
1520
+ "name": "color",
1521
+ "required": false,
1522
+ "type": {
1523
+ "kind": "color"
1524
+ },
1525
+ "serializable": true
1526
+ },
1527
+ {
1528
+ "name": "width",
1529
+ "required": false,
1530
+ "type": {
1531
+ "kind": "number"
1532
+ },
1533
+ "serializable": true
1534
+ },
1535
+ {
1536
+ "name": "values",
1537
+ "required": true,
1538
+ "type": {
1539
+ "kind": "array",
1540
+ "items": {
1541
+ "kind": "number"
1542
+ }
1543
+ },
1544
+ "serializable": true
1545
+ },
1546
+ {
1547
+ "name": "dashed",
1548
+ "required": false,
1549
+ "type": {
1550
+ "kind": "boolean"
1551
+ },
1552
+ "serializable": true
1553
+ },
1554
+ {
1555
+ "name": "area",
1556
+ "required": false,
1557
+ "type": {
1558
+ "kind": "number"
1559
+ },
1560
+ "serializable": true
1561
+ },
1562
+ {
1563
+ "name": "dots",
1564
+ "required": false,
1565
+ "type": {
1566
+ "kind": "enum",
1567
+ "values": [
1568
+ "none",
1569
+ "all",
1570
+ "last"
1571
+ ]
1572
+ },
1573
+ "serializable": true
1574
+ }
1575
+ ]
1576
+ }
1577
+ },
1578
+ "required": true,
1579
+ "serializable": true,
1580
+ "role": "behaviour"
1581
+ },
1582
+ {
1583
+ "name": "style",
1584
+ "type": {
1585
+ "kind": "object",
1586
+ "name": "style",
1587
+ "map": {
1588
+ "kind": "union",
1589
+ "of": [
1590
+ {
1591
+ "kind": "string"
1592
+ },
1593
+ {
1594
+ "kind": "number"
1595
+ }
1596
+ ]
1597
+ }
1598
+ },
1599
+ "required": false,
1600
+ "serializable": true,
1601
+ "role": "appearance"
1602
+ },
1603
+ {
1604
+ "name": "tooltip",
1605
+ "type": {
1606
+ "kind": "event",
1607
+ "payload": "index: number",
1608
+ "returns": "string"
1609
+ },
1610
+ "required": false,
1611
+ "serializable": false,
1612
+ "role": "event",
1613
+ "doc": "Tooltip text for slot i; omitted, no tooltip."
1614
+ },
1615
+ {
1616
+ "name": "width",
1617
+ "type": {
1618
+ "kind": "number"
1619
+ },
1620
+ "required": false,
1621
+ "serializable": true,
1622
+ "role": "behaviour",
1623
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
1624
+ },
1625
+ {
1626
+ "name": "xLabels",
1627
+ "type": {
1628
+ "kind": "array",
1629
+ "items": {
1630
+ "kind": "string"
1631
+ }
1632
+ },
1633
+ "required": false,
1634
+ "serializable": true,
1635
+ "role": "behaviour",
1636
+ "doc": "Labels under the slots (shown every `everyX`-th)."
1637
+ },
1638
+ {
1639
+ "name": "yFormat",
1640
+ "type": {
1641
+ "kind": "event",
1642
+ "payload": "v: number",
1643
+ "returns": "string"
1644
+ },
1645
+ "required": false,
1646
+ "serializable": false,
1647
+ "role": "event",
1648
+ "doc": "How a y tick reads. Default the culture's number."
1649
+ }
1650
+ ],
1651
+ "anchor": null,
1652
+ "accessibility": {
1653
+ "labelFrom": [
1654
+ "accessibilityLabel"
1655
+ ],
1656
+ "labelRequired": false
1657
+ },
1658
+ "targets": {
1659
+ "android": "unmeasured",
1660
+ "ios": "unmeasured",
1661
+ "windows": "unmeasured",
1662
+ "macos": "unmeasured",
1663
+ "web": "verified"
1664
+ },
1665
+ "evidence": {
1666
+ "ledger": [
1667
+ "N-122"
1668
+ ]
1669
+ },
1670
+ "tokens": [
1671
+ "InverseOnSurface",
1672
+ "InverseSurface",
1673
+ "Outline",
1674
+ "TextPrimary",
1675
+ "TextSecondary",
1676
+ "TextTertiary"
1677
+ ],
1678
+ "example": {
1679
+ "line": "<G9LineChart series={series} />",
1680
+ "from": "generated"
1681
+ }
1682
+ },
1683
+ {
1684
+ "id": "charts.charts.G9Radar",
1685
+ "export": "G9Radar",
1686
+ "from": "@g9tm/lynxcontrols-charts",
1687
+ "kind": "component",
1688
+ "family": "charts",
1689
+ "summary": "A radar of dimensions (Riskara risk DNA radar) with labels at the axis ends.",
1690
+ "since": null,
1691
+ "props": [
1692
+ {
1693
+ "name": "accessibilityLabel",
1694
+ "type": {
1695
+ "kind": "string"
1696
+ },
1697
+ "required": false,
1698
+ "serializable": true,
1699
+ "role": "identity"
1700
+ },
1701
+ {
1702
+ "name": "className",
1703
+ "type": {
1704
+ "kind": "string"
1705
+ },
1706
+ "required": false,
1707
+ "serializable": true,
1708
+ "role": "appearance"
1709
+ },
1710
+ {
1711
+ "name": "color",
1712
+ "type": {
1713
+ "kind": "color"
1714
+ },
1715
+ "required": false,
1716
+ "serializable": true,
1717
+ "role": "behaviour"
1718
+ },
1719
+ {
1720
+ "name": "id",
1721
+ "type": {
1722
+ "kind": "string"
1723
+ },
1724
+ "required": false,
1725
+ "serializable": true,
1726
+ "role": "identity"
1727
+ },
1728
+ {
1729
+ "name": "labels",
1730
+ "type": {
1731
+ "kind": "array",
1732
+ "items": {
1733
+ "kind": "string"
1734
+ }
1735
+ },
1736
+ "required": true,
1737
+ "serializable": true,
1738
+ "role": "behaviour"
1739
+ },
1740
+ {
1741
+ "name": "size",
1742
+ "type": {
1743
+ "kind": "number"
1744
+ },
1745
+ "required": false,
1746
+ "default": 280,
1747
+ "serializable": true,
1748
+ "role": "appearance",
1749
+ "doc": "Default 280."
1750
+ },
1751
+ {
1752
+ "name": "style",
1753
+ "type": {
1754
+ "kind": "object",
1755
+ "name": "style",
1756
+ "map": {
1757
+ "kind": "union",
1758
+ "of": [
1759
+ {
1760
+ "kind": "string"
1761
+ },
1762
+ {
1763
+ "kind": "number"
1764
+ }
1765
+ ]
1766
+ }
1767
+ },
1768
+ "required": false,
1769
+ "serializable": true,
1770
+ "role": "appearance"
1771
+ },
1772
+ {
1773
+ "name": "values",
1774
+ "type": {
1775
+ "kind": "array",
1776
+ "items": {
1777
+ "kind": "number"
1778
+ }
1779
+ },
1780
+ "required": true,
1781
+ "serializable": true,
1782
+ "role": "behaviour",
1783
+ "doc": "0..1 per axis."
1784
+ },
1785
+ {
1786
+ "name": "width",
1787
+ "type": {
1788
+ "kind": "number"
1789
+ },
1790
+ "required": false,
1791
+ "serializable": true,
1792
+ "role": "behaviour",
1793
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
1794
+ }
1795
+ ],
1796
+ "anchor": null,
1797
+ "accessibility": {
1798
+ "labelFrom": [
1799
+ "accessibilityLabel"
1800
+ ],
1801
+ "labelRequired": false
1802
+ },
1803
+ "targets": {
1804
+ "android": "unmeasured",
1805
+ "ios": "unmeasured",
1806
+ "windows": "unmeasured",
1807
+ "macos": "unmeasured",
1808
+ "web": "verified"
1809
+ },
1810
+ "evidence": {
1811
+ "ledger": [
1812
+ "N-122"
1813
+ ]
1814
+ },
1815
+ "tokens": [
1816
+ "InverseOnSurface",
1817
+ "InverseSurface",
1818
+ "Outline",
1819
+ "TextPrimary",
1820
+ "TextSecondary",
1821
+ "TextTertiary"
1822
+ ],
1823
+ "example": {
1824
+ "line": "<G9Radar labels={labels} values={values} />",
1825
+ "from": "generated"
1826
+ }
1827
+ },
1828
+ {
1829
+ "id": "charts.charts.G9Sparkline",
1830
+ "export": "G9Sparkline",
1831
+ "from": "@g9tm/lynxcontrols-charts",
1832
+ "kind": "component",
1833
+ "family": "charts",
1834
+ "summary": "A tiny trend (SAC/Riskara/ShopManager sparklines) — for KPI tiles (`G9Kpi trend={…}`).",
1835
+ "since": null,
1836
+ "props": [
1837
+ {
1838
+ "name": "accessibilityLabel",
1839
+ "type": {
1840
+ "kind": "string"
1841
+ },
1842
+ "required": false,
1843
+ "serializable": true,
1844
+ "role": "identity"
1845
+ },
1846
+ {
1847
+ "name": "className",
1848
+ "type": {
1849
+ "kind": "string"
1850
+ },
1851
+ "required": false,
1852
+ "serializable": true,
1853
+ "role": "appearance"
1854
+ },
1855
+ {
1856
+ "name": "color",
1857
+ "type": {
1858
+ "kind": "color"
1859
+ },
1860
+ "required": false,
1861
+ "serializable": true,
1862
+ "role": "behaviour"
1863
+ },
1864
+ {
1865
+ "name": "height",
1866
+ "type": {
1867
+ "kind": "number"
1868
+ },
1869
+ "required": false,
1870
+ "default": 30,
1871
+ "serializable": true,
1872
+ "role": "behaviour",
1873
+ "doc": "Default 30."
1874
+ },
1875
+ {
1876
+ "name": "id",
1877
+ "type": {
1878
+ "kind": "string"
1879
+ },
1880
+ "required": false,
1881
+ "serializable": true,
1882
+ "role": "identity"
1883
+ },
1884
+ {
1885
+ "name": "kind",
1886
+ "type": {
1887
+ "kind": "enum",
1888
+ "values": [
1889
+ "line",
1890
+ "bars"
1891
+ ]
1892
+ },
1893
+ "required": false,
1894
+ "serializable": true,
1895
+ "role": "behaviour"
1896
+ },
1897
+ {
1898
+ "name": "style",
1899
+ "type": {
1900
+ "kind": "object",
1901
+ "name": "style",
1902
+ "map": {
1903
+ "kind": "union",
1904
+ "of": [
1905
+ {
1906
+ "kind": "string"
1907
+ },
1908
+ {
1909
+ "kind": "number"
1910
+ }
1911
+ ]
1912
+ }
1913
+ },
1914
+ "required": false,
1915
+ "serializable": true,
1916
+ "role": "appearance"
1917
+ },
1918
+ {
1919
+ "name": "values",
1920
+ "type": {
1921
+ "kind": "array",
1922
+ "items": {
1923
+ "kind": "number"
1924
+ }
1925
+ },
1926
+ "required": true,
1927
+ "serializable": true,
1928
+ "role": "behaviour"
1929
+ },
1930
+ {
1931
+ "name": "width",
1932
+ "type": {
1933
+ "kind": "number"
1934
+ },
1935
+ "required": false,
1936
+ "serializable": true,
1937
+ "role": "behaviour",
1938
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
1939
+ }
1940
+ ],
1941
+ "anchor": null,
1942
+ "accessibility": {
1943
+ "labelFrom": [
1944
+ "accessibilityLabel"
1945
+ ],
1946
+ "labelRequired": false
1947
+ },
1948
+ "targets": {
1949
+ "android": "unmeasured",
1950
+ "ios": "unmeasured",
1951
+ "windows": "unmeasured",
1952
+ "macos": "unmeasured",
1953
+ "web": "verified"
1954
+ },
1955
+ "evidence": {
1956
+ "ledger": [
1957
+ "N-122"
1958
+ ]
1959
+ },
1960
+ "tokens": [
1961
+ "InverseOnSurface",
1962
+ "InverseSurface",
1963
+ "Outline",
1964
+ "TextPrimary",
1965
+ "TextSecondary",
1966
+ "TextTertiary"
1967
+ ],
1968
+ "example": {
1969
+ "line": "<G9Sparkline values={values} />",
1970
+ "from": "generated"
1971
+ }
1972
+ },
1973
+ {
1974
+ "id": "charts.charts.G9StackedBarChart",
1975
+ "export": "G9StackedBarChart",
1976
+ "from": "@g9tm/lynxcontrols-charts",
1977
+ "kind": "component",
1978
+ "family": "charts",
1979
+ "summary": "Stacked bars with a legend of the parts (SAC channel mix by day).",
1980
+ "since": null,
1981
+ "props": [
1982
+ {
1983
+ "name": "accessibilityLabel",
1984
+ "type": {
1985
+ "kind": "string"
1986
+ },
1987
+ "required": false,
1988
+ "serializable": true,
1989
+ "role": "identity"
1990
+ },
1991
+ {
1992
+ "name": "className",
1993
+ "type": {
1994
+ "kind": "string"
1995
+ },
1996
+ "required": false,
1997
+ "serializable": true,
1998
+ "role": "appearance"
1999
+ },
2000
+ {
2001
+ "name": "colors",
2002
+ "type": {
2003
+ "kind": "array",
2004
+ "items": {
2005
+ "kind": "string"
2006
+ }
2007
+ },
2008
+ "required": false,
2009
+ "serializable": true,
2010
+ "role": "behaviour"
2011
+ },
2012
+ {
2013
+ "name": "everyX",
2014
+ "type": {
2015
+ "kind": "number"
2016
+ },
2017
+ "required": false,
2018
+ "serializable": true,
2019
+ "role": "behaviour"
2020
+ },
2021
+ {
2022
+ "name": "height",
2023
+ "type": {
2024
+ "kind": "number"
2025
+ },
2026
+ "required": false,
2027
+ "default": 180,
2028
+ "serializable": true,
2029
+ "role": "behaviour",
2030
+ "doc": "Default 180."
2031
+ },
2032
+ {
2033
+ "name": "id",
2034
+ "type": {
2035
+ "kind": "string"
2036
+ },
2037
+ "required": false,
2038
+ "serializable": true,
2039
+ "role": "identity"
2040
+ },
2041
+ {
2042
+ "name": "parts",
2043
+ "type": {
2044
+ "kind": "array",
2045
+ "items": {
2046
+ "kind": "string"
2047
+ }
2048
+ },
2049
+ "required": true,
2050
+ "serializable": true,
2051
+ "role": "behaviour"
2052
+ },
2053
+ {
2054
+ "name": "stacks",
2055
+ "type": {
2056
+ "kind": "array",
2057
+ "items": {
2058
+ "kind": "array",
2059
+ "items": {
2060
+ "kind": "number"
2061
+ }
2062
+ }
2063
+ },
2064
+ "required": true,
2065
+ "serializable": true,
2066
+ "role": "behaviour"
2067
+ },
2068
+ {
2069
+ "name": "style",
2070
+ "type": {
2071
+ "kind": "object",
2072
+ "name": "style",
2073
+ "map": {
2074
+ "kind": "union",
2075
+ "of": [
2076
+ {
2077
+ "kind": "string"
2078
+ },
2079
+ {
2080
+ "kind": "number"
2081
+ }
2082
+ ]
2083
+ }
2084
+ },
2085
+ "required": false,
2086
+ "serializable": true,
2087
+ "role": "appearance"
2088
+ },
2089
+ {
2090
+ "name": "tooltip",
2091
+ "type": {
2092
+ "kind": "event",
2093
+ "payload": "index: number",
2094
+ "returns": "string"
2095
+ },
2096
+ "required": false,
2097
+ "serializable": false,
2098
+ "role": "event",
2099
+ "doc": "Tooltip text for slot i; omitted, no tooltip."
2100
+ },
2101
+ {
2102
+ "name": "width",
2103
+ "type": {
2104
+ "kind": "number"
2105
+ },
2106
+ "required": false,
2107
+ "serializable": true,
2108
+ "role": "behaviour",
2109
+ "doc": "Width in dp; omitted, the chart takes its container's width (measured once per size change)."
2110
+ },
2111
+ {
2112
+ "name": "xLabels",
2113
+ "type": {
2114
+ "kind": "array",
2115
+ "items": {
2116
+ "kind": "string"
2117
+ }
2118
+ },
2119
+ "required": false,
2120
+ "serializable": true,
2121
+ "role": "behaviour",
2122
+ "doc": "Labels under the slots (shown every `everyX`-th)."
2123
+ },
2124
+ {
2125
+ "name": "yFormat",
2126
+ "type": {
2127
+ "kind": "event",
2128
+ "payload": "v: number",
2129
+ "returns": "string"
2130
+ },
2131
+ "required": false,
2132
+ "serializable": false,
2133
+ "role": "event",
2134
+ "doc": "How a y tick reads. Default the culture's number."
2135
+ }
2136
+ ],
2137
+ "anchor": null,
2138
+ "accessibility": {
2139
+ "labelFrom": [
2140
+ "accessibilityLabel"
2141
+ ],
2142
+ "labelRequired": false
2143
+ },
2144
+ "targets": {
2145
+ "android": "unmeasured",
2146
+ "ios": "unmeasured",
2147
+ "windows": "unmeasured",
2148
+ "macos": "unmeasured",
2149
+ "web": "verified"
2150
+ },
2151
+ "evidence": {
2152
+ "ledger": [
2153
+ "N-122"
2154
+ ]
2155
+ },
2156
+ "tokens": [
2157
+ "InverseOnSurface",
2158
+ "InverseSurface",
2159
+ "Outline",
2160
+ "TextPrimary",
2161
+ "TextSecondary",
2162
+ "TextTertiary"
2163
+ ],
2164
+ "example": {
2165
+ "line": "<G9StackedBarChart parts={parts} stacks={stacks} />",
2166
+ "from": "generated"
2167
+ }
2168
+ }
2169
+ ],
2170
+ "exports": [
2171
+ {
2172
+ "id": "charts.svg.arcPath",
2173
+ "export": "arcPath",
2174
+ "from": "@g9tm/lynxcontrols-charts/svg",
2175
+ "kind": "function",
2176
+ "signature": "(cx: number, cy: number, r: number, a: number, b: number): string",
2177
+ "summary": "An SVG arc path from angle `a` to `b` (degrees, clockwise)."
2178
+ },
2179
+ {
2180
+ "id": "charts.svg.barChart",
2181
+ "export": "barChart",
2182
+ "from": "@g9tm/lynxcontrols-charts/svg",
2183
+ "kind": "function",
2184
+ "signature": "(w: number, h: number, values: readonly number[], o: G9BarOptions): G9BuiltChart",
2185
+ "summary": "Vertical bars (SAC barChart, G9Hub admin BarChart, ShopManager Bars). Negative values hang below zero."
2186
+ },
2187
+ {
2188
+ "id": "charts.svg.candleChart",
2189
+ "export": "candleChart",
2190
+ "from": "@g9tm/lynxcontrols-charts/svg",
2191
+ "kind": "function",
2192
+ "signature": "(w: number, h: number, candles: readonly G9Candle[], o: { readonly up: string; readonly down: string; readonly grid?: string; readonly lastLine?: string; }): G9BuiltChart & { readonly last: number | null; }",
2193
+ "summary": "Candlesticks (Riskara symbol page): up and down colours, the last close as a tag line."
2194
+ },
2195
+ {
2196
+ "id": "charts.svg.donut",
2197
+ "export": "donut",
2198
+ "from": "@g9tm/lynxcontrols-charts/svg",
2199
+ "kind": "function",
2200
+ "signature": "(size: number, thickness: number, slices: readonly G9Slice[], o?: { readonly track?: string; readonly gapDeg?: number; }): { readonly svg: string; readonly shares: readonly number[]; readonly mids: readonly number[]; }",
2201
+ "summary": "A donut (SAC donut, Riskara donutSegments): slices with a gap; returns each slice's share and mid angle."
2202
+ },
2203
+ {
2204
+ "id": "charts.svg.esc",
2205
+ "export": "esc",
2206
+ "from": "@g9tm/lynxcontrols-charts/svg",
2207
+ "kind": "function",
2208
+ "signature": "(s: string): string",
2209
+ "summary": "Escapes text for an SVG <text>."
2210
+ },
2211
+ {
2212
+ "id": "charts.svg.f",
2213
+ "export": "f",
2214
+ "from": "@g9tm/lynxcontrols-charts/svg",
2215
+ "kind": "function",
2216
+ "signature": "(n: number): string",
2217
+ "summary": "Two decimals, no trailing zeros: SVG strings stay short (they are cached and diffed)."
2218
+ },
2219
+ {
2220
+ "id": "charts.svg.fanChart",
2221
+ "export": "fanChart",
2222
+ "from": "@g9tm/lynxcontrols-charts/svg",
2223
+ "kind": "function",
2224
+ "signature": "(w: number, h: number, points: readonly { readonly p10: number; readonly p50: number; readonly p90: number; }[], color: string, grid?: string | undefined): G9BuiltChart",
2225
+ "summary": "A fan chart (Riskara): median line in a p10–p90 band."
2226
+ },
2227
+ {
2228
+ "id": "charts.charts.G9BarChartProps",
2229
+ "export": "G9BarChartProps",
2230
+ "from": "@g9tm/lynxcontrols-charts",
2231
+ "kind": "interface",
2232
+ "signature": "G9BarChartProps",
2233
+ "summary": "Props of `G9BarChart`."
2234
+ },
2235
+ {
2236
+ "id": "charts.svg.G9BarOptions",
2237
+ "export": "G9BarOptions",
2238
+ "from": "@g9tm/lynxcontrols-charts/svg",
2239
+ "kind": "interface",
2240
+ "signature": "G9BarOptions",
2241
+ "summary": "Options of the bar builders: the grid options plus the bar colours and their share of a slot."
2242
+ },
2243
+ {
2244
+ "id": "charts.svg.G9BuiltChart",
2245
+ "export": "G9BuiltChart",
2246
+ "from": "@g9tm/lynxcontrols-charts/svg",
2247
+ "kind": "interface",
2248
+ "signature": "G9BuiltChart",
2249
+ "summary": "A built chart: the SVG, its y ticks, the x of every slot."
2250
+ },
2251
+ {
2252
+ "id": "charts.svg.G9Candle",
2253
+ "export": "G9Candle",
2254
+ "from": "@g9tm/lynxcontrols-charts/svg",
2255
+ "kind": "interface",
2256
+ "signature": "G9Candle",
2257
+ "summary": "One candle."
2258
+ },
2259
+ {
2260
+ "id": "charts.charts.G9CandleChartProps",
2261
+ "export": "G9CandleChartProps",
2262
+ "from": "@g9tm/lynxcontrols-charts",
2263
+ "kind": "interface",
2264
+ "signature": "G9CandleChartProps",
2265
+ "summary": "Props of `G9CandleChart`."
2266
+ },
2267
+ {
2268
+ "id": "charts.charts.G9ChartBoxProps",
2269
+ "export": "G9ChartBoxProps",
2270
+ "from": "@g9tm/lynxcontrols-charts",
2271
+ "kind": "interface",
2272
+ "signature": "G9ChartBoxProps",
2273
+ "summary": "Props of `G9ChartBox`."
2274
+ },
2275
+ {
2276
+ "id": "charts.svg.g9ChartInsets",
2277
+ "export": "g9ChartInsets",
2278
+ "from": "@g9tm/lynxcontrols-charts/svg",
2279
+ "kind": "constant",
2280
+ "signature": "G9ChartInsets",
2281
+ "summary": "Default padding (px) between a chart's edge and its plot area: 8 on every side."
2282
+ },
2283
+ {
2284
+ "id": "charts.svg.G9ChartInsets",
2285
+ "export": "G9ChartInsets",
2286
+ "from": "@g9tm/lynxcontrols-charts/svg",
2287
+ "kind": "interface",
2288
+ "signature": "G9ChartInsets",
2289
+ "summary": "Space around the plot for axes and labels."
2290
+ },
2291
+ {
2292
+ "id": "charts.charts.G9DonutProps",
2293
+ "export": "G9DonutProps",
2294
+ "from": "@g9tm/lynxcontrols-charts",
2295
+ "kind": "interface",
2296
+ "signature": "G9DonutProps",
2297
+ "summary": "Props of `G9Donut`."
2298
+ },
2299
+ {
2300
+ "id": "charts.charts.G9FanChartProps",
2301
+ "export": "G9FanChartProps",
2302
+ "from": "@g9tm/lynxcontrols-charts",
2303
+ "kind": "interface",
2304
+ "signature": "G9FanChartProps",
2305
+ "summary": "Props of `G9FanChart`."
2306
+ },
2307
+ {
2308
+ "id": "charts.charts.G9GaugeProps",
2309
+ "export": "G9GaugeProps",
2310
+ "from": "@g9tm/lynxcontrols-charts",
2311
+ "kind": "interface",
2312
+ "signature": "G9GaugeProps",
2313
+ "summary": "Props of `G9Gauge`."
2314
+ },
2315
+ {
2316
+ "id": "charts.svg.G9GridOptions",
2317
+ "export": "G9GridOptions",
2318
+ "from": "@g9tm/lynxcontrols-charts/svg",
2319
+ "kind": "interface",
2320
+ "signature": "G9GridOptions",
2321
+ "summary": "What every gridded chart takes: the grid line colour, insets, tick count and the y range (`min`, `max`, `zero`)."
2322
+ },
2323
+ {
2324
+ "id": "charts.charts.G9HeatmapProps",
2325
+ "export": "G9HeatmapProps",
2326
+ "from": "@g9tm/lynxcontrols-charts",
2327
+ "kind": "interface",
2328
+ "signature": "G9HeatmapProps",
2329
+ "summary": "Props of `G9Heatmap`."
2330
+ },
2331
+ {
2332
+ "id": "charts.charts.G9LineChartProps",
2333
+ "export": "G9LineChartProps",
2334
+ "from": "@g9tm/lynxcontrols-charts",
2335
+ "kind": "interface",
2336
+ "signature": "G9LineChartProps",
2337
+ "summary": "Props of `G9LineChart`."
2338
+ },
2339
+ {
2340
+ "id": "charts.charts.G9LineChartSeries",
2341
+ "export": "G9LineChartSeries",
2342
+ "from": "@g9tm/lynxcontrols-charts",
2343
+ "kind": "interface",
2344
+ "signature": "G9LineChartSeries",
2345
+ "summary": "One line of `G9LineChart`."
2346
+ },
2347
+ {
2348
+ "id": "charts.svg.G9LineSeries",
2349
+ "export": "G9LineSeries",
2350
+ "from": "@g9tm/lynxcontrols-charts/svg",
2351
+ "kind": "interface",
2352
+ "signature": "G9LineSeries",
2353
+ "summary": "One line of `lineChart`: its values (`null` breaks the line), colour, width, area fill and dash."
2354
+ },
2355
+ {
2356
+ "id": "charts.charts.G9RadarProps",
2357
+ "export": "G9RadarProps",
2358
+ "from": "@g9tm/lynxcontrols-charts",
2359
+ "kind": "interface",
2360
+ "signature": "G9RadarProps",
2361
+ "summary": "Props of `G9Radar`."
2362
+ },
2363
+ {
2364
+ "id": "charts.svg.G9Slice",
2365
+ "export": "G9Slice",
2366
+ "from": "@g9tm/lynxcontrols-charts/svg",
2367
+ "kind": "interface",
2368
+ "signature": "G9Slice",
2369
+ "summary": "A donut slice."
2370
+ },
2371
+ {
2372
+ "id": "charts.charts.G9SparklineProps",
2373
+ "export": "G9SparklineProps",
2374
+ "from": "@g9tm/lynxcontrols-charts",
2375
+ "kind": "interface",
2376
+ "signature": "G9SparklineProps",
2377
+ "summary": "Props of `G9Sparkline`."
2378
+ },
2379
+ {
2380
+ "id": "charts.charts.G9StackedBarChartProps",
2381
+ "export": "G9StackedBarChartProps",
2382
+ "from": "@g9tm/lynxcontrols-charts",
2383
+ "kind": "interface",
2384
+ "signature": "G9StackedBarChartProps",
2385
+ "summary": "Props of `G9StackedBarChart`."
2386
+ },
2387
+ {
2388
+ "id": "charts.svg.G9Tick",
2389
+ "export": "G9Tick",
2390
+ "from": "@g9tm/lynxcontrols-charts/svg",
2391
+ "kind": "interface",
2392
+ "signature": "G9Tick",
2393
+ "summary": "A y tick: its value and its pixel row."
2394
+ },
2395
+ {
2396
+ "id": "charts.svg.gauge",
2397
+ "export": "gauge",
2398
+ "from": "@g9tm/lynxcontrols-charts/svg",
2399
+ "kind": "function",
2400
+ "signature": "(size: number, thickness: number, value: number, o: { readonly track: string; readonly colorAt: (t: number) => string; readonly segments?: number; readonly needle?: string; }): string",
2401
+ "summary": "A gauge arc (Riskara spectrum gauge): 240° sweep from `from` to `to`, `value` 0..1, coloured by `colorAt(t)`."
2402
+ },
2403
+ {
2404
+ "id": "charts.svg.heatmap",
2405
+ "export": "heatmap",
2406
+ "from": "@g9tm/lynxcontrols-charts/svg",
2407
+ "kind": "function",
2408
+ "signature": "(w: number, h: number, grid: readonly (readonly number[])[], color: string, empty: string, gap?: number): { readonly svg: string; readonly max: number; }",
2409
+ "summary": "A heatmap (SAC hour × weekday): `grid[row][col]`, intensity by opacity of `color`."
2410
+ },
2411
+ {
2412
+ "id": "charts.svg.lineChart",
2413
+ "export": "lineChart",
2414
+ "from": "@g9tm/lynxcontrols-charts/svg",
2415
+ "kind": "function",
2416
+ "signature": "(w: number, h: number, series: readonly G9LineSeries[], o?: G9GridOptions): G9BuiltChart",
2417
+ "summary": "Lines (and areas) over shared slots. Null values break the line."
2418
+ },
2419
+ {
2420
+ "id": "charts.svg.matrixChart",
2421
+ "export": "matrixChart",
2422
+ "from": "@g9tm/lynxcontrols-charts/svg",
2423
+ "kind": "function",
2424
+ "signature": "(w: number, h: number, points: readonly { readonly x: number; readonly y: number; readonly color: string; readonly label?: string; }[], o: { readonly xLine: number; readonly yLine: number; readonly line: string; readonly radius?: number; }): string",
2425
+ "summary": "Points in quadrants (SAC menu engineering matrix): popularity on x, margin on y, split at the medians given."
2426
+ },
2427
+ {
2428
+ "id": "charts.svg.nearestIndex",
2429
+ "export": "nearestIndex",
2430
+ "from": "@g9tm/lynxcontrols-charts/svg",
2431
+ "kind": "function",
2432
+ "signature": "(xs: readonly number[], x: number): number | null",
2433
+ "summary": "The point nearest to `x` (a finger's or the mouse's), or null."
2434
+ },
2435
+ {
2436
+ "id": "charts.svg.niceStep",
2437
+ "export": "niceStep",
2438
+ "from": "@g9tm/lynxcontrols-charts/svg",
2439
+ "kind": "function",
2440
+ "signature": "(range: number, count: number): number",
2441
+ "summary": "A \"nice\" step (1, 2, 2.5, 5 × 10ⁿ) so ticks read as round numbers."
2442
+ },
2443
+ {
2444
+ "id": "charts.svg.polar",
2445
+ "export": "polar",
2446
+ "from": "@g9tm/lynxcontrols-charts/svg",
2447
+ "kind": "function",
2448
+ "signature": "(cx: number, cy: number, r: number, deg: number): [number, number]",
2449
+ "summary": "Polar → cartesian, 0° up, clockwise (gauges, radars, donuts)."
2450
+ },
2451
+ {
2452
+ "id": "charts.svg.radar",
2453
+ "export": "radar",
2454
+ "from": "@g9tm/lynxcontrols-charts/svg",
2455
+ "kind": "function",
2456
+ "signature": "(size: number, values: readonly number[], color: string, grid: string, pad?: number): { readonly svg: string; readonly axes: readonly [number, number][]; }",
2457
+ "summary": "A radar (Riskara): `values` 0..1 on `values.length` axes; returns the label anchor points."
2458
+ },
2459
+ {
2460
+ "id": "charts.svg.sparkline",
2461
+ "export": "sparkline",
2462
+ "from": "@g9tm/lynxcontrols-charts/svg",
2463
+ "kind": "function",
2464
+ "signature": "(w: number, h: number, values: readonly number[], color: string, o?: { readonly kind?: \"line\" | \"bars\"; readonly area?: number; readonly mark?: number; readonly dim?: string; }): string",
2465
+ "summary": "A sparkline (SAC sparkline, Riskara sparkline, ShopManager Sparkline): a line with a soft area, or bars."
2466
+ },
2467
+ {
2468
+ "id": "charts.svg.stackedBarChart",
2469
+ "export": "stackedBarChart",
2470
+ "from": "@g9tm/lynxcontrols-charts/svg",
2471
+ "kind": "function",
2472
+ "signature": "(w: number, h: number, stacks: readonly (readonly number[])[], colors: readonly string[], o?: G9GridOptions & { readonly band?: number; }): G9BuiltChart",
2473
+ "summary": "Stacked bars (SAC stackedChart): `stacks[i]` is the parts of bar i, coloured by `colors[j]`."
2474
+ },
2475
+ {
2476
+ "id": "charts.svg.svgDoc",
2477
+ "export": "svgDoc",
2478
+ "from": "@g9tm/lynxcontrols-charts/svg",
2479
+ "kind": "function",
2480
+ "signature": "(w: number, h: number, body: string): string",
2481
+ "summary": "Wraps SVG content in a document of `w` × `h`."
2482
+ },
2483
+ {
2484
+ "id": "charts.charts.useChartColors",
2485
+ "export": "useChartColors",
2486
+ "from": "@g9tm/lynxcontrols-charts",
2487
+ "kind": "hook",
2488
+ "signature": "(n?: number): readonly string[]",
2489
+ "summary": "The series colours of the theme: the primary first, then golden-angle hues legible on the surface."
2490
+ },
2491
+ {
2492
+ "id": "charts.svg.xSlot",
2493
+ "export": "xSlot",
2494
+ "from": "@g9tm/lynxcontrols-charts/svg",
2495
+ "kind": "function",
2496
+ "signature": "(i: number, n: number, w: number, insets?: Partial<G9ChartInsets>, centred?: boolean): number",
2497
+ "summary": "x of slot `i` of `n` across the plot (points at slot centres when `centred`, else edge to edge)."
2498
+ },
2499
+ {
2500
+ "id": "charts.svg.yScale",
2501
+ "export": "yScale",
2502
+ "from": "@g9tm/lynxcontrols-charts/svg",
2503
+ "kind": "function",
2504
+ "signature": "(values: readonly number[], h: number, options?: { readonly insets?: Partial<G9ChartInsets>; readonly ticks?: number; readonly min?: number; readonly max?: number; readonly zero?: boolean; }): { readonly min: number; readonly max: number; readonly y: (v: number) => number; readonly ticks: readonly G9Tick[]; }",
2505
+ "summary": "A linear y scale over [min, max] (min ≤ 0 ≤ max is kept when the data crosses zero) with round ticks."
2506
+ }
2507
+ ]
2508
+ }