@undp/data-viz 0.0.52 → 0.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -636,13 +636,13 @@ declare interface DualAxisLineChartDataType {
636
636
  export declare function DumbbellChart(props: Props_4): JSX_2.Element;
637
637
 
638
638
  declare interface DumbbellChartDataType {
639
- x: (number | undefined | null)[];
639
+ x: (number | null)[];
640
640
  label: string;
641
641
  data?: object;
642
642
  }
643
643
 
644
644
  declare interface DumbbellChartWithDateDataType {
645
- x: (number | undefined | null)[];
645
+ x: (number | null)[];
646
646
  date: string | number;
647
647
  label: string;
648
648
  data?: object;
@@ -5033,7 +5033,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
5033
5033
  type: string;
5034
5034
  };
5035
5035
  };
5036
- required: string[];
5037
5036
  } | {
5038
5037
  type: string;
5039
5038
  properties: {
@@ -5099,16 +5098,12 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
5099
5098
  items: {
5100
5099
  type: string;
5101
5100
  };
5102
- minItems: number;
5103
- maxItems: number;
5104
5101
  };
5105
5102
  yDomain: {
5106
5103
  type: string;
5107
5104
  items: {
5108
5105
  type: string;
5109
5106
  };
5110
- minItems: number;
5111
- maxItems: number;
5112
5107
  };
5113
5108
  colors: {
5114
5109
  type: string;
@@ -5117,11 +5112,7 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
5117
5112
  items: {
5118
5113
  type: string;
5119
5114
  };
5120
- minItems: number;
5121
- maxItems: number;
5122
5115
  };
5123
- minItems: number;
5124
- maxItems: number;
5125
5116
  };
5126
5117
  scale: {
5127
5118
  type: string;
@@ -8519,8 +8510,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
8519
8510
  items: {
8520
8511
  type: string;
8521
8512
  };
8522
- maxItems: number;
8523
- minItems: number;
8524
8513
  type: string;
8525
8514
  };
8526
8515
  yAxisTitle: {
@@ -8533,8 +8522,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
8533
8522
  items: {
8534
8523
  type: string;
8535
8524
  };
8536
- maxItems: number;
8537
- minItems: number;
8538
8525
  type: string;
8539
8526
  };
8540
8527
  year: {
@@ -9792,8 +9779,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
9792
9779
  items: {
9793
9780
  type: string;
9794
9781
  };
9795
- maxItems: number;
9796
- minItems: number;
9797
9782
  type: string;
9798
9783
  };
9799
9784
  yAxisTitle: {
@@ -9806,8 +9791,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
9806
9791
  items: {
9807
9792
  type: string;
9808
9793
  };
9809
- maxItems: number;
9810
- minItems: number;
9811
9794
  type: string;
9812
9795
  };
9813
9796
  year: {
@@ -11043,8 +11026,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
11043
11026
  items: {
11044
11027
  type: string;
11045
11028
  };
11046
- maxItems: number;
11047
- minItems: number;
11048
11029
  type: string;
11049
11030
  };
11050
11031
  yAxisTitle: {
@@ -11057,8 +11038,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
11057
11038
  items: {
11058
11039
  type: string;
11059
11040
  };
11060
- maxItems: number;
11061
- minItems: number;
11062
11041
  type: string;
11063
11042
  };
11064
11043
  year: {
@@ -15815,7 +15794,6 @@ export declare const getDashboardWideToLongFormatJSONSchema: () => {
15815
15794
  type: string;
15816
15795
  };
15817
15796
  };
15818
- required: string[];
15819
15797
  } | {
15820
15798
  type: string;
15821
15799
  properties: {
@@ -15881,16 +15859,12 @@ export declare const getDashboardWideToLongFormatJSONSchema: () => {
15881
15859
  items: {
15882
15860
  type: string;
15883
15861
  };
15884
- minItems: number;
15885
- maxItems: number;
15886
15862
  };
15887
15863
  yDomain: {
15888
15864
  type: string;
15889
15865
  items: {
15890
15866
  type: string;
15891
15867
  };
15892
- minItems: number;
15893
- maxItems: number;
15894
15868
  };
15895
15869
  colors: {
15896
15870
  type: string;
@@ -15899,11 +15873,7 @@ export declare const getDashboardWideToLongFormatJSONSchema: () => {
15899
15873
  items: {
15900
15874
  type: string;
15901
15875
  };
15902
- minItems: number;
15903
- maxItems: number;
15904
15876
  };
15905
- minItems: number;
15906
- maxItems: number;
15907
15877
  };
15908
15878
  scale: {
15909
15879
  type: string;
@@ -18651,28 +18621,6 @@ export declare function getDataSchema(graph: GraphType): {
18651
18621
  };
18652
18622
  required: string[];
18653
18623
  };
18654
- } | {
18655
- type: string;
18656
- items: {
18657
- type: string;
18658
- properties: {
18659
- x: {
18660
- type: string;
18661
- items: {
18662
- type: string;
18663
- };
18664
- };
18665
- label: {
18666
- oneOf: {
18667
- type: string;
18668
- }[];
18669
- };
18670
- data: {
18671
- type: string;
18672
- };
18673
- };
18674
- required: string[];
18675
- };
18676
18624
  } | {
18677
18625
  type: string;
18678
18626
  items: {
@@ -18691,11 +18639,6 @@ export declare function getDataSchema(graph: GraphType): {
18691
18639
  type: string;
18692
18640
  }[];
18693
18641
  };
18694
- date: {
18695
- oneOf: {
18696
- type: string;
18697
- }[];
18698
- };
18699
18642
  data: {
18700
18643
  type: string;
18701
18644
  };
@@ -19876,8 +19819,6 @@ export declare const getDataSelectionSchema: (columnList?: string[]) => {
19876
19819
  items: {
19877
19820
  type: string;
19878
19821
  };
19879
- maxItems: number;
19880
- minItems: number;
19881
19822
  type: string;
19882
19823
  };
19883
19824
  yAxisTitle: {
@@ -19890,8 +19831,6 @@ export declare const getDataSelectionSchema: (columnList?: string[]) => {
19890
19831
  items: {
19891
19832
  type: string;
19892
19833
  };
19893
- maxItems: number;
19894
- minItems: number;
19895
19834
  type: string;
19896
19835
  };
19897
19836
  year: {
@@ -24507,7 +24446,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
24507
24446
  type: string;
24508
24447
  };
24509
24448
  };
24510
- required: string[];
24511
24449
  } | {
24512
24450
  type: string;
24513
24451
  properties: {
@@ -24573,16 +24511,12 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
24573
24511
  items: {
24574
24512
  type: string;
24575
24513
  };
24576
- minItems: number;
24577
- maxItems: number;
24578
24514
  };
24579
24515
  yDomain: {
24580
24516
  type: string;
24581
24517
  items: {
24582
24518
  type: string;
24583
24519
  };
24584
- minItems: number;
24585
- maxItems: number;
24586
24520
  };
24587
24521
  colors: {
24588
24522
  type: string;
@@ -24591,11 +24525,7 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
24591
24525
  items: {
24592
24526
  type: string;
24593
24527
  };
24594
- minItems: number;
24595
- maxItems: number;
24596
24528
  };
24597
- minItems: number;
24598
- maxItems: number;
24599
24529
  };
24600
24530
  scale: {
24601
24531
  type: string;
@@ -28248,8 +28178,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
28248
28178
  items: {
28249
28179
  type: string;
28250
28180
  };
28251
- maxItems: number;
28252
- minItems: number;
28253
28181
  type: string;
28254
28182
  };
28255
28183
  yAxisTitle: {
@@ -28262,8 +28190,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
28262
28190
  items: {
28263
28191
  type: string;
28264
28192
  };
28265
- maxItems: number;
28266
- minItems: number;
28267
28193
  type: string;
28268
28194
  };
28269
28195
  year: {
@@ -29521,8 +29447,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
29521
29447
  items: {
29522
29448
  type: string;
29523
29449
  };
29524
- maxItems: number;
29525
- minItems: number;
29526
29450
  type: string;
29527
29451
  };
29528
29452
  yAxisTitle: {
@@ -29535,8 +29459,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
29535
29459
  items: {
29536
29460
  type: string;
29537
29461
  };
29538
- maxItems: number;
29539
- minItems: number;
29540
29462
  type: string;
29541
29463
  };
29542
29464
  year: {
@@ -30772,8 +30694,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
30772
30694
  items: {
30773
30695
  type: string;
30774
30696
  };
30775
- maxItems: number;
30776
- minItems: number;
30777
30697
  type: string;
30778
30698
  };
30779
30699
  yAxisTitle: {
@@ -30786,8 +30706,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
30786
30706
  items: {
30787
30707
  type: string;
30788
30708
  };
30789
- maxItems: number;
30790
- minItems: number;
30791
30709
  type: string;
30792
30710
  };
30793
30711
  year: {
@@ -35200,7 +35118,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
35200
35118
  type: string;
35201
35119
  };
35202
35120
  };
35203
- required: string[];
35204
35121
  } | {
35205
35122
  type: string;
35206
35123
  properties: {
@@ -35266,16 +35183,12 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
35266
35183
  items: {
35267
35184
  type: string;
35268
35185
  };
35269
- minItems: number;
35270
- maxItems: number;
35271
35186
  };
35272
35187
  yDomain: {
35273
35188
  type: string;
35274
35189
  items: {
35275
35190
  type: string;
35276
35191
  };
35277
- minItems: number;
35278
- maxItems: number;
35279
35192
  };
35280
35193
  colors: {
35281
35194
  type: string;
@@ -35284,11 +35197,7 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
35284
35197
  items: {
35285
35198
  type: string;
35286
35199
  };
35287
- minItems: number;
35288
- maxItems: number;
35289
35200
  };
35290
- minItems: number;
35291
- maxItems: number;
35292
35201
  };
35293
35202
  scale: {
35294
35203
  type: string;
@@ -38977,8 +38886,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
38977
38886
  items: {
38978
38887
  type: string;
38979
38888
  };
38980
- maxItems: number;
38981
- minItems: number;
38982
38889
  type: string;
38983
38890
  };
38984
38891
  yAxisTitle: {
@@ -38991,8 +38898,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
38991
38898
  items: {
38992
38899
  type: string;
38993
38900
  };
38994
- maxItems: number;
38995
- minItems: number;
38996
38901
  type: string;
38997
38902
  };
38998
38903
  year: {
@@ -40250,8 +40155,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
40250
40155
  items: {
40251
40156
  type: string;
40252
40157
  };
40253
- maxItems: number;
40254
- minItems: number;
40255
40158
  type: string;
40256
40159
  };
40257
40160
  yAxisTitle: {
@@ -40264,8 +40167,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
40264
40167
  items: {
40265
40168
  type: string;
40266
40169
  };
40267
- maxItems: number;
40268
- minItems: number;
40269
40170
  type: string;
40270
40171
  };
40271
40172
  year: {
@@ -41501,8 +41402,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
41501
41402
  items: {
41502
41403
  type: string;
41503
41404
  };
41504
- maxItems: number;
41505
- minItems: number;
41506
41405
  type: string;
41507
41406
  };
41508
41407
  yAxisTitle: {
@@ -41515,8 +41414,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
41515
41414
  items: {
41516
41415
  type: string;
41517
41416
  };
41518
- maxItems: number;
41519
- minItems: number;
41520
41417
  type: string;
41521
41418
  };
41522
41419
  year: {
@@ -41853,7 +41750,7 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
41853
41750
  * @example
41854
41751
  * getJenks([1, 2, 3, 10, 20, 30], 3); // e.g., [3, 10]
41855
41752
  */
41856
- export declare function getJenks(data: number[], noOfSteps: number): number[];
41753
+ export declare function getJenks(data: (number | null | undefined)[], noOfSteps: number): number[];
41857
41754
 
41858
41755
  /**
41859
41756
  * Returns the value at the given percentile from a numeric dataset.
@@ -45992,7 +45889,6 @@ export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): {
45992
45889
  type: string;
45993
45890
  };
45994
45891
  };
45995
- required: string[];
45996
45892
  } | {
45997
45893
  type: string;
45998
45894
  properties: {
@@ -46058,16 +45954,12 @@ export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): {
46058
45954
  items: {
46059
45955
  type: string;
46060
45956
  };
46061
- minItems: number;
46062
- maxItems: number;
46063
45957
  };
46064
45958
  yDomain: {
46065
45959
  type: string;
46066
45960
  items: {
46067
45961
  type: string;
46068
45962
  };
46069
- minItems: number;
46070
- maxItems: number;
46071
45963
  };
46072
45964
  colors: {
46073
45965
  type: string;
@@ -46076,11 +45968,7 @@ export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): {
46076
45968
  items: {
46077
45969
  type: string;
46078
45970
  };
46079
- minItems: number;
46080
- maxItems: number;
46081
45971
  };
46082
- minItems: number;
46083
- maxItems: number;
46084
45972
  };
46085
45973
  scale: {
46086
45974
  type: string;
@@ -52653,7 +52541,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
52653
52541
  type: string;
52654
52542
  };
52655
52543
  };
52656
- required: string[];
52657
52544
  } | {
52658
52545
  type: string;
52659
52546
  properties: {
@@ -52719,16 +52606,12 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
52719
52606
  items: {
52720
52607
  type: string;
52721
52608
  };
52722
- minItems: number;
52723
- maxItems: number;
52724
52609
  };
52725
52610
  yDomain: {
52726
52611
  type: string;
52727
52612
  items: {
52728
52613
  type: string;
52729
52614
  };
52730
- minItems: number;
52731
- maxItems: number;
52732
52615
  };
52733
52616
  colors: {
52734
52617
  type: string;
@@ -52737,11 +52620,7 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
52737
52620
  items: {
52738
52621
  type: string;
52739
52622
  };
52740
- minItems: number;
52741
- maxItems: number;
52742
52623
  };
52743
- minItems: number;
52744
- maxItems: number;
52745
52624
  };
52746
52625
  scale: {
52747
52626
  type: string;
@@ -59377,7 +59256,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
59377
59256
  type: string;
59378
59257
  };
59379
59258
  };
59380
- required: string[];
59381
59259
  } | {
59382
59260
  type: string;
59383
59261
  properties: {
@@ -59443,16 +59321,12 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
59443
59321
  items: {
59444
59322
  type: string;
59445
59323
  };
59446
- minItems: number;
59447
- maxItems: number;
59448
59324
  };
59449
59325
  yDomain: {
59450
59326
  type: string;
59451
59327
  items: {
59452
59328
  type: string;
59453
59329
  };
59454
- minItems: number;
59455
- maxItems: number;
59456
59330
  };
59457
59331
  colors: {
59458
59332
  type: string;
@@ -59461,11 +59335,7 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
59461
59335
  items: {
59462
59336
  type: string;
59463
59337
  };
59464
- minItems: number;
59465
- maxItems: number;
59466
59338
  };
59467
- minItems: number;
59468
- maxItems: number;
59469
59339
  };
59470
59340
  scale: {
59471
59341
  type: string;
@@ -63093,8 +62963,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
63093
62963
  items: {
63094
62964
  type: string;
63095
62965
  };
63096
- maxItems: number;
63097
- minItems: number;
63098
62966
  type: string;
63099
62967
  };
63100
62968
  yAxisTitle: {
@@ -63107,8 +62975,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
63107
62975
  items: {
63108
62976
  type: string;
63109
62977
  };
63110
- maxItems: number;
63111
- minItems: number;
63112
62978
  type: string;
63113
62979
  };
63114
62980
  year: {
@@ -64366,8 +64232,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
64366
64232
  items: {
64367
64233
  type: string;
64368
64234
  };
64369
- maxItems: number;
64370
- minItems: number;
64371
64235
  type: string;
64372
64236
  };
64373
64237
  yAxisTitle: {
@@ -64380,8 +64244,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
64380
64244
  items: {
64381
64245
  type: string;
64382
64246
  };
64383
- maxItems: number;
64384
- minItems: number;
64385
64247
  type: string;
64386
64248
  };
64387
64249
  year: {
@@ -65617,8 +65479,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
65617
65479
  items: {
65618
65480
  type: string;
65619
65481
  };
65620
- maxItems: number;
65621
- minItems: number;
65622
65482
  type: string;
65623
65483
  };
65624
65484
  yAxisTitle: {
@@ -65631,8 +65491,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
65631
65491
  items: {
65632
65492
  type: string;
65633
65493
  };
65634
- maxItems: number;
65635
- minItems: number;
65636
65494
  type: string;
65637
65495
  };
65638
65496
  year: {
@@ -70087,7 +69945,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
70087
69945
  type: string;
70088
69946
  };
70089
69947
  };
70090
- required: string[];
70091
69948
  } | {
70092
69949
  type: string;
70093
69950
  properties: {
@@ -70153,16 +70010,12 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
70153
70010
  items: {
70154
70011
  type: string;
70155
70012
  };
70156
- minItems: number;
70157
- maxItems: number;
70158
70013
  };
70159
70014
  yDomain: {
70160
70015
  type: string;
70161
70016
  items: {
70162
70017
  type: string;
70163
70018
  };
70164
- minItems: number;
70165
- maxItems: number;
70166
70019
  };
70167
70020
  colors: {
70168
70021
  type: string;
@@ -70171,11 +70024,7 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
70171
70024
  items: {
70172
70025
  type: string;
70173
70026
  };
70174
- minItems: number;
70175
- maxItems: number;
70176
70027
  };
70177
- minItems: number;
70178
- maxItems: number;
70179
70028
  };
70180
70029
  scale: {
70181
70030
  type: string;
@@ -73845,8 +73694,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
73845
73694
  items: {
73846
73695
  type: string;
73847
73696
  };
73848
- maxItems: number;
73849
- minItems: number;
73850
73697
  type: string;
73851
73698
  };
73852
73699
  yAxisTitle: {
@@ -73859,8 +73706,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
73859
73706
  items: {
73860
73707
  type: string;
73861
73708
  };
73862
- maxItems: number;
73863
- minItems: number;
73864
73709
  type: string;
73865
73710
  };
73866
73711
  year: {
@@ -75118,8 +74963,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
75118
74963
  items: {
75119
74964
  type: string;
75120
74965
  };
75121
- maxItems: number;
75122
- minItems: number;
75123
74966
  type: string;
75124
74967
  };
75125
74968
  yAxisTitle: {
@@ -75132,8 +74975,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
75132
74975
  items: {
75133
74976
  type: string;
75134
74977
  };
75135
- maxItems: number;
75136
- minItems: number;
75137
74978
  type: string;
75138
74979
  };
75139
74980
  year: {
@@ -76369,8 +76210,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
76369
76210
  items: {
76370
76211
  type: string;
76371
76212
  };
76372
- maxItems: number;
76373
- minItems: number;
76374
76213
  type: string;
76375
76214
  };
76376
76215
  yAxisTitle: {
@@ -76383,8 +76222,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
76383
76222
  items: {
76384
76223
  type: string;
76385
76224
  };
76386
- maxItems: number;
76387
- minItems: number;
76388
76225
  type: string;
76389
76226
  };
76390
76227
  year: {
@@ -77228,7 +77065,7 @@ export declare function GroupedBarGraph(props: GroupedBarChartProps): JSX_2.Elem
77228
77065
 
77229
77066
  declare interface GroupedBarGraphDataType {
77230
77067
  label: string | number;
77231
- size: (number | undefined | null)[];
77068
+ size: (number | null)[];
77232
77069
  data?: object;
77233
77070
  }
77234
77071
 
@@ -77330,7 +77167,7 @@ export declare function MultiLineChart(props: Props_9): JSX_2.Element;
77330
77167
 
77331
77168
  declare interface MultiLineChartDataType {
77332
77169
  date: number | string;
77333
- y: (number | undefined | null)[];
77170
+ y: (number | null)[];
77334
77171
  data?: object;
77335
77172
  }
77336
77173
 
@@ -77668,9 +77505,9 @@ declare interface Props_12 {
77668
77505
  /** Title for the second color legend */
77669
77506
  yColorLegendTitle?: string;
77670
77507
  /** Domain of x-colors for the map */
77671
- xDomain: number[];
77508
+ xDomain?: number[];
77672
77509
  /** Domain of y-colors for the map */
77673
- yDomain: number[];
77510
+ yDomain?: number[];
77674
77511
  /** Color for the areas where data is no available */
77675
77512
  mapNoDataColor?: string;
77676
77513
  /** Background color of the graph */
@@ -77753,7 +77590,7 @@ declare interface Props_13 {
77753
77590
  /** Colors for the choropleth map */
77754
77591
  colors?: string[];
77755
77592
  /** Domain of colors for the graph */
77756
- colorDomain: number[] | string[];
77593
+ colorDomain?: number[] | string[];
77757
77594
  /** Title for the color legend */
77758
77595
  colorLegendTitle?: string;
77759
77596
  /** Color for the areas where data is no available */
@@ -79930,9 +79767,9 @@ declare interface Props_44 {
79930
79767
  /** Title for the second color legend */
79931
79768
  yColorLegendTitle?: string;
79932
79769
  /** Domain of x-colors for the map */
79933
- xDomain: number[];
79770
+ xDomain?: number[];
79934
79771
  /** Domain of y-colors for the map */
79935
- yDomain: number[];
79772
+ yDomain?: number[];
79936
79773
  /** Color for the areas where data is no available */
79937
79774
  mapNoDataColor?: string;
79938
79775
  /** Background color of the graph */
@@ -80021,7 +79858,7 @@ declare interface Props_45 {
80021
79858
  /** Colors for the choropleth map */
80022
79859
  colors?: string[];
80023
79860
  /** Domain of colors for the graph */
80024
- colorDomain: number[] | string[];
79861
+ colorDomain?: number[] | string[];
80025
79862
  /** Title for the color legend */
80026
79863
  colorLegendTitle?: string;
80027
79864
  /** Color for the areas where data is no available */