@mui/x-charts 8.13.1 → 8.14.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.
- package/BarChart/BarChart.js +44 -36
- package/CHANGELOG.md +109 -1
- package/ChartContainer/ChartContainer.js +68 -56
- package/ChartsTooltip/ChartsTooltipContainer.js +2 -0
- package/ChartsXAxis/useAxisTicksProps.d.ts +197 -355
- package/ChartsYAxis/useAxisTicksProps.d.ts +197 -355
- package/LineChart/LineChart.js +44 -36
- package/PieChart/PieArc.d.ts +18 -4
- package/PieChart/PieArc.js +11 -5
- package/PieChart/PieArcPlot.js +3 -1
- package/ScatterChart/ScatterChart.js +44 -36
- package/SparkLineChart/SparkLineChart.js +44 -36
- package/esm/BarChart/BarChart.js +44 -36
- package/esm/ChartContainer/ChartContainer.js +68 -56
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +2 -0
- package/esm/ChartsXAxis/useAxisTicksProps.d.ts +197 -355
- package/esm/ChartsYAxis/useAxisTicksProps.d.ts +197 -355
- package/esm/LineChart/LineChart.js +44 -36
- package/esm/PieChart/PieArc.d.ts +18 -4
- package/esm/PieChart/PieArc.js +11 -5
- package/esm/PieChart/PieArcPlot.js +3 -1
- package/esm/ScatterChart/ScatterChart.js +44 -36
- package/esm/SparkLineChart/SparkLineChart.js +44 -36
- package/esm/hooks/animation/useAnimate.js +5 -3
- package/esm/hooks/useScale.d.ts +5 -1
- package/esm/index.js +1 -1
- package/esm/internals/animation/useAnimateInternal.d.ts +1 -1
- package/esm/internals/animation/useAnimateInternal.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +8 -8
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +4 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +9 -11
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -28
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +3 -24
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +20 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +77 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +4 -65
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +7 -104
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +31 -39
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +166 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +158 -47
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +10 -3
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -2
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +6 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +5 -1
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +9 -1
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +10 -1
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +2 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +2 -2
- package/esm/internals/scaleGuards.d.ts +12 -6
- package/esm/internals/symlogScale.js +5 -0
- package/esm/locales/enUS.js +4 -4
- package/esm/locales/ptBR.js +97 -99
- package/esm/models/axis.d.ts +39 -17
- package/esm/models/axis.js +3 -0
- package/hooks/animation/useAnimate.js +4 -3
- package/hooks/useScale.d.ts +5 -1
- package/index.js +1 -1
- package/internals/animation/useAnimateInternal.d.ts +1 -1
- package/internals/animation/useAnimateInternal.js +1 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +7 -7
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +4 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +9 -11
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -28
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +3 -25
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +20 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +84 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +4 -65
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +8 -108
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +29 -37
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +166 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +158 -47
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +10 -3
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +6 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +5 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +9 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +11 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +2 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +1 -1
- package/internals/scaleGuards.d.ts +12 -6
- package/internals/symlogScale.js +5 -0
- package/locales/enUS.js +4 -4
- package/locales/ptBR.js +97 -99
- package/models/axis.d.ts +39 -17
- package/models/axis.js +4 -0
- package/package.json +6 -6
|
@@ -398,8 +398,6 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
398
398
|
ignoreTooltip: _propTypes.default.bool,
|
|
399
399
|
label: _propTypes.default.string,
|
|
400
400
|
labelStyle: _propTypes.default.object,
|
|
401
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
402
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
403
401
|
offset: _propTypes.default.number,
|
|
404
402
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
405
403
|
reverse: _propTypes.default.bool,
|
|
@@ -452,8 +450,6 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
452
450
|
ignoreTooltip: _propTypes.default.bool,
|
|
453
451
|
label: _propTypes.default.string,
|
|
454
452
|
labelStyle: _propTypes.default.object,
|
|
455
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
456
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
457
453
|
offset: _propTypes.default.number,
|
|
458
454
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
459
455
|
reverse: _propTypes.default.bool,
|
|
@@ -496,8 +492,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
496
492
|
ignoreTooltip: _propTypes.default.bool,
|
|
497
493
|
label: _propTypes.default.string,
|
|
498
494
|
labelStyle: _propTypes.default.object,
|
|
499
|
-
max: _propTypes.default.
|
|
500
|
-
min: _propTypes.default.
|
|
495
|
+
max: _propTypes.default.number,
|
|
496
|
+
min: _propTypes.default.number,
|
|
501
497
|
offset: _propTypes.default.number,
|
|
502
498
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
503
499
|
reverse: _propTypes.default.bool,
|
|
@@ -541,8 +537,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
541
537
|
ignoreTooltip: _propTypes.default.bool,
|
|
542
538
|
label: _propTypes.default.string,
|
|
543
539
|
labelStyle: _propTypes.default.object,
|
|
544
|
-
max: _propTypes.default.
|
|
545
|
-
min: _propTypes.default.
|
|
540
|
+
max: _propTypes.default.number,
|
|
541
|
+
min: _propTypes.default.number,
|
|
546
542
|
offset: _propTypes.default.number,
|
|
547
543
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
548
544
|
reverse: _propTypes.default.bool,
|
|
@@ -585,8 +581,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
585
581
|
ignoreTooltip: _propTypes.default.bool,
|
|
586
582
|
label: _propTypes.default.string,
|
|
587
583
|
labelStyle: _propTypes.default.object,
|
|
588
|
-
max: _propTypes.default.
|
|
589
|
-
min: _propTypes.default.
|
|
584
|
+
max: _propTypes.default.number,
|
|
585
|
+
min: _propTypes.default.number,
|
|
590
586
|
offset: _propTypes.default.number,
|
|
591
587
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
592
588
|
reverse: _propTypes.default.bool,
|
|
@@ -629,8 +625,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
629
625
|
ignoreTooltip: _propTypes.default.bool,
|
|
630
626
|
label: _propTypes.default.string,
|
|
631
627
|
labelStyle: _propTypes.default.object,
|
|
632
|
-
max: _propTypes.default.
|
|
633
|
-
min: _propTypes.default.
|
|
628
|
+
max: _propTypes.default.number,
|
|
629
|
+
min: _propTypes.default.number,
|
|
634
630
|
offset: _propTypes.default.number,
|
|
635
631
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
636
632
|
reverse: _propTypes.default.bool,
|
|
@@ -673,8 +669,12 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
673
669
|
ignoreTooltip: _propTypes.default.bool,
|
|
674
670
|
label: _propTypes.default.string,
|
|
675
671
|
labelStyle: _propTypes.default.object,
|
|
676
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
677
|
-
|
|
672
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
673
|
+
valueOf: _propTypes.default.func.isRequired
|
|
674
|
+
})]),
|
|
675
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
676
|
+
valueOf: _propTypes.default.func.isRequired
|
|
677
|
+
})]),
|
|
678
678
|
offset: _propTypes.default.number,
|
|
679
679
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
680
680
|
reverse: _propTypes.default.bool,
|
|
@@ -717,8 +717,12 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
717
717
|
ignoreTooltip: _propTypes.default.bool,
|
|
718
718
|
label: _propTypes.default.string,
|
|
719
719
|
labelStyle: _propTypes.default.object,
|
|
720
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
721
|
-
|
|
720
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
721
|
+
valueOf: _propTypes.default.func.isRequired
|
|
722
|
+
})]),
|
|
723
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
724
|
+
valueOf: _propTypes.default.func.isRequired
|
|
725
|
+
})]),
|
|
722
726
|
offset: _propTypes.default.number,
|
|
723
727
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
724
728
|
reverse: _propTypes.default.bool,
|
|
@@ -761,8 +765,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
761
765
|
ignoreTooltip: _propTypes.default.bool,
|
|
762
766
|
label: _propTypes.default.string,
|
|
763
767
|
labelStyle: _propTypes.default.object,
|
|
764
|
-
max: _propTypes.default.
|
|
765
|
-
min: _propTypes.default.
|
|
768
|
+
max: _propTypes.default.number,
|
|
769
|
+
min: _propTypes.default.number,
|
|
766
770
|
offset: _propTypes.default.number,
|
|
767
771
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
768
772
|
reverse: _propTypes.default.bool,
|
|
@@ -821,8 +825,6 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
821
825
|
ignoreTooltip: _propTypes.default.bool,
|
|
822
826
|
label: _propTypes.default.string,
|
|
823
827
|
labelStyle: _propTypes.default.object,
|
|
824
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
825
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
826
828
|
offset: _propTypes.default.number,
|
|
827
829
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
828
830
|
reverse: _propTypes.default.bool,
|
|
@@ -874,8 +876,6 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
874
876
|
ignoreTooltip: _propTypes.default.bool,
|
|
875
877
|
label: _propTypes.default.string,
|
|
876
878
|
labelStyle: _propTypes.default.object,
|
|
877
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
878
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
879
879
|
offset: _propTypes.default.number,
|
|
880
880
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
881
881
|
reverse: _propTypes.default.bool,
|
|
@@ -917,8 +917,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
917
917
|
ignoreTooltip: _propTypes.default.bool,
|
|
918
918
|
label: _propTypes.default.string,
|
|
919
919
|
labelStyle: _propTypes.default.object,
|
|
920
|
-
max: _propTypes.default.
|
|
921
|
-
min: _propTypes.default.
|
|
920
|
+
max: _propTypes.default.number,
|
|
921
|
+
min: _propTypes.default.number,
|
|
922
922
|
offset: _propTypes.default.number,
|
|
923
923
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
924
924
|
reverse: _propTypes.default.bool,
|
|
@@ -961,8 +961,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
961
961
|
ignoreTooltip: _propTypes.default.bool,
|
|
962
962
|
label: _propTypes.default.string,
|
|
963
963
|
labelStyle: _propTypes.default.object,
|
|
964
|
-
max: _propTypes.default.
|
|
965
|
-
min: _propTypes.default.
|
|
964
|
+
max: _propTypes.default.number,
|
|
965
|
+
min: _propTypes.default.number,
|
|
966
966
|
offset: _propTypes.default.number,
|
|
967
967
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
968
968
|
reverse: _propTypes.default.bool,
|
|
@@ -1004,8 +1004,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
1004
1004
|
ignoreTooltip: _propTypes.default.bool,
|
|
1005
1005
|
label: _propTypes.default.string,
|
|
1006
1006
|
labelStyle: _propTypes.default.object,
|
|
1007
|
-
max: _propTypes.default.
|
|
1008
|
-
min: _propTypes.default.
|
|
1007
|
+
max: _propTypes.default.number,
|
|
1008
|
+
min: _propTypes.default.number,
|
|
1009
1009
|
offset: _propTypes.default.number,
|
|
1010
1010
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1011
1011
|
reverse: _propTypes.default.bool,
|
|
@@ -1047,8 +1047,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
1047
1047
|
ignoreTooltip: _propTypes.default.bool,
|
|
1048
1048
|
label: _propTypes.default.string,
|
|
1049
1049
|
labelStyle: _propTypes.default.object,
|
|
1050
|
-
max: _propTypes.default.
|
|
1051
|
-
min: _propTypes.default.
|
|
1050
|
+
max: _propTypes.default.number,
|
|
1051
|
+
min: _propTypes.default.number,
|
|
1052
1052
|
offset: _propTypes.default.number,
|
|
1053
1053
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1054
1054
|
reverse: _propTypes.default.bool,
|
|
@@ -1090,8 +1090,12 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
1090
1090
|
ignoreTooltip: _propTypes.default.bool,
|
|
1091
1091
|
label: _propTypes.default.string,
|
|
1092
1092
|
labelStyle: _propTypes.default.object,
|
|
1093
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
1094
|
-
|
|
1093
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1094
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1095
|
+
})]),
|
|
1096
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1097
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1098
|
+
})]),
|
|
1095
1099
|
offset: _propTypes.default.number,
|
|
1096
1100
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1097
1101
|
reverse: _propTypes.default.bool,
|
|
@@ -1133,8 +1137,12 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
1133
1137
|
ignoreTooltip: _propTypes.default.bool,
|
|
1134
1138
|
label: _propTypes.default.string,
|
|
1135
1139
|
labelStyle: _propTypes.default.object,
|
|
1136
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
1137
|
-
|
|
1140
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1141
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1142
|
+
})]),
|
|
1143
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1144
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1145
|
+
})]),
|
|
1138
1146
|
offset: _propTypes.default.number,
|
|
1139
1147
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1140
1148
|
reverse: _propTypes.default.bool,
|
|
@@ -1176,8 +1184,8 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
1176
1184
|
ignoreTooltip: _propTypes.default.bool,
|
|
1177
1185
|
label: _propTypes.default.string,
|
|
1178
1186
|
labelStyle: _propTypes.default.object,
|
|
1179
|
-
max: _propTypes.default.
|
|
1180
|
-
min: _propTypes.default.
|
|
1187
|
+
max: _propTypes.default.number,
|
|
1188
|
+
min: _propTypes.default.number,
|
|
1181
1189
|
offset: _propTypes.default.number,
|
|
1182
1190
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1183
1191
|
reverse: _propTypes.default.bool,
|
package/esm/BarChart/BarChart.js
CHANGED
|
@@ -275,8 +275,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
275
275
|
ignoreTooltip: PropTypes.bool,
|
|
276
276
|
label: PropTypes.string,
|
|
277
277
|
labelStyle: PropTypes.object,
|
|
278
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
279
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
280
278
|
offset: PropTypes.number,
|
|
281
279
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
282
280
|
reverse: PropTypes.bool,
|
|
@@ -329,8 +327,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
329
327
|
ignoreTooltip: PropTypes.bool,
|
|
330
328
|
label: PropTypes.string,
|
|
331
329
|
labelStyle: PropTypes.object,
|
|
332
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
333
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
334
330
|
offset: PropTypes.number,
|
|
335
331
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
336
332
|
reverse: PropTypes.bool,
|
|
@@ -373,8 +369,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
373
369
|
ignoreTooltip: PropTypes.bool,
|
|
374
370
|
label: PropTypes.string,
|
|
375
371
|
labelStyle: PropTypes.object,
|
|
376
|
-
max: PropTypes.
|
|
377
|
-
min: PropTypes.
|
|
372
|
+
max: PropTypes.number,
|
|
373
|
+
min: PropTypes.number,
|
|
378
374
|
offset: PropTypes.number,
|
|
379
375
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
380
376
|
reverse: PropTypes.bool,
|
|
@@ -418,8 +414,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
418
414
|
ignoreTooltip: PropTypes.bool,
|
|
419
415
|
label: PropTypes.string,
|
|
420
416
|
labelStyle: PropTypes.object,
|
|
421
|
-
max: PropTypes.
|
|
422
|
-
min: PropTypes.
|
|
417
|
+
max: PropTypes.number,
|
|
418
|
+
min: PropTypes.number,
|
|
423
419
|
offset: PropTypes.number,
|
|
424
420
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
425
421
|
reverse: PropTypes.bool,
|
|
@@ -462,8 +458,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
462
458
|
ignoreTooltip: PropTypes.bool,
|
|
463
459
|
label: PropTypes.string,
|
|
464
460
|
labelStyle: PropTypes.object,
|
|
465
|
-
max: PropTypes.
|
|
466
|
-
min: PropTypes.
|
|
461
|
+
max: PropTypes.number,
|
|
462
|
+
min: PropTypes.number,
|
|
467
463
|
offset: PropTypes.number,
|
|
468
464
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
469
465
|
reverse: PropTypes.bool,
|
|
@@ -506,8 +502,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
506
502
|
ignoreTooltip: PropTypes.bool,
|
|
507
503
|
label: PropTypes.string,
|
|
508
504
|
labelStyle: PropTypes.object,
|
|
509
|
-
max: PropTypes.
|
|
510
|
-
min: PropTypes.
|
|
505
|
+
max: PropTypes.number,
|
|
506
|
+
min: PropTypes.number,
|
|
511
507
|
offset: PropTypes.number,
|
|
512
508
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
513
509
|
reverse: PropTypes.bool,
|
|
@@ -550,8 +546,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
550
546
|
ignoreTooltip: PropTypes.bool,
|
|
551
547
|
label: PropTypes.string,
|
|
552
548
|
labelStyle: PropTypes.object,
|
|
553
|
-
max: PropTypes.oneOfType([PropTypes.
|
|
554
|
-
|
|
549
|
+
max: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
550
|
+
valueOf: PropTypes.func.isRequired
|
|
551
|
+
})]),
|
|
552
|
+
min: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
553
|
+
valueOf: PropTypes.func.isRequired
|
|
554
|
+
})]),
|
|
555
555
|
offset: PropTypes.number,
|
|
556
556
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
557
557
|
reverse: PropTypes.bool,
|
|
@@ -594,8 +594,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
594
594
|
ignoreTooltip: PropTypes.bool,
|
|
595
595
|
label: PropTypes.string,
|
|
596
596
|
labelStyle: PropTypes.object,
|
|
597
|
-
max: PropTypes.oneOfType([PropTypes.
|
|
598
|
-
|
|
597
|
+
max: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
598
|
+
valueOf: PropTypes.func.isRequired
|
|
599
|
+
})]),
|
|
600
|
+
min: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
601
|
+
valueOf: PropTypes.func.isRequired
|
|
602
|
+
})]),
|
|
599
603
|
offset: PropTypes.number,
|
|
600
604
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
601
605
|
reverse: PropTypes.bool,
|
|
@@ -638,8 +642,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
638
642
|
ignoreTooltip: PropTypes.bool,
|
|
639
643
|
label: PropTypes.string,
|
|
640
644
|
labelStyle: PropTypes.object,
|
|
641
|
-
max: PropTypes.
|
|
642
|
-
min: PropTypes.
|
|
645
|
+
max: PropTypes.number,
|
|
646
|
+
min: PropTypes.number,
|
|
643
647
|
offset: PropTypes.number,
|
|
644
648
|
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
645
649
|
reverse: PropTypes.bool,
|
|
@@ -699,8 +703,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
699
703
|
ignoreTooltip: PropTypes.bool,
|
|
700
704
|
label: PropTypes.string,
|
|
701
705
|
labelStyle: PropTypes.object,
|
|
702
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
703
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
704
706
|
offset: PropTypes.number,
|
|
705
707
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
706
708
|
reverse: PropTypes.bool,
|
|
@@ -752,8 +754,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
752
754
|
ignoreTooltip: PropTypes.bool,
|
|
753
755
|
label: PropTypes.string,
|
|
754
756
|
labelStyle: PropTypes.object,
|
|
755
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
756
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
757
757
|
offset: PropTypes.number,
|
|
758
758
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
759
759
|
reverse: PropTypes.bool,
|
|
@@ -795,8 +795,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
795
795
|
ignoreTooltip: PropTypes.bool,
|
|
796
796
|
label: PropTypes.string,
|
|
797
797
|
labelStyle: PropTypes.object,
|
|
798
|
-
max: PropTypes.
|
|
799
|
-
min: PropTypes.
|
|
798
|
+
max: PropTypes.number,
|
|
799
|
+
min: PropTypes.number,
|
|
800
800
|
offset: PropTypes.number,
|
|
801
801
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
802
802
|
reverse: PropTypes.bool,
|
|
@@ -839,8 +839,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
839
839
|
ignoreTooltip: PropTypes.bool,
|
|
840
840
|
label: PropTypes.string,
|
|
841
841
|
labelStyle: PropTypes.object,
|
|
842
|
-
max: PropTypes.
|
|
843
|
-
min: PropTypes.
|
|
842
|
+
max: PropTypes.number,
|
|
843
|
+
min: PropTypes.number,
|
|
844
844
|
offset: PropTypes.number,
|
|
845
845
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
846
846
|
reverse: PropTypes.bool,
|
|
@@ -882,8 +882,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
882
882
|
ignoreTooltip: PropTypes.bool,
|
|
883
883
|
label: PropTypes.string,
|
|
884
884
|
labelStyle: PropTypes.object,
|
|
885
|
-
max: PropTypes.
|
|
886
|
-
min: PropTypes.
|
|
885
|
+
max: PropTypes.number,
|
|
886
|
+
min: PropTypes.number,
|
|
887
887
|
offset: PropTypes.number,
|
|
888
888
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
889
889
|
reverse: PropTypes.bool,
|
|
@@ -925,8 +925,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
925
925
|
ignoreTooltip: PropTypes.bool,
|
|
926
926
|
label: PropTypes.string,
|
|
927
927
|
labelStyle: PropTypes.object,
|
|
928
|
-
max: PropTypes.
|
|
929
|
-
min: PropTypes.
|
|
928
|
+
max: PropTypes.number,
|
|
929
|
+
min: PropTypes.number,
|
|
930
930
|
offset: PropTypes.number,
|
|
931
931
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
932
932
|
reverse: PropTypes.bool,
|
|
@@ -968,8 +968,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
968
968
|
ignoreTooltip: PropTypes.bool,
|
|
969
969
|
label: PropTypes.string,
|
|
970
970
|
labelStyle: PropTypes.object,
|
|
971
|
-
max: PropTypes.oneOfType([PropTypes.
|
|
972
|
-
|
|
971
|
+
max: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
972
|
+
valueOf: PropTypes.func.isRequired
|
|
973
|
+
})]),
|
|
974
|
+
min: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
975
|
+
valueOf: PropTypes.func.isRequired
|
|
976
|
+
})]),
|
|
973
977
|
offset: PropTypes.number,
|
|
974
978
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
975
979
|
reverse: PropTypes.bool,
|
|
@@ -1011,8 +1015,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
1011
1015
|
ignoreTooltip: PropTypes.bool,
|
|
1012
1016
|
label: PropTypes.string,
|
|
1013
1017
|
labelStyle: PropTypes.object,
|
|
1014
|
-
max: PropTypes.oneOfType([PropTypes.
|
|
1015
|
-
|
|
1018
|
+
max: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
1019
|
+
valueOf: PropTypes.func.isRequired
|
|
1020
|
+
})]),
|
|
1021
|
+
min: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
1022
|
+
valueOf: PropTypes.func.isRequired
|
|
1023
|
+
})]),
|
|
1016
1024
|
offset: PropTypes.number,
|
|
1017
1025
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
1018
1026
|
reverse: PropTypes.bool,
|
|
@@ -1054,8 +1062,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
1054
1062
|
ignoreTooltip: PropTypes.bool,
|
|
1055
1063
|
label: PropTypes.string,
|
|
1056
1064
|
labelStyle: PropTypes.object,
|
|
1057
|
-
max: PropTypes.
|
|
1058
|
-
min: PropTypes.
|
|
1065
|
+
max: PropTypes.number,
|
|
1066
|
+
min: PropTypes.number,
|
|
1059
1067
|
offset: PropTypes.number,
|
|
1060
1068
|
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
1061
1069
|
reverse: PropTypes.bool,
|