@visactor/vchart-theme-demo-component 0.0.1-alpha.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.
Files changed (44) hide show
  1. package/README.md +11 -0
  2. package/cjs/index.d.ts +2 -0
  3. package/cjs/index.js +15 -0
  4. package/cjs/index.js.map +1 -0
  5. package/cjs/interface.d.ts +7 -0
  6. package/cjs/interface.js +6 -0
  7. package/cjs/interface.js.map +1 -0
  8. package/cjs/vchart-chart-hub-theme/chart-list.d.ts +2 -0
  9. package/cjs/vchart-chart-hub-theme/chart-list.js +52 -0
  10. package/cjs/vchart-chart-hub-theme/chart-list.js.map +1 -0
  11. package/cjs/vchart-chart-hub-theme/chartSpec.d.ts +757 -0
  12. package/cjs/vchart-chart-hub-theme/chartSpec.js +1776 -0
  13. package/cjs/vchart-chart-hub-theme/chartSpec.js.map +1 -0
  14. package/cjs/vchart-chart-hub-theme/charts.d.ts +3 -0
  15. package/cjs/vchart-chart-hub-theme/charts.js +40 -0
  16. package/cjs/vchart-chart-hub-theme/charts.js.map +1 -0
  17. package/cjs/vchart-chart-hub-theme/frame.d.ts +3 -0
  18. package/cjs/vchart-chart-hub-theme/frame.js +47 -0
  19. package/cjs/vchart-chart-hub-theme/frame.js.map +1 -0
  20. package/cjs/vchart-chart-hub-theme/index.d.ts +1 -0
  21. package/cjs/vchart-chart-hub-theme/index.js +31 -0
  22. package/cjs/vchart-chart-hub-theme/index.js.map +1 -0
  23. package/esm/index.d.ts +2 -0
  24. package/esm/index.js +4 -0
  25. package/esm/index.js.map +1 -0
  26. package/esm/interface.d.ts +7 -0
  27. package/esm/interface.js +2 -0
  28. package/esm/interface.js.map +1 -0
  29. package/esm/vchart-chart-hub-theme/chart-list.d.ts +2 -0
  30. package/esm/vchart-chart-hub-theme/chart-list.js +46 -0
  31. package/esm/vchart-chart-hub-theme/chart-list.js.map +1 -0
  32. package/esm/vchart-chart-hub-theme/chartSpec.d.ts +757 -0
  33. package/esm/vchart-chart-hub-theme/chartSpec.js +1801 -0
  34. package/esm/vchart-chart-hub-theme/chartSpec.js.map +1 -0
  35. package/esm/vchart-chart-hub-theme/charts.d.ts +3 -0
  36. package/esm/vchart-chart-hub-theme/charts.js +43 -0
  37. package/esm/vchart-chart-hub-theme/charts.js.map +1 -0
  38. package/esm/vchart-chart-hub-theme/frame.d.ts +3 -0
  39. package/esm/vchart-chart-hub-theme/frame.js +45 -0
  40. package/esm/vchart-chart-hub-theme/frame.js.map +1 -0
  41. package/esm/vchart-chart-hub-theme/index.d.ts +1 -0
  42. package/esm/vchart-chart-hub-theme/index.js +4 -0
  43. package/esm/vchart-chart-hub-theme/index.js.map +1 -0
  44. package/package.json +53 -0
@@ -0,0 +1,1776 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.indicatorSankeySpec = exports.scatterSpec = exports.horizontalBarSpec = exports.gaugeSpec = exports.areaSpec = exports.funnelSpec = exports.radarSpec = exports.pieSpec = exports.ringSpec = exports.lineSpec = exports.barStackedPercentSpec = exports.barStackedHorizontalSpec = exports.barStackedSpec = exports.barGroupHorizontalSpec = exports.barGroupSpec = exports.barSpec = void 0,
6
+ exports.barSpec = {
7
+ type: "bar",
8
+ data: {
9
+ values: [ {
10
+ type: "Autocracies",
11
+ year: "1930",
12
+ value: 129
13
+ }, {
14
+ type: "Autocracies",
15
+ year: "1940",
16
+ value: 133
17
+ }, {
18
+ type: "Autocracies",
19
+ year: "1950",
20
+ value: 130
21
+ }, {
22
+ type: "Autocracies",
23
+ year: "1960",
24
+ value: 126
25
+ }, {
26
+ type: "Autocracies",
27
+ year: "1970",
28
+ value: 117
29
+ }, {
30
+ type: "Autocracies",
31
+ year: "1980",
32
+ value: 114
33
+ }, {
34
+ type: "Autocracies",
35
+ year: "1990",
36
+ value: 111
37
+ }, {
38
+ type: "Autocracies",
39
+ year: "2000",
40
+ value: 89
41
+ }, {
42
+ type: "Autocracies",
43
+ year: "2010",
44
+ value: 80
45
+ }, {
46
+ type: "Autocracies",
47
+ year: "2018",
48
+ value: 80
49
+ } ]
50
+ },
51
+ height: 500,
52
+ xField: [ "year", "type" ],
53
+ yField: "value",
54
+ seriesField: "type",
55
+ axes: [ {
56
+ orient: "bottom",
57
+ visible: !0,
58
+ domainLine: {
59
+ visible: !0
60
+ },
61
+ tick: {
62
+ visible: !0
63
+ }
64
+ }, {
65
+ orient: "left",
66
+ visible: !0,
67
+ domainLine: {
68
+ visible: !1
69
+ },
70
+ tick: {
71
+ visible: !1
72
+ }
73
+ } ],
74
+ legends: {
75
+ visible: !0
76
+ },
77
+ indicator: {
78
+ visible: !0
79
+ }
80
+ }, exports.barGroupSpec = {
81
+ type: "bar",
82
+ data: {
83
+ values: [ {
84
+ type: "Autocracies",
85
+ year: "1930",
86
+ value: 129
87
+ }, {
88
+ type: "Autocracies",
89
+ year: "1940",
90
+ value: 133
91
+ }, {
92
+ type: "Autocracies",
93
+ year: "1950",
94
+ value: 130
95
+ }, {
96
+ type: "Autocracies",
97
+ year: "1960",
98
+ value: 126
99
+ }, {
100
+ type: "Autocracies",
101
+ year: "1970",
102
+ value: 117
103
+ }, {
104
+ type: "Autocracies",
105
+ year: "1980",
106
+ value: 114
107
+ }, {
108
+ type: "Autocracies",
109
+ year: "1990",
110
+ value: 111
111
+ }, {
112
+ type: "Autocracies",
113
+ year: "2000",
114
+ value: 89
115
+ }, {
116
+ type: "Autocracies",
117
+ year: "2010",
118
+ value: 80
119
+ }, {
120
+ type: "Autocracies",
121
+ year: "2018",
122
+ value: 80
123
+ }, {
124
+ type: "Democracies",
125
+ year: "1930",
126
+ value: 22
127
+ }, {
128
+ type: "Democracies",
129
+ year: "1940",
130
+ value: 13
131
+ }, {
132
+ type: "Democracies",
133
+ year: "1950",
134
+ value: 25
135
+ }, {
136
+ type: "Democracies",
137
+ year: "1960",
138
+ value: 29
139
+ }, {
140
+ type: "Democracies",
141
+ year: "1970",
142
+ value: 38
143
+ }, {
144
+ type: "Democracies",
145
+ year: "1980",
146
+ value: 41
147
+ }, {
148
+ type: "Democracies",
149
+ year: "1990",
150
+ value: 57
151
+ }, {
152
+ type: "Democracies",
153
+ year: "2000",
154
+ value: 87
155
+ }, {
156
+ type: "Democracies",
157
+ year: "2010",
158
+ value: 98
159
+ }, {
160
+ type: "Democracies",
161
+ year: "2018",
162
+ value: 99
163
+ }, {
164
+ type: "Price",
165
+ year: "1930",
166
+ value: 56
167
+ }, {
168
+ type: "Price",
169
+ year: "1940",
170
+ value: 122
171
+ }, {
172
+ type: "Price",
173
+ year: "1950",
174
+ value: 72
175
+ }, {
176
+ type: "Price",
177
+ year: "1960",
178
+ value: 82
179
+ }, {
180
+ type: "Price",
181
+ year: "1970",
182
+ value: 67
183
+ }, {
184
+ type: "Price",
185
+ year: "1980",
186
+ value: 89
187
+ }, {
188
+ type: "Price",
189
+ year: "1990",
190
+ value: 60
191
+ }, {
192
+ type: "Price",
193
+ year: "2000",
194
+ value: 123
195
+ }, {
196
+ type: "Price",
197
+ year: "2010",
198
+ value: 111
199
+ }, {
200
+ type: "Price",
201
+ year: "2018",
202
+ value: 99
203
+ } ]
204
+ },
205
+ height: 500,
206
+ xField: [ "year", "type" ],
207
+ yField: "value",
208
+ seriesField: "type",
209
+ axes: [ {
210
+ orient: "bottom",
211
+ visible: !0,
212
+ domainLine: {
213
+ visible: !0
214
+ },
215
+ tick: {
216
+ visible: !0
217
+ }
218
+ }, {
219
+ orient: "left",
220
+ visible: !0,
221
+ domainLine: {
222
+ visible: !1
223
+ },
224
+ tick: {
225
+ visible: !1
226
+ }
227
+ } ],
228
+ legends: {
229
+ visible: !0
230
+ }
231
+ }, exports.barGroupHorizontalSpec = {
232
+ type: "bar",
233
+ data: {
234
+ values: [ {
235
+ type: "Autocracies",
236
+ year: "1930",
237
+ value: 129
238
+ }, {
239
+ type: "Autocracies",
240
+ year: "1940",
241
+ value: 133
242
+ }, {
243
+ type: "Autocracies",
244
+ year: "1950",
245
+ value: 130
246
+ }, {
247
+ type: "Autocracies",
248
+ year: "1960",
249
+ value: 126
250
+ }, {
251
+ type: "Autocracies",
252
+ year: "1970",
253
+ value: 117
254
+ }, {
255
+ type: "Autocracies",
256
+ year: "1980",
257
+ value: 114
258
+ }, {
259
+ type: "Autocracies",
260
+ year: "1990",
261
+ value: 111
262
+ }, {
263
+ type: "Democracies",
264
+ year: "1930",
265
+ value: 22
266
+ }, {
267
+ type: "Democracies",
268
+ year: "1940",
269
+ value: 13
270
+ }, {
271
+ type: "Democracies",
272
+ year: "1950",
273
+ value: 25
274
+ }, {
275
+ type: "Democracies",
276
+ year: "1960",
277
+ value: 29
278
+ }, {
279
+ type: "Democracies",
280
+ year: "1970",
281
+ value: 38
282
+ }, {
283
+ type: "Democracies",
284
+ year: "1980",
285
+ value: 41
286
+ }, {
287
+ type: "Democracies",
288
+ year: "1990",
289
+ value: 57
290
+ } ]
291
+ },
292
+ height: 500,
293
+ direction: "horizontal",
294
+ xField: "value",
295
+ yField: [ "year", "type" ],
296
+ seriesField: "type",
297
+ axes: [ {
298
+ orient: "left",
299
+ visible: !0,
300
+ domainLine: {
301
+ visible: !0
302
+ },
303
+ tick: {
304
+ visible: !0
305
+ }
306
+ }, {
307
+ orient: "bottom",
308
+ visible: !0,
309
+ domainLine: {
310
+ visible: !1
311
+ },
312
+ tick: {
313
+ visible: !1
314
+ }
315
+ } ],
316
+ legends: {
317
+ visible: !0
318
+ }
319
+ }, exports.barStackedSpec = {
320
+ type: "bar",
321
+ data: {
322
+ values: [ {
323
+ type: "Autocracies",
324
+ year: "1930",
325
+ value: 129
326
+ }, {
327
+ type: "Autocracies",
328
+ year: "1940",
329
+ value: 133
330
+ }, {
331
+ type: "Autocracies",
332
+ year: "1950",
333
+ value: 130
334
+ }, {
335
+ type: "Autocracies",
336
+ year: "1960",
337
+ value: 126
338
+ }, {
339
+ type: "Autocracies",
340
+ year: "1970",
341
+ value: 117
342
+ }, {
343
+ type: "Autocracies",
344
+ year: "1980",
345
+ value: 114
346
+ }, {
347
+ type: "Autocracies",
348
+ year: "1990",
349
+ value: 111
350
+ }, {
351
+ type: "Autocracies",
352
+ year: "2000",
353
+ value: 89
354
+ }, {
355
+ type: "Autocracies",
356
+ year: "2010",
357
+ value: 80
358
+ }, {
359
+ type: "Autocracies",
360
+ year: "2018",
361
+ value: 80
362
+ }, {
363
+ type: "Democracies",
364
+ year: "1930",
365
+ value: 22
366
+ }, {
367
+ type: "Democracies",
368
+ year: "1940",
369
+ value: 13
370
+ }, {
371
+ type: "Democracies",
372
+ year: "1950",
373
+ value: 25
374
+ }, {
375
+ type: "Democracies",
376
+ year: "1960",
377
+ value: 29
378
+ }, {
379
+ type: "Democracies",
380
+ year: "1970",
381
+ value: 38
382
+ }, {
383
+ type: "Democracies",
384
+ year: "1980",
385
+ value: 41
386
+ }, {
387
+ type: "Democracies",
388
+ year: "1990",
389
+ value: 57
390
+ }, {
391
+ type: "Democracies",
392
+ year: "2000",
393
+ value: 87
394
+ }, {
395
+ type: "Democracies",
396
+ year: "2010",
397
+ value: 98
398
+ }, {
399
+ type: "Democracies",
400
+ year: "2018",
401
+ value: 99
402
+ }, {
403
+ type: "Price",
404
+ year: "1930",
405
+ value: 56
406
+ }, {
407
+ type: "Price",
408
+ year: "1940",
409
+ value: 122
410
+ }, {
411
+ type: "Price",
412
+ year: "1950",
413
+ value: 72
414
+ }, {
415
+ type: "Price",
416
+ year: "1960",
417
+ value: 82
418
+ }, {
419
+ type: "Price",
420
+ year: "1970",
421
+ value: 67
422
+ }, {
423
+ type: "Price",
424
+ year: "1980",
425
+ value: 89
426
+ }, {
427
+ type: "Price",
428
+ year: "1990",
429
+ value: 60
430
+ }, {
431
+ type: "Price",
432
+ year: "2000",
433
+ value: 123
434
+ }, {
435
+ type: "Price",
436
+ year: "2010",
437
+ value: 111
438
+ }, {
439
+ type: "Price",
440
+ year: "2018",
441
+ value: 99
442
+ } ]
443
+ },
444
+ height: 500,
445
+ xField: "year",
446
+ yField: "value",
447
+ seriesField: "type",
448
+ axes: [ {
449
+ orient: "bottom",
450
+ visible: !0,
451
+ domainLine: {
452
+ visible: !0
453
+ },
454
+ tick: {
455
+ visible: !0
456
+ }
457
+ }, {
458
+ orient: "left",
459
+ visible: !0,
460
+ domainLine: {
461
+ visible: !1
462
+ },
463
+ tick: {
464
+ visible: !1
465
+ }
466
+ } ],
467
+ legends: {
468
+ visible: !0
469
+ },
470
+ indicator: {
471
+ visible: !0
472
+ }
473
+ }, exports.barStackedHorizontalSpec = {
474
+ type: "bar",
475
+ data: {
476
+ values: [ {
477
+ type: "Autocracies",
478
+ year: "1930",
479
+ value: 129
480
+ }, {
481
+ type: "Autocracies",
482
+ year: "1940",
483
+ value: 133
484
+ }, {
485
+ type: "Autocracies",
486
+ year: "1950",
487
+ value: 130
488
+ }, {
489
+ type: "Autocracies",
490
+ year: "1960",
491
+ value: 126
492
+ }, {
493
+ type: "Autocracies",
494
+ year: "1970",
495
+ value: 117
496
+ }, {
497
+ type: "Autocracies",
498
+ year: "1980",
499
+ value: 114
500
+ }, {
501
+ type: "Autocracies",
502
+ year: "1990",
503
+ value: 111
504
+ }, {
505
+ type: "Democracies",
506
+ year: "1930",
507
+ value: 22
508
+ }, {
509
+ type: "Democracies",
510
+ year: "1940",
511
+ value: 13
512
+ }, {
513
+ type: "Democracies",
514
+ year: "1950",
515
+ value: 25
516
+ }, {
517
+ type: "Democracies",
518
+ year: "1960",
519
+ value: 29
520
+ }, {
521
+ type: "Democracies",
522
+ year: "1970",
523
+ value: 38
524
+ }, {
525
+ type: "Democracies",
526
+ year: "1980",
527
+ value: 41
528
+ }, {
529
+ type: "Democracies",
530
+ year: "1990",
531
+ value: 57
532
+ }, {
533
+ type: "Price",
534
+ year: "1930",
535
+ value: 56
536
+ }, {
537
+ type: "Price",
538
+ year: "1940",
539
+ value: 122
540
+ }, {
541
+ type: "Price",
542
+ year: "1950",
543
+ value: 72
544
+ }, {
545
+ type: "Price",
546
+ year: "1960",
547
+ value: 82
548
+ }, {
549
+ type: "Price",
550
+ year: "1970",
551
+ value: 67
552
+ }, {
553
+ type: "Price",
554
+ year: "1980",
555
+ value: 89
556
+ }, {
557
+ type: "Price",
558
+ year: "1990",
559
+ value: 60
560
+ }, {
561
+ type: "D",
562
+ year: "1930",
563
+ value: 56
564
+ }, {
565
+ type: "D",
566
+ year: "1940",
567
+ value: 122
568
+ }, {
569
+ type: "D",
570
+ year: "1950",
571
+ value: 72
572
+ }, {
573
+ type: "D",
574
+ year: "1960",
575
+ value: 82
576
+ }, {
577
+ type: "D",
578
+ year: "1970",
579
+ value: 67
580
+ }, {
581
+ type: "D",
582
+ year: "1980",
583
+ value: 89
584
+ }, {
585
+ type: "D",
586
+ year: "1990",
587
+ value: 60
588
+ }, {
589
+ type: "E",
590
+ year: "1930",
591
+ value: 56
592
+ }, {
593
+ type: "E",
594
+ year: "1940",
595
+ value: 122
596
+ }, {
597
+ type: "E",
598
+ year: "1950",
599
+ value: 72
600
+ }, {
601
+ type: "E",
602
+ year: "1960",
603
+ value: 82
604
+ }, {
605
+ type: "E",
606
+ year: "1970",
607
+ value: 67
608
+ }, {
609
+ type: "E",
610
+ year: "1980",
611
+ value: 89
612
+ }, {
613
+ type: "E",
614
+ year: "1990",
615
+ value: 60
616
+ } ]
617
+ },
618
+ height: 500,
619
+ direction: "horizontal",
620
+ xField: "value",
621
+ yField: "year",
622
+ seriesField: "type",
623
+ axes: [ {
624
+ orient: "left",
625
+ visible: !0,
626
+ domainLine: {
627
+ visible: !0
628
+ },
629
+ tick: {
630
+ visible: !0
631
+ }
632
+ }, {
633
+ orient: "bottom",
634
+ visible: !0,
635
+ domainLine: {
636
+ visible: !1
637
+ },
638
+ tick: {
639
+ visible: !1
640
+ }
641
+ } ],
642
+ legends: {
643
+ visible: !0
644
+ },
645
+ indicator: {
646
+ visible: !0
647
+ }
648
+ }, exports.barStackedPercentSpec = {
649
+ type: "bar",
650
+ stack: !0,
651
+ percent: !0,
652
+ data: {
653
+ values: [ {
654
+ type: "Autocracies",
655
+ year: "1930",
656
+ value: 129
657
+ }, {
658
+ type: "Autocracies",
659
+ year: "1940",
660
+ value: 133
661
+ }, {
662
+ type: "Autocracies",
663
+ year: "1950",
664
+ value: 130
665
+ }, {
666
+ type: "Autocracies",
667
+ year: "1960",
668
+ value: 126
669
+ }, {
670
+ type: "Autocracies",
671
+ year: "1970",
672
+ value: 117
673
+ }, {
674
+ type: "Autocracies",
675
+ year: "1980",
676
+ value: 114
677
+ }, {
678
+ type: "Autocracies",
679
+ year: "1990",
680
+ value: 111
681
+ }, {
682
+ type: "Autocracies",
683
+ year: "2000",
684
+ value: 89
685
+ }, {
686
+ type: "Autocracies",
687
+ year: "2010",
688
+ value: 80
689
+ }, {
690
+ type: "Autocracies",
691
+ year: "2018",
692
+ value: 80
693
+ }, {
694
+ type: "Democracies",
695
+ year: "1930",
696
+ value: 22
697
+ }, {
698
+ type: "Democracies",
699
+ year: "1940",
700
+ value: 13
701
+ }, {
702
+ type: "Democracies",
703
+ year: "1950",
704
+ value: 25
705
+ }, {
706
+ type: "Democracies",
707
+ year: "1960",
708
+ value: 29
709
+ }, {
710
+ type: "Democracies",
711
+ year: "1970",
712
+ value: 38
713
+ }, {
714
+ type: "Democracies",
715
+ year: "1980",
716
+ value: 41
717
+ }, {
718
+ type: "Democracies",
719
+ year: "1990",
720
+ value: 57
721
+ }, {
722
+ type: "Democracies",
723
+ year: "2000",
724
+ value: 87
725
+ }, {
726
+ type: "Democracies",
727
+ year: "2010",
728
+ value: 98
729
+ }, {
730
+ type: "Democracies",
731
+ year: "2018",
732
+ value: 99
733
+ }, {
734
+ type: "Price",
735
+ year: "1930",
736
+ value: 56
737
+ }, {
738
+ type: "Price",
739
+ year: "1940",
740
+ value: 122
741
+ }, {
742
+ type: "Price",
743
+ year: "1950",
744
+ value: 72
745
+ }, {
746
+ type: "Price",
747
+ year: "1960",
748
+ value: 82
749
+ }, {
750
+ type: "Price",
751
+ year: "1970",
752
+ value: 67
753
+ }, {
754
+ type: "Price",
755
+ year: "1980",
756
+ value: 89
757
+ }, {
758
+ type: "Price",
759
+ year: "1990",
760
+ value: 60
761
+ }, {
762
+ type: "Price",
763
+ year: "2000",
764
+ value: 123
765
+ }, {
766
+ type: "Price",
767
+ year: "2010",
768
+ value: 111
769
+ }, {
770
+ type: "Price",
771
+ year: "2018",
772
+ value: 99
773
+ } ]
774
+ },
775
+ height: 500,
776
+ xField: "year",
777
+ yField: "value",
778
+ seriesField: "type",
779
+ axes: [ {
780
+ orient: "bottom",
781
+ visible: !0,
782
+ domainLine: {
783
+ visible: !0
784
+ },
785
+ tick: {
786
+ visible: !0
787
+ }
788
+ }, {
789
+ orient: "left",
790
+ visible: !0,
791
+ domainLine: {
792
+ visible: !1
793
+ },
794
+ tick: {
795
+ visible: !1
796
+ }
797
+ } ],
798
+ legends: {
799
+ visible: !0
800
+ },
801
+ label: {
802
+ visible: !1
803
+ }
804
+ }, exports.lineSpec = {
805
+ type: "line",
806
+ data: {
807
+ values: [ {
808
+ type: "Nail polish",
809
+ country: "Africa",
810
+ value: 4229
811
+ }, {
812
+ type: "Nail polish",
813
+ country: "China",
814
+ value: 3054
815
+ }, {
816
+ type: "Nail polish",
817
+ country: "USA",
818
+ value: 12814
819
+ }, {
820
+ type: "Eyebrow pencil",
821
+ country: "Africa",
822
+ value: 3932
823
+ }, {
824
+ type: "Eyebrow pencil",
825
+ country: "China",
826
+ value: 5067
827
+ }, {
828
+ type: "Eyebrow pencil",
829
+ country: "USA",
830
+ value: 13012
831
+ }, {
832
+ type: "Rouge",
833
+ country: "Africa",
834
+ value: 5221
835
+ }, {
836
+ type: "Rouge",
837
+ country: "China",
838
+ value: 7004
839
+ }, {
840
+ type: "Rouge",
841
+ country: "USA",
842
+ value: 11624
843
+ }, {
844
+ type: "Lipstick",
845
+ country: "Africa",
846
+ value: 9256
847
+ }, {
848
+ type: "Lipstick",
849
+ country: "China",
850
+ value: 9054
851
+ }, {
852
+ type: "Lipstick",
853
+ country: "USA",
854
+ value: 8814
855
+ }, {
856
+ type: "Eyeshadows",
857
+ country: "Africa",
858
+ value: 3308
859
+ }, {
860
+ type: "Eyeshadows",
861
+ country: "China",
862
+ value: 12043
863
+ }, {
864
+ type: "Eyeshadows",
865
+ country: "USA",
866
+ value: 12998
867
+ }, {
868
+ type: "Eyeliner",
869
+ country: "Africa",
870
+ value: 5432
871
+ }, {
872
+ type: "Eyeliner",
873
+ country: "China",
874
+ value: 15067
875
+ }, {
876
+ type: "Eyeliner",
877
+ country: "USA",
878
+ value: 12321
879
+ }, {
880
+ type: "Foundation",
881
+ country: "Africa",
882
+ value: 13701
883
+ }, {
884
+ type: "Foundation",
885
+ country: "China",
886
+ value: 10119
887
+ }, {
888
+ type: "Foundation",
889
+ country: "USA",
890
+ value: 10342
891
+ }, {
892
+ type: "Lip gloss",
893
+ country: "Africa",
894
+ value: 4008
895
+ }, {
896
+ type: "Lip gloss",
897
+ country: "China",
898
+ value: 12043
899
+ }, {
900
+ type: "Lip gloss",
901
+ country: "USA",
902
+ value: 22998
903
+ }, {
904
+ type: "Mascara",
905
+ country: "Africa",
906
+ value: 18712
907
+ }, {
908
+ type: "Mascara",
909
+ country: "China",
910
+ value: 10419
911
+ }, {
912
+ type: "Mascara",
913
+ country: "USA",
914
+ value: 11261
915
+ } ]
916
+ },
917
+ height: 600,
918
+ xField: [ "type" ],
919
+ yField: "value",
920
+ seriesField: "country",
921
+ legends: {
922
+ visible: !0
923
+ },
924
+ point: {
925
+ state: {
926
+ dimension_hover: {
927
+ visible: !0,
928
+ size: 12
929
+ }
930
+ }
931
+ },
932
+ line: {
933
+ state: {
934
+ active: {
935
+ lineWidth: 3
936
+ }
937
+ }
938
+ },
939
+ interactions: [ {
940
+ type: "element-active-by-legend",
941
+ state: "active"
942
+ } ],
943
+ crosshair: {
944
+ xField: {
945
+ line: {
946
+ type: "line",
947
+ style: {
948
+ lineWidth: 1
949
+ }
950
+ }
951
+ }
952
+ }
953
+ }, exports.ringSpec = {
954
+ type: "pie",
955
+ data: [ {
956
+ id: "id0",
957
+ values: [ {
958
+ type: "Category 1",
959
+ value: "0.38"
960
+ }, {
961
+ type: "Category 2",
962
+ value: "0.26"
963
+ }, {
964
+ type: "Category 3",
965
+ value: "0.36"
966
+ } ]
967
+ } ],
968
+ valueField: "value",
969
+ categoryField: "type",
970
+ legends: {
971
+ visible: !0,
972
+ orient: "bottom"
973
+ },
974
+ interactions: [ {
975
+ type: "element-active-by-legend",
976
+ state: "active"
977
+ } ],
978
+ pie: {
979
+ state: {
980
+ active: {
981
+ lineWidth: 0
982
+ }
983
+ }
984
+ },
985
+ label: {
986
+ formatMethod: (value, data) => ({
987
+ type: "rich",
988
+ text: [ {
989
+ text: `${data.value}\n`,
990
+ fontSize: 18,
991
+ fontWeight: "bold",
992
+ fill: "black"
993
+ }, {
994
+ text: data.type,
995
+ fill: "#595959"
996
+ } ]
997
+ })
998
+ },
999
+ indicator: {
1000
+ visible: !0,
1001
+ trigger: "none",
1002
+ title: {
1003
+ visible: !0,
1004
+ style: {
1005
+ text: "饼图",
1006
+ fontSize: 30
1007
+ }
1008
+ }
1009
+ }
1010
+ }, exports.pieSpec = {
1011
+ type: "pie",
1012
+ innerRadius: 0,
1013
+ data: [ {
1014
+ id: "id0",
1015
+ values: [ {
1016
+ type: "Category 1",
1017
+ value: "0.38"
1018
+ }, {
1019
+ type: "Category 2",
1020
+ value: "0.26"
1021
+ }, {
1022
+ type: "Category 3",
1023
+ value: "0.36"
1024
+ } ]
1025
+ } ],
1026
+ valueField: "value",
1027
+ categoryField: "type",
1028
+ legends: {
1029
+ visible: !0,
1030
+ orient: "bottom"
1031
+ },
1032
+ interactions: [ {
1033
+ type: "element-active-by-legend",
1034
+ state: "active"
1035
+ } ],
1036
+ pie: {
1037
+ state: {
1038
+ active: {
1039
+ lineWidth: 0
1040
+ }
1041
+ }
1042
+ },
1043
+ label: {
1044
+ formatMethod: (value, data) => ({
1045
+ type: "rich",
1046
+ text: [ {
1047
+ text: `${data.value}\n`,
1048
+ fontSize: 18,
1049
+ fontWeight: "bold",
1050
+ fill: "black"
1051
+ }, {
1052
+ text: data.type,
1053
+ fill: "#595959"
1054
+ } ]
1055
+ })
1056
+ }
1057
+ }, exports.radarSpec = {
1058
+ type: "radar",
1059
+ data: [ {
1060
+ id: "radarData",
1061
+ values: [ {
1062
+ key: "Strength",
1063
+ value: 6,
1064
+ type: "Risk"
1065
+ }, {
1066
+ key: "Speed",
1067
+ value: 5,
1068
+ type: "Risk"
1069
+ }, {
1070
+ key: "Shooting",
1071
+ value: 3,
1072
+ type: "Risk"
1073
+ }, {
1074
+ key: "Endurance",
1075
+ value: 4,
1076
+ type: "Risk"
1077
+ }, {
1078
+ key: "Precision",
1079
+ value: 5,
1080
+ type: "Risk"
1081
+ }, {
1082
+ key: "Strength",
1083
+ value: 5,
1084
+ type: "Average risk"
1085
+ }, {
1086
+ key: "Speed",
1087
+ value: 5,
1088
+ type: "Average risk"
1089
+ }, {
1090
+ key: "Shooting",
1091
+ value: 5,
1092
+ type: "Average risk"
1093
+ }, {
1094
+ key: "Endurance",
1095
+ value: 5,
1096
+ type: "Average risk"
1097
+ }, {
1098
+ key: "Precision",
1099
+ value: 5,
1100
+ type: "Average risk"
1101
+ } ]
1102
+ } ],
1103
+ categoryField: "key",
1104
+ valueField: "value",
1105
+ seriesField: "type",
1106
+ point: {
1107
+ state: {
1108
+ dimension_hover: {
1109
+ visible: !0,
1110
+ size: 6
1111
+ }
1112
+ }
1113
+ },
1114
+ line: {
1115
+ state: {
1116
+ active: {
1117
+ lineWidth: 2
1118
+ }
1119
+ }
1120
+ },
1121
+ area: {
1122
+ visible: !0,
1123
+ state: {
1124
+ active: {
1125
+ fillOpacity: 0
1126
+ }
1127
+ }
1128
+ },
1129
+ crosshair: {
1130
+ categoryField: {
1131
+ line: {
1132
+ style: {
1133
+ lineWidth: 1
1134
+ }
1135
+ }
1136
+ }
1137
+ },
1138
+ legends: {
1139
+ visible: !0
1140
+ },
1141
+ outerRadius: .8,
1142
+ interactions: [ {
1143
+ type: "element-active-by-legend",
1144
+ state: "active"
1145
+ } ],
1146
+ axes: [ {
1147
+ orient: "radius",
1148
+ zIndex: 100,
1149
+ min: 0,
1150
+ max: 8,
1151
+ grid: {
1152
+ smooth: !1
1153
+ },
1154
+ label: {
1155
+ visible: !0
1156
+ }
1157
+ }, {
1158
+ orient: "angle",
1159
+ zIndex: 50,
1160
+ grid: {
1161
+ smooth: !1
1162
+ },
1163
+ domainLine: {
1164
+ visible: !1
1165
+ }
1166
+ } ]
1167
+ }, exports.funnelSpec = {
1168
+ type: "funnel",
1169
+ categoryField: "name",
1170
+ valueField: "value",
1171
+ data: [ {
1172
+ id: "funnel",
1173
+ values: [ {
1174
+ value: 100,
1175
+ name: "Step1"
1176
+ }, {
1177
+ value: 80,
1178
+ name: "Step2"
1179
+ }, {
1180
+ value: 60,
1181
+ name: "Step3"
1182
+ }, {
1183
+ value: 40,
1184
+ name: "Step4"
1185
+ }, {
1186
+ value: 20,
1187
+ name: "Step5"
1188
+ } ]
1189
+ } ],
1190
+ label: {
1191
+ visible: !0
1192
+ },
1193
+ legends: {
1194
+ visible: !0,
1195
+ orient: "bottom"
1196
+ }
1197
+ }, exports.areaSpec = {
1198
+ type: "area",
1199
+ seriesMark: "line",
1200
+ data: {
1201
+ values: [ {
1202
+ type: "Nail polish",
1203
+ country: "Africa",
1204
+ value: 4229
1205
+ }, {
1206
+ type: "Nail polish",
1207
+ country: "China",
1208
+ value: 3054
1209
+ }, {
1210
+ type: "Nail polish",
1211
+ country: "USA",
1212
+ value: 12814
1213
+ }, {
1214
+ type: "Eyebrow pencil",
1215
+ country: "Africa",
1216
+ value: 3932
1217
+ }, {
1218
+ type: "Eyebrow pencil",
1219
+ country: "China",
1220
+ value: 5067
1221
+ }, {
1222
+ type: "Eyebrow pencil",
1223
+ country: "USA",
1224
+ value: 13012
1225
+ }, {
1226
+ type: "Rouge",
1227
+ country: "Africa",
1228
+ value: 5221
1229
+ }, {
1230
+ type: "Rouge",
1231
+ country: "China",
1232
+ value: 7004
1233
+ }, {
1234
+ type: "Rouge",
1235
+ country: "USA",
1236
+ value: 11624
1237
+ }, {
1238
+ type: "Lipstick",
1239
+ country: "Africa",
1240
+ value: 9256
1241
+ }, {
1242
+ type: "Lipstick",
1243
+ country: "China",
1244
+ value: 9054
1245
+ }, {
1246
+ type: "Lipstick",
1247
+ country: "USA",
1248
+ value: 8814
1249
+ }, {
1250
+ type: "Eyeshadows",
1251
+ country: "Africa",
1252
+ value: 3308
1253
+ }, {
1254
+ type: "Eyeshadows",
1255
+ country: "China",
1256
+ value: 12043
1257
+ }, {
1258
+ type: "Eyeshadows",
1259
+ country: "USA",
1260
+ value: 12998
1261
+ }, {
1262
+ type: "Eyeliner",
1263
+ country: "Africa",
1264
+ value: 5432
1265
+ }, {
1266
+ type: "Eyeliner",
1267
+ country: "China",
1268
+ value: 15067
1269
+ }, {
1270
+ type: "Eyeliner",
1271
+ country: "USA",
1272
+ value: 12321
1273
+ }, {
1274
+ type: "Foundation",
1275
+ country: "Africa",
1276
+ value: 13701
1277
+ }, {
1278
+ type: "Foundation",
1279
+ country: "China",
1280
+ value: 10119
1281
+ }, {
1282
+ type: "Foundation",
1283
+ country: "USA",
1284
+ value: 10342
1285
+ }, {
1286
+ type: "Lip gloss",
1287
+ country: "Africa",
1288
+ value: 4008
1289
+ }, {
1290
+ type: "Lip gloss",
1291
+ country: "China",
1292
+ value: 12043
1293
+ }, {
1294
+ type: "Lip gloss",
1295
+ country: "USA",
1296
+ value: 22998
1297
+ }, {
1298
+ type: "Mascara",
1299
+ country: "Africa",
1300
+ value: 18712
1301
+ }, {
1302
+ type: "Mascara",
1303
+ country: "China",
1304
+ value: 10419
1305
+ }, {
1306
+ type: "Mascara",
1307
+ country: "USA",
1308
+ value: 11261
1309
+ } ]
1310
+ },
1311
+ height: 600,
1312
+ xField: [ "type" ],
1313
+ yField: "value",
1314
+ seriesField: "country",
1315
+ legends: {
1316
+ visible: !0
1317
+ },
1318
+ line: {
1319
+ style: {
1320
+ curveType: "linear"
1321
+ }
1322
+ },
1323
+ point: {
1324
+ state: {
1325
+ dimension_hover: {
1326
+ visible: !0,
1327
+ size: 12
1328
+ }
1329
+ }
1330
+ },
1331
+ crosshair: {
1332
+ xField: {
1333
+ line: {
1334
+ type: "line",
1335
+ style: {
1336
+ lineWidth: 1
1337
+ }
1338
+ }
1339
+ }
1340
+ },
1341
+ stack: !1
1342
+ }, exports.gaugeSpec = {
1343
+ type: "gauge",
1344
+ data: [ {
1345
+ id: "id0",
1346
+ values: [ {
1347
+ type: "目标A",
1348
+ value: 45
1349
+ } ]
1350
+ } ],
1351
+ categoryField: "type",
1352
+ valueField: "value",
1353
+ outerRadius: .8,
1354
+ innerRadius: .7,
1355
+ startAngle: -180,
1356
+ endAngle: 0,
1357
+ indicator: [ {
1358
+ visible: !0,
1359
+ title: {
1360
+ style: {
1361
+ text: "45",
1362
+ fontSize: 60,
1363
+ fontWeight: 800
1364
+ }
1365
+ }
1366
+ } ],
1367
+ axes: [ {
1368
+ type: "linear",
1369
+ orient: "angle",
1370
+ min: 0,
1371
+ max: 50,
1372
+ offset: 20,
1373
+ radius: .81,
1374
+ grid: {
1375
+ visible: !1
1376
+ },
1377
+ tick: {
1378
+ visible: !0,
1379
+ tickSize: 5,
1380
+ style: {
1381
+ lineWidth: 1
1382
+ }
1383
+ },
1384
+ subTick: {
1385
+ visible: !0,
1386
+ tickSize: 3,
1387
+ style: {
1388
+ lineWidth: 1
1389
+ }
1390
+ },
1391
+ label: {
1392
+ visible: !0,
1393
+ style: {
1394
+ fill: "black",
1395
+ fontSize: 12
1396
+ }
1397
+ }
1398
+ } ]
1399
+ }, exports.horizontalBarSpec = {
1400
+ type: "bar",
1401
+ data: [ {
1402
+ id: "barData",
1403
+ values: [ {
1404
+ province: "北京",
1405
+ value: 3080,
1406
+ type: "top1"
1407
+ }, {
1408
+ province: "天津",
1409
+ value: 2880,
1410
+ type: "top2"
1411
+ }, {
1412
+ province: "重庆",
1413
+ value: 880,
1414
+ type: "top3"
1415
+ }, {
1416
+ province: "深圳",
1417
+ value: 780,
1418
+ type: "common"
1419
+ }, {
1420
+ province: "广州",
1421
+ value: 680,
1422
+ type: "common"
1423
+ }, {
1424
+ province: "山东",
1425
+ value: 580,
1426
+ type: "common"
1427
+ }, {
1428
+ province: "浙江",
1429
+ value: 480,
1430
+ type: "common"
1431
+ }, {
1432
+ province: "福建",
1433
+ value: 100,
1434
+ type: "common"
1435
+ }, {
1436
+ province: "石家庄",
1437
+ value: 100,
1438
+ type: "common"
1439
+ }, {
1440
+ province: "广西壮族自治区",
1441
+ value: 100,
1442
+ type: "common"
1443
+ } ]
1444
+ } ],
1445
+ direction: "horizontal",
1446
+ xField: "value",
1447
+ yField: "province",
1448
+ seriesField: "province",
1449
+ padding: {
1450
+ right: 50,
1451
+ left: 10
1452
+ },
1453
+ axes: [ {
1454
+ orient: "bottom",
1455
+ visible: !1,
1456
+ nice: !1
1457
+ }, {
1458
+ orient: "left",
1459
+ maxWidth: 65,
1460
+ label: {
1461
+ autoLimit: !0
1462
+ },
1463
+ domainLine: {
1464
+ visible: !1
1465
+ },
1466
+ tick: {
1467
+ visible: !1
1468
+ }
1469
+ } ],
1470
+ stackCornerRadius: 0,
1471
+ bar: {
1472
+ style: {
1473
+ cornerRadius: [ 5, 5, 5, 5 ],
1474
+ height: 10
1475
+ }
1476
+ },
1477
+ barBackground: {
1478
+ visible: !0,
1479
+ style: {
1480
+ cornerRadius: [ 5, 5, 5, 5 ],
1481
+ height: 10
1482
+ },
1483
+ state: {
1484
+ hover: {
1485
+ stroke: "#D9D9D9",
1486
+ lineWidth: 1
1487
+ }
1488
+ }
1489
+ },
1490
+ extensionMark: [ {
1491
+ type: "text",
1492
+ dataId: "barData",
1493
+ visible: !0,
1494
+ style: {
1495
+ text: datum => datum.value,
1496
+ fontSize: 12,
1497
+ x: (datum, ctx) => ctx.getRegion().getLayoutRect().width + 10,
1498
+ y: (datum, ctx) => ctx.valueToY([ datum.province ]) + ctx.yBandwidth() / 2,
1499
+ textBaseline: "middle",
1500
+ textAlign: "left",
1501
+ fill: "#595959",
1502
+ size: 20
1503
+ }
1504
+ } ],
1505
+ crosshair: {
1506
+ yField: {
1507
+ visible: !1
1508
+ }
1509
+ },
1510
+ tooltip: {
1511
+ mark: {
1512
+ title: {
1513
+ visible: !1
1514
+ }
1515
+ },
1516
+ dimension: {
1517
+ title: {
1518
+ visible: !1
1519
+ }
1520
+ },
1521
+ style: {
1522
+ shape: {
1523
+ shapeType: "circle"
1524
+ }
1525
+ }
1526
+ }
1527
+ }, exports.scatterSpec = {
1528
+ type: "scatter",
1529
+ data: [ {
1530
+ id: "barData",
1531
+ values: [ {
1532
+ gender: "female",
1533
+ height: 156.5,
1534
+ weight: 51.6,
1535
+ age: 26
1536
+ }, {
1537
+ gender: "female",
1538
+ height: 158,
1539
+ weight: 59,
1540
+ age: 22
1541
+ }, {
1542
+ gender: "female",
1543
+ height: 159,
1544
+ weight: 49.2,
1545
+ age: 23
1546
+ }, {
1547
+ gender: "female",
1548
+ height: 160,
1549
+ weight: 63,
1550
+ age: 31
1551
+ }, {
1552
+ gender: "female",
1553
+ height: 162,
1554
+ weight: 53.6,
1555
+ age: 30
1556
+ }, {
1557
+ gender: "female",
1558
+ height: 163,
1559
+ weight: 59,
1560
+ age: 17
1561
+ }, {
1562
+ gender: "female",
1563
+ height: 168,
1564
+ weight: 47.6,
1565
+ age: 18
1566
+ }, {
1567
+ gender: "female",
1568
+ height: 170,
1569
+ weight: 69.8,
1570
+ age: 26
1571
+ }, {
1572
+ gender: "female",
1573
+ height: 170.2,
1574
+ weight: 66.8,
1575
+ age: 25
1576
+ }, {
1577
+ gender: "female",
1578
+ height: 171,
1579
+ weight: 75.2,
1580
+ age: 27
1581
+ }, {
1582
+ gender: "male",
1583
+ height: 171.5,
1584
+ weight: 65.6,
1585
+ age: 29
1586
+ }, {
1587
+ gender: "male",
1588
+ height: 172,
1589
+ weight: 71.8,
1590
+ age: 15
1591
+ }, {
1592
+ gender: "male",
1593
+ height: 175,
1594
+ weight: 80.7,
1595
+ age: 18
1596
+ }, {
1597
+ gender: "male",
1598
+ height: 178,
1599
+ weight: 72.6,
1600
+ age: 19
1601
+ }, {
1602
+ gender: "male",
1603
+ height: 180,
1604
+ weight: 78.8,
1605
+ age: 21
1606
+ }, {
1607
+ gender: "male",
1608
+ height: 183,
1609
+ weight: 74.8,
1610
+ age: 25
1611
+ }, {
1612
+ gender: "male",
1613
+ height: 184,
1614
+ weight: 86.4,
1615
+ age: 27
1616
+ }, {
1617
+ gender: "male",
1618
+ height: 184,
1619
+ weight: 78.4,
1620
+ age: 23
1621
+ }, {
1622
+ gender: "male",
1623
+ height: 185,
1624
+ weight: 62,
1625
+ age: 28
1626
+ }, {
1627
+ gender: "male",
1628
+ height: 187,
1629
+ weight: 91.6,
1630
+ age: 50
1631
+ } ]
1632
+ } ],
1633
+ xField: "height",
1634
+ yField: "weight",
1635
+ seriesField: "gender",
1636
+ legends: {
1637
+ visible: !0
1638
+ },
1639
+ crosshair: {
1640
+ xField: {
1641
+ visible: !1
1642
+ }
1643
+ },
1644
+ interactions: [ {
1645
+ type: "element-active-by-legend",
1646
+ state: "active"
1647
+ } ],
1648
+ tooltip: {
1649
+ dimension: {
1650
+ visible: !1
1651
+ }
1652
+ },
1653
+ point: {
1654
+ state: {
1655
+ active: {
1656
+ size: 10,
1657
+ fillOpacity: .6,
1658
+ strokeOpacity: .6,
1659
+ outerBorder: {
1660
+ lineWidth: 1,
1661
+ strokeOpacity: .2,
1662
+ distance: 2
1663
+ }
1664
+ }
1665
+ }
1666
+ },
1667
+ axes: [ {
1668
+ orient: "bottom",
1669
+ type: "linear",
1670
+ zero: !1,
1671
+ domainLine: {
1672
+ visible: !0
1673
+ },
1674
+ grid: {
1675
+ visible: !1
1676
+ }
1677
+ } ]
1678
+ }, exports.indicatorSankeySpec = {
1679
+ type: "sankey",
1680
+ data: [ {
1681
+ id: "sankeyData",
1682
+ values: [ {
1683
+ links: [ {
1684
+ source: "Opportunity Audience",
1685
+ target: "High Potential Users",
1686
+ value: 199999
1687
+ }, {
1688
+ source: "High Potential User 0",
1689
+ target: "High Potential Users",
1690
+ value: 299999
1691
+ }, {
1692
+ source: "First Course New Order",
1693
+ target: "High Potential Users",
1694
+ value: 399999
1695
+ }, {
1696
+ source: "First Course New Order",
1697
+ target: "Repeat Loyalty",
1698
+ value: 499999
1699
+ }, {
1700
+ source: "Deputy Purchase Loyalty",
1701
+ target: "High Potential Users",
1702
+ value: 599999
1703
+ }, {
1704
+ source: "Others",
1705
+ value: 199999
1706
+ }, {
1707
+ target: "First Order New Customer",
1708
+ value: 999
1709
+ } ]
1710
+ } ]
1711
+ } ],
1712
+ dataId: "sankeyData",
1713
+ categoryField: "name",
1714
+ valueField: "value",
1715
+ sourceField: "source",
1716
+ targetField: "target",
1717
+ dropIsolatedNode: !1,
1718
+ nodeGap: 2,
1719
+ nodeWidth: 200,
1720
+ equalNodeHeight: !0,
1721
+ linkOverlap: "center",
1722
+ label: {
1723
+ visible: !1,
1724
+ style: {
1725
+ fontSize: 10
1726
+ }
1727
+ },
1728
+ node: {
1729
+ state: {
1730
+ hover: {
1731
+ stroke: "#333333"
1732
+ },
1733
+ selected: {
1734
+ lineWidth: 1,
1735
+ brighter: 1,
1736
+ fillOpacity: .1
1737
+ }
1738
+ },
1739
+ style: {
1740
+ fill: "#1664FF",
1741
+ fillOpacity: 0,
1742
+ lineWidth: 1,
1743
+ stroke: "#1664FF",
1744
+ html: (datum, a, c) => {
1745
+ const hasSource = datum.targetLinks && datum.targetLinks.length;
1746
+ return {
1747
+ style: ({width: width, height: height}) => ({
1748
+ "border-right": "8px solid #1664FF",
1749
+ width: `${width}px`,
1750
+ height: `${height}px`,
1751
+ background: hasSource ? "#1664FF" : "transparent"
1752
+ }),
1753
+ dom: `<div style="margin: 10px 0 0 10px;">\n <p style="\n margin:0;\n font-weight:500;\n line-height: 18px;\n font-size:12px;\n color:${hasSource ? "#fff" : "#646475"};\n ">${datum.key}</p>\n <p style="margin:0;font-weight: 700;\n font-size: 20px;\n line-height: 28px;\n color: ${hasSource ? "#fff" : "#1d1d2e"};">${datum.value}</p>\n </div>`
1754
+ };
1755
+ }
1756
+ }
1757
+ },
1758
+ link: {
1759
+ style: {
1760
+ fill: "#1664FF"
1761
+ },
1762
+ state: {
1763
+ hover: {
1764
+ fillOpacity: 1
1765
+ },
1766
+ selected: {
1767
+ fill: "#1664FF",
1768
+ stroke: "",
1769
+ lineWidth: 1,
1770
+ brighter: 1,
1771
+ fillOpacity: .2
1772
+ }
1773
+ }
1774
+ }
1775
+ };
1776
+ //# sourceMappingURL=chartSpec.js.map