@@ -14,7 +14,7 @@ const lineData = PropTypes.shape({
14
14
PropTypes . number
15
15
] )
16
16
) ,
17
- label : PropTypes . string ,
17
+ label : PropTypes . string . isRequired ,
18
18
config : PropTypes . shape ( {
19
19
...ChartDataSetConfig . common ,
20
20
...ChartDataSetConfig . barLineScatterCandleBubble ,
@@ -57,7 +57,7 @@ const barData = PropTypes.shape({
57
57
] )
58
58
] )
59
59
) ,
60
- label : PropTypes . string ,
60
+ label : PropTypes . string . isRequired ,
61
61
config : PropTypes . shape ( {
62
62
...ChartDataSetConfig . common ,
63
63
...ChartDataSetConfig . barLineScatterCandleBubble ,
@@ -87,7 +87,7 @@ const bubbleData = PropTypes.shape({
87
87
size : PropTypes . number . isRequired ,
88
88
marker : PropTypes . string ,
89
89
} ) ) ,
90
- label : PropTypes . string ,
90
+ label : PropTypes . string . isRequired ,
91
91
config : PropTypes . shape ( {
92
92
...ChartDataSetConfig . common ,
93
93
...ChartDataSetConfig . barLineScatterCandleBubble ,
@@ -108,7 +108,7 @@ const candleData = PropTypes.shape({
108
108
marker : PropTypes . string ,
109
109
} )
110
110
) ,
111
- label : PropTypes . string ,
111
+ label : PropTypes . string . isRequired ,
112
112
config : PropTypes . shape ( {
113
113
...ChartDataSetConfig . common ,
114
114
...ChartDataSetConfig . barLineScatterCandleBubble ,
@@ -138,7 +138,7 @@ const pieData = PropTypes.shape({
138
138
PropTypes . number
139
139
] )
140
140
) ,
141
- label : PropTypes . string ,
141
+ label : PropTypes . string . isRequired ,
142
142
config : PropTypes . shape ( {
143
143
...ChartDataSetConfig . common ,
144
144
@@ -156,7 +156,7 @@ const radarData = PropTypes.shape({
156
156
PropTypes . number
157
157
] )
158
158
) ,
159
- label : PropTypes . string ,
159
+ label : PropTypes . string . isRequired ,
160
160
config : PropTypes . shape ( {
161
161
...ChartDataSetConfig . common ,
162
162
...ChartDataSetConfig . lineScatterCandleRadar ,
@@ -179,7 +179,7 @@ const scatterData = PropTypes.shape({
179
179
PropTypes . number
180
180
] )
181
181
) ,
182
- label : PropTypes . string ,
182
+ label : PropTypes . string . isRequired ,
183
183
config : PropTypes . shape ( {
184
184
...ChartDataSetConfig . common ,
185
185
...ChartDataSetConfig . barLineScatterCandleBubble ,
0 commit comments