@fluentui/react-charting 5.21.32 → 5.22.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/CHANGELOG.json +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/react-charting.d.ts +152 -0
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +60 -0
- package/lib/components/DonutChart/Arc/Arc.js +22 -5
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +15 -0
- package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.js +13 -4
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +10 -0
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.js +8 -2
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +10 -0
- package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js +30 -6
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +14 -0
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +29 -6
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +26 -9
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +10 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +75 -30
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +10 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +29 -10
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +10 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js +18 -7
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +10 -0
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +79 -14
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +10 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +32 -10
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +10 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/index.d.ts +39 -20
- package/lib/index.js +20 -20
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +25 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/gradients.d.ts +30 -0
- package/lib/utilities/gradients.js +173 -0
- package/lib/utilities/gradients.js.map +1 -0
- package/lib/utilities/index.d.ts +1 -0
- package/lib/utilities/index.js +1 -0
- package/lib/utilities/index.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.js +21 -4
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +15 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.js +12 -3
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +10 -0
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.js +7 -1
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +10 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +28 -4
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +14 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +28 -5
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +25 -8
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +10 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +74 -29
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +10 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +28 -9
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +10 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +17 -6
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +10 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +78 -13
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +10 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -9
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +10 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-amd/index.d.ts +39 -20
- package/lib-amd/index.js +36 -21
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +25 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/gradients.d.ts +30 -0
- package/lib-amd/utilities/gradients.js +180 -0
- package/lib-amd/utilities/gradients.js.map +1 -0
- package/lib-amd/utilities/index.d.ts +1 -0
- package/lib-amd/utilities/index.js +2 -1
- package/lib-amd/utilities/index.js.map +1 -1
- package/lib-amd/version.js +1 -1
- package/lib-amd/version.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +21 -4
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +15 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +12 -3
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +10 -0
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +7 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +10 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +28 -4
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +14 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +28 -5
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +25 -8
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +10 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +74 -29
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +10 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +28 -9
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +10 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +17 -6
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +10 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +78 -13
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +10 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -9
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +10 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/index.d.ts +39 -20
- package/lib-commonjs/index.js +55 -21
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +25 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/gradients.d.ts +30 -0
- package/lib-commonjs/utilities/gradients.js +178 -0
- package/lib-commonjs/utilities/gradients.js.map +1 -0
- package/lib-commonjs/utilities/index.d.ts +1 -0
- package/lib-commonjs/utilities/index.js +1 -0
- package/lib-commonjs/utilities/index.js.map +1 -1
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DonutChart/Arc/Arc.types.ts +18 -0
- package/src/components/DonutChart/DonutChart.types.ts +12 -0
- package/src/components/DonutChart/Pie/Pie.types.ts +12 -0
- package/src/components/GaugeChart/GaugeChart.types.ts +17 -0
- package/src/components/HorizontalBarChart/HorizontalBarChart.types.ts +12 -0
- package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +12 -0
- package/src/components/StackedBarChart/MultiStackedBarChart.types.ts +12 -0
- package/src/components/StackedBarChart/StackedBarChart.types.ts +12 -0
- package/src/components/VerticalBarChart/VerticalBarChart.types.ts +12 -0
- package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +12 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 16 Aug 2024 07:20:58 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.22.0",
|
|
7
|
+
"version": "5.22.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "t-shawngrant@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "2eac1694be564ec172b58f1ca2805e352d79e15e",
|
|
14
|
+
"comment": "Add Viva dataviz gradient palette and rounded corners to charts"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 15 Aug 2024 07:23:37 GMT",
|
|
6
21
|
"tag": "@fluentui/react-charting_v5.21.32",
|
|
7
22
|
"version": "5.21.32",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 16 Aug 2024 07:20:58 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.22.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.22.0)
|
|
8
|
+
|
|
9
|
+
Fri, 16 Aug 2024 07:20:58 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.32..@fluentui/react-charting_v5.22.0)
|
|
11
|
+
|
|
12
|
+
### Minor changes
|
|
13
|
+
|
|
14
|
+
- Add Viva dataviz gradient palette and rounded corners to charts ([PR #32008](https://github.com/microsoft/fluentui/pull/32008) by t-shawngrant@microsoft.com)
|
|
15
|
+
|
|
7
16
|
## [5.21.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.21.32)
|
|
8
17
|
|
|
9
|
-
Thu, 15 Aug 2024 07:
|
|
18
|
+
Thu, 15 Aug 2024 07:23:37 GMT
|
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.31..@fluentui/react-charting_v5.21.32)
|
|
11
20
|
|
|
12
21
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -58,6 +58,35 @@ declare enum CustomPoints {
|
|
|
58
58
|
dottedLine = 0
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
export declare const DataVizGradientPalette: {
|
|
62
|
+
gradient1: string;
|
|
63
|
+
gradient2: string;
|
|
64
|
+
gradient3: string;
|
|
65
|
+
gradient4: string;
|
|
66
|
+
gradient5: string;
|
|
67
|
+
gradient6: string;
|
|
68
|
+
gradient7: string;
|
|
69
|
+
gradient8: string;
|
|
70
|
+
gradient9: string;
|
|
71
|
+
gradient10: string;
|
|
72
|
+
gradient1Ext: string;
|
|
73
|
+
gradient2Ext: string;
|
|
74
|
+
gradient3Ext: string;
|
|
75
|
+
gradient4Ext: string;
|
|
76
|
+
gradient5Ext: string;
|
|
77
|
+
gradient6Ext: string;
|
|
78
|
+
gradient7Ext: string;
|
|
79
|
+
gradient8Ext: string;
|
|
80
|
+
gradient9Ext: string;
|
|
81
|
+
gradient10Ext: string;
|
|
82
|
+
success: string;
|
|
83
|
+
highSuccess: string;
|
|
84
|
+
warning: string;
|
|
85
|
+
error: string;
|
|
86
|
+
highError: string;
|
|
87
|
+
disabled: string;
|
|
88
|
+
};
|
|
89
|
+
|
|
61
90
|
export declare const DataVizPalette: {
|
|
62
91
|
color1: string;
|
|
63
92
|
color2: string;
|
|
@@ -140,8 +169,12 @@ export declare const getChartHoverCardStyles: (props: IChartHoverCardStyleProps)
|
|
|
140
169
|
|
|
141
170
|
export declare const getColorFromToken: (token: string, isDarkTheme?: boolean) => string;
|
|
142
171
|
|
|
172
|
+
export declare const getGradientFromToken: (token: string, isDarkTheme?: boolean) => [string, string];
|
|
173
|
+
|
|
143
174
|
export declare const getNextColor: (index: number, offset?: number, isDarkTheme?: boolean) => string;
|
|
144
175
|
|
|
176
|
+
export declare const getNextGradient: (index: number, offset?: number, isDarkTheme?: boolean) => [string, string];
|
|
177
|
+
|
|
145
178
|
/**
|
|
146
179
|
* GroupedVerticalBarchart component.
|
|
147
180
|
* {@docCategory GroupedVerticalBarChart}
|
|
@@ -649,6 +682,11 @@ export declare interface IChartDataPoint {
|
|
|
649
682
|
* Color for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
650
683
|
*/
|
|
651
684
|
color?: string;
|
|
685
|
+
/**
|
|
686
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
687
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
688
|
+
*/
|
|
689
|
+
gradient?: [string, string];
|
|
652
690
|
/**
|
|
653
691
|
* placeholder data point
|
|
654
692
|
*/
|
|
@@ -937,6 +975,16 @@ export declare interface IDonutChartProps extends ICartesianChartProps {
|
|
|
937
975
|
* @default true
|
|
938
976
|
*/
|
|
939
977
|
hideLabels?: boolean;
|
|
978
|
+
/**
|
|
979
|
+
* Prop to enable the gradient in the chart
|
|
980
|
+
* @default false
|
|
981
|
+
*/
|
|
982
|
+
enableGradient?: boolean;
|
|
983
|
+
/**
|
|
984
|
+
* Prop to enable the round corners in the chart
|
|
985
|
+
* @default false
|
|
986
|
+
*/
|
|
987
|
+
roundCorners?: boolean;
|
|
940
988
|
}
|
|
941
989
|
|
|
942
990
|
/**
|
|
@@ -1067,6 +1115,16 @@ export declare interface IGaugeChartProps {
|
|
|
1067
1115
|
* @defaultvalue GaugeChartVariant.MultipleSegments
|
|
1068
1116
|
*/
|
|
1069
1117
|
variant?: GaugeChartVariant;
|
|
1118
|
+
/**
|
|
1119
|
+
* Prop to enable the gradient in the chart
|
|
1120
|
+
* @default false
|
|
1121
|
+
*/
|
|
1122
|
+
enableGradient?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* Prop to enable the round corners in the chart
|
|
1125
|
+
* @default false
|
|
1126
|
+
*/
|
|
1127
|
+
roundCorners?: boolean;
|
|
1070
1128
|
}
|
|
1071
1129
|
|
|
1072
1130
|
/**
|
|
@@ -1086,6 +1144,10 @@ export declare interface IGaugeChartSegment {
|
|
|
1086
1144
|
* Color of the segment
|
|
1087
1145
|
*/
|
|
1088
1146
|
color?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Gradient color of the segment
|
|
1149
|
+
*/
|
|
1150
|
+
gradient?: [string, string];
|
|
1089
1151
|
/**
|
|
1090
1152
|
* Accessibility data for the segment
|
|
1091
1153
|
*/
|
|
@@ -1311,6 +1373,16 @@ export declare interface IGroupedVerticalBarChartProps extends ICartesianChartPr
|
|
|
1311
1373
|
* Only applicable to string x-axis.
|
|
1312
1374
|
*/
|
|
1313
1375
|
xAxisOuterPadding?: number;
|
|
1376
|
+
/**
|
|
1377
|
+
* @default false
|
|
1378
|
+
* The prop used to enable gradient fill color for the chart.
|
|
1379
|
+
*/
|
|
1380
|
+
enableGradient?: boolean;
|
|
1381
|
+
/**
|
|
1382
|
+
* @default false
|
|
1383
|
+
* The prop used to enable rounded corners for the chart.
|
|
1384
|
+
*/
|
|
1385
|
+
roundCorners?: boolean;
|
|
1314
1386
|
}
|
|
1315
1387
|
|
|
1316
1388
|
/**
|
|
@@ -1351,6 +1423,11 @@ export declare interface IGVBarChartSeriesPoint {
|
|
|
1351
1423
|
* Color for the legend in the chart
|
|
1352
1424
|
*/
|
|
1353
1425
|
color: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
1428
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
1429
|
+
*/
|
|
1430
|
+
gradient?: [string, string];
|
|
1354
1431
|
/**
|
|
1355
1432
|
* Legend text in the chart
|
|
1356
1433
|
*/
|
|
@@ -1637,6 +1714,16 @@ export declare interface IHorizontalBarChartProps {
|
|
|
1637
1714
|
* @default false
|
|
1638
1715
|
*/
|
|
1639
1716
|
hideLabels?: boolean;
|
|
1717
|
+
/**
|
|
1718
|
+
* @default false
|
|
1719
|
+
* The prop used to enable gradient fill color for the chart.
|
|
1720
|
+
*/
|
|
1721
|
+
enableGradient?: boolean;
|
|
1722
|
+
/**
|
|
1723
|
+
* @default false
|
|
1724
|
+
* The prop used to enable rounded corners for the chart.
|
|
1725
|
+
*/
|
|
1726
|
+
roundCorners?: boolean;
|
|
1640
1727
|
}
|
|
1641
1728
|
|
|
1642
1729
|
/**
|
|
@@ -1756,6 +1843,11 @@ export declare interface IHorizontalBarChartWithAxisDataPoint {
|
|
|
1756
1843
|
* color for the legend in the chart
|
|
1757
1844
|
*/
|
|
1758
1845
|
color?: string;
|
|
1846
|
+
/**
|
|
1847
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
1848
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
1849
|
+
*/
|
|
1850
|
+
gradient?: [string, string];
|
|
1759
1851
|
/**
|
|
1760
1852
|
* Callout data for x axis
|
|
1761
1853
|
* This is an optional prop, If haven;t given legend will take
|
|
@@ -1829,6 +1921,16 @@ export declare interface IHorizontalBarChartWithAxisProps extends ICartesianChar
|
|
|
1829
1921
|
*@default false
|
|
1830
1922
|
*Used for showing complete y axis lables */
|
|
1831
1923
|
showYAxisLables?: boolean;
|
|
1924
|
+
/**
|
|
1925
|
+
* @default false
|
|
1926
|
+
* The prop used to enable gradient fill color for the chart.
|
|
1927
|
+
*/
|
|
1928
|
+
enableGradient?: boolean;
|
|
1929
|
+
/**
|
|
1930
|
+
* @default false
|
|
1931
|
+
* The prop used to enable rounded corners for the bars.
|
|
1932
|
+
*/
|
|
1933
|
+
roundCorners?: boolean;
|
|
1832
1934
|
}
|
|
1833
1935
|
|
|
1834
1936
|
/**
|
|
@@ -2654,6 +2756,16 @@ export declare interface IMultiStackedBarChartProps {
|
|
|
2654
2756
|
* @default false
|
|
2655
2757
|
*/
|
|
2656
2758
|
hideLabels?: boolean;
|
|
2759
|
+
/**
|
|
2760
|
+
* @default false
|
|
2761
|
+
* The prop used to enable gradient fill color for the chart.
|
|
2762
|
+
*/
|
|
2763
|
+
enableGradient?: boolean;
|
|
2764
|
+
/**
|
|
2765
|
+
* @default false
|
|
2766
|
+
* The prop used to enable rounded corners for the chart.
|
|
2767
|
+
*/
|
|
2768
|
+
roundCorners?: boolean;
|
|
2657
2769
|
}
|
|
2658
2770
|
|
|
2659
2771
|
/**
|
|
@@ -3200,6 +3312,16 @@ export declare interface IStackedBarChartProps {
|
|
|
3200
3312
|
* The prop used to define the culture to localized the numbers
|
|
3201
3313
|
*/
|
|
3202
3314
|
culture?: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* @default false
|
|
3317
|
+
* The prop used to enable gradient fill color for the chart.
|
|
3318
|
+
*/
|
|
3319
|
+
enableGradient?: boolean;
|
|
3320
|
+
/**
|
|
3321
|
+
* @default false
|
|
3322
|
+
* The prop used to enable rounded corners for the chart.
|
|
3323
|
+
*/
|
|
3324
|
+
roundCorners?: boolean;
|
|
3203
3325
|
}
|
|
3204
3326
|
|
|
3205
3327
|
/**
|
|
@@ -3538,6 +3660,11 @@ export declare interface IVerticalBarChartDataPoint {
|
|
|
3538
3660
|
* color for the legend in the chart
|
|
3539
3661
|
*/
|
|
3540
3662
|
color?: string;
|
|
3663
|
+
/**
|
|
3664
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
3665
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
3666
|
+
*/
|
|
3667
|
+
gradient?: [string, string];
|
|
3541
3668
|
/**
|
|
3542
3669
|
* Callout data for x axis
|
|
3543
3670
|
* This is an optional prop, If haven;t given legend will take
|
|
@@ -3643,6 +3770,16 @@ export declare interface IVerticalBarChartProps extends ICartesianChartProps {
|
|
|
3643
3770
|
* Only applicable to string x-axis.
|
|
3644
3771
|
*/
|
|
3645
3772
|
xAxisOuterPadding?: number;
|
|
3773
|
+
/**
|
|
3774
|
+
* @default false
|
|
3775
|
+
* The prop used to enable gradient fill color for the chart.
|
|
3776
|
+
*/
|
|
3777
|
+
enableGradient?: boolean;
|
|
3778
|
+
/**
|
|
3779
|
+
* @default false
|
|
3780
|
+
* The prop used to enable rounded corners for the chart.
|
|
3781
|
+
*/
|
|
3782
|
+
roundCorners?: boolean;
|
|
3646
3783
|
}
|
|
3647
3784
|
|
|
3648
3785
|
/**
|
|
@@ -3817,6 +3954,16 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
|
|
|
3817
3954
|
* Only applicable to string x-axis.
|
|
3818
3955
|
*/
|
|
3819
3956
|
xAxisOuterPadding?: number;
|
|
3957
|
+
/**
|
|
3958
|
+
* @default false
|
|
3959
|
+
* The prop used to enable gradient fill color for the chart.
|
|
3960
|
+
*/
|
|
3961
|
+
enableGradient?: boolean;
|
|
3962
|
+
/**
|
|
3963
|
+
* @default false
|
|
3964
|
+
* The prop used to enable rounded corners for the chart.
|
|
3965
|
+
*/
|
|
3966
|
+
roundCorners?: boolean;
|
|
3820
3967
|
}
|
|
3821
3968
|
|
|
3822
3969
|
/**
|
|
@@ -3932,6 +4079,11 @@ export declare interface IVSChartDataPoint {
|
|
|
3932
4079
|
* color for the legend in the chart
|
|
3933
4080
|
*/
|
|
3934
4081
|
color?: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
4084
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
4085
|
+
*/
|
|
4086
|
+
gradient?: [string, string];
|
|
3935
4087
|
/**
|
|
3936
4088
|
* Callout data for x axis
|
|
3937
4089
|
* This is an optional prop, If haven;t given legend will take
|