@fluentui/react-charting 5.21.32 → 5.22.1

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 (188) hide show
  1. package/CHANGELOG.json +37 -1
  2. package/CHANGELOG.md +21 -2
  3. package/dist/react-charting.d.ts +152 -0
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/etc/react-charting.api.md +60 -0
  7. package/lib/components/DonutChart/Arc/Arc.js +22 -5
  8. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  9. package/lib/components/DonutChart/Arc/Arc.types.d.ts +15 -0
  10. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
  11. package/lib/components/DonutChart/DonutChart.base.js +13 -4
  12. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  13. package/lib/components/DonutChart/DonutChart.types.d.ts +10 -0
  14. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  15. package/lib/components/DonutChart/Pie/Pie.js +8 -2
  16. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  17. package/lib/components/DonutChart/Pie/Pie.types.d.ts +10 -0
  18. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
  19. package/lib/components/GaugeChart/GaugeChart.base.js +30 -6
  20. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  21. package/lib/components/GaugeChart/GaugeChart.types.d.ts +14 -0
  22. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  23. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +29 -6
  24. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  25. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -0
  26. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  27. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +26 -9
  28. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  29. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +10 -0
  30. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  31. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +75 -30
  32. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  33. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +10 -0
  34. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  35. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +29 -10
  36. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  37. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +10 -0
  38. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  39. package/lib/components/StackedBarChart/StackedBarChart.base.js +18 -7
  40. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  41. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +10 -0
  42. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  43. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +79 -14
  44. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  45. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +10 -0
  46. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  47. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +32 -10
  48. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  49. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +10 -0
  50. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  51. package/lib/index.d.ts +39 -20
  52. package/lib/index.js +20 -20
  53. package/lib/index.js.map +1 -1
  54. package/lib/types/IDataPoint.d.ts +25 -0
  55. package/lib/types/IDataPoint.js.map +1 -1
  56. package/lib/utilities/gradients.d.ts +30 -0
  57. package/lib/utilities/gradients.js +173 -0
  58. package/lib/utilities/gradients.js.map +1 -0
  59. package/lib/utilities/index.d.ts +1 -0
  60. package/lib/utilities/index.js +1 -0
  61. package/lib/utilities/index.js.map +1 -1
  62. package/lib/version.js +1 -1
  63. package/lib/version.js.map +1 -1
  64. package/lib-amd/components/DonutChart/Arc/Arc.js +21 -4
  65. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
  66. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +15 -0
  67. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -1
  68. package/lib-amd/components/DonutChart/DonutChart.base.js +12 -3
  69. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  70. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +10 -0
  71. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  72. package/lib-amd/components/DonutChart/Pie/Pie.js +7 -1
  73. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
  74. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +10 -0
  75. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -1
  76. package/lib-amd/components/GaugeChart/GaugeChart.base.js +28 -4
  77. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  78. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +14 -0
  79. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
  80. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +28 -5
  81. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  82. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -0
  83. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  84. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +25 -8
  85. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  86. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +10 -0
  87. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  88. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +74 -29
  89. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  90. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +10 -0
  91. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  92. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +28 -9
  93. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  94. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +10 -0
  95. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  96. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +17 -6
  97. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  98. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +10 -0
  99. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  100. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +78 -13
  101. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  102. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +10 -0
  103. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  104. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -9
  105. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  106. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +10 -0
  107. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  108. package/lib-amd/index.d.ts +39 -20
  109. package/lib-amd/index.js +36 -21
  110. package/lib-amd/index.js.map +1 -1
  111. package/lib-amd/types/IDataPoint.d.ts +25 -0
  112. package/lib-amd/types/IDataPoint.js.map +1 -1
  113. package/lib-amd/utilities/gradients.d.ts +30 -0
  114. package/lib-amd/utilities/gradients.js +180 -0
  115. package/lib-amd/utilities/gradients.js.map +1 -0
  116. package/lib-amd/utilities/index.d.ts +1 -0
  117. package/lib-amd/utilities/index.js +2 -1
  118. package/lib-amd/utilities/index.js.map +1 -1
  119. package/lib-amd/version.js +1 -1
  120. package/lib-amd/version.js.map +1 -1
  121. package/lib-commonjs/components/DonutChart/Arc/Arc.js +21 -4
  122. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
  123. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +15 -0
  124. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
  125. package/lib-commonjs/components/DonutChart/DonutChart.base.js +12 -3
  126. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  127. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +10 -0
  128. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  129. package/lib-commonjs/components/DonutChart/Pie/Pie.js +7 -1
  130. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  131. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +10 -0
  132. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
  133. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +28 -4
  134. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  135. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +14 -0
  136. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  137. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +28 -5
  138. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  139. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +10 -0
  140. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  141. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +25 -8
  142. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  143. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +10 -0
  144. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  145. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +74 -29
  146. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  147. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +10 -0
  148. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  149. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +28 -9
  150. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  151. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +10 -0
  152. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  153. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +17 -6
  154. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  155. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +10 -0
  156. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  157. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +78 -13
  158. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  159. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +10 -0
  160. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  161. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -9
  162. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  163. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +10 -0
  164. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  165. package/lib-commonjs/index.d.ts +39 -20
  166. package/lib-commonjs/index.js +55 -21
  167. package/lib-commonjs/index.js.map +1 -1
  168. package/lib-commonjs/types/IDataPoint.d.ts +25 -0
  169. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  170. package/lib-commonjs/utilities/gradients.d.ts +30 -0
  171. package/lib-commonjs/utilities/gradients.js +178 -0
  172. package/lib-commonjs/utilities/gradients.js.map +1 -0
  173. package/lib-commonjs/utilities/index.d.ts +1 -0
  174. package/lib-commonjs/utilities/index.js +1 -0
  175. package/lib-commonjs/utilities/index.js.map +1 -1
  176. package/lib-commonjs/version.js +1 -1
  177. package/lib-commonjs/version.js.map +1 -1
  178. package/package.json +3 -3
  179. package/src/components/DonutChart/Arc/Arc.types.ts +18 -0
  180. package/src/components/DonutChart/DonutChart.types.ts +12 -0
  181. package/src/components/DonutChart/Pie/Pie.types.ts +12 -0
  182. package/src/components/GaugeChart/GaugeChart.types.ts +17 -0
  183. package/src/components/HorizontalBarChart/HorizontalBarChart.types.ts +12 -0
  184. package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +12 -0
  185. package/src/components/StackedBarChart/MultiStackedBarChart.types.ts +12 -0
  186. package/src/components/StackedBarChart/StackedBarChart.types.ts +12 -0
  187. package/src/components/VerticalBarChart/VerticalBarChart.types.ts +12 -0
  188. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +12 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,43 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 15 Aug 2024 07:21:43 GMT",
5
+ "date": "Wed, 21 Aug 2024 07:20:44 GMT",
6
+ "tag": "@fluentui/react-charting_v5.22.1",
7
+ "version": "5.22.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-charting",
13
+ "comment": "Bump @fluentui/theme-samples to v8.7.170",
14
+ "commit": "104fbc1f50ba51e29023a5f7a76e8de26e972ffa"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-charting",
19
+ "comment": "Bump @fluentui/react to v8.120.6",
20
+ "commit": "104fbc1f50ba51e29023a5f7a76e8de26e972ffa"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Fri, 16 Aug 2024 07:21:16 GMT",
27
+ "tag": "@fluentui/react-charting_v5.22.0",
28
+ "version": "5.22.0",
29
+ "comments": {
30
+ "minor": [
31
+ {
32
+ "author": "t-shawngrant@microsoft.com",
33
+ "package": "@fluentui/react-charting",
34
+ "commit": "2eac1694be564ec172b58f1ca2805e352d79e15e",
35
+ "comment": "Add Viva dataviz gradient palette and rounded corners to charts"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Thu, 15 Aug 2024 07:23:37 GMT",
6
42
  "tag": "@fluentui/react-charting_v5.21.32",
7
43
  "version": "5.21.32",
8
44
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,31 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Thu, 15 Aug 2024 07:21:43 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 21 Aug 2024 07:20:44 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.22.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.22.1)
8
+
9
+ Wed, 21 Aug 2024 07:20:44 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.22.0..@fluentui/react-charting_v5.22.1)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/theme-samples to v8.7.170 ([commit](https://github.com/microsoft/fluentui/commit/104fbc1f50ba51e29023a5f7a76e8de26e972ffa) by beachball)
15
+ - Bump @fluentui/react to v8.120.6 ([commit](https://github.com/microsoft/fluentui/commit/104fbc1f50ba51e29023a5f7a76e8de26e972ffa) by beachball)
16
+
17
+ ## [5.22.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.22.0)
18
+
19
+ Fri, 16 Aug 2024 07:21:16 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.32..@fluentui/react-charting_v5.22.0)
21
+
22
+ ### Minor changes
23
+
24
+ - Add Viva dataviz gradient palette and rounded corners to charts ([PR #32008](https://github.com/microsoft/fluentui/pull/32008) by t-shawngrant@microsoft.com)
25
+
7
26
  ## [5.21.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.21.32)
8
27
 
9
- Thu, 15 Aug 2024 07:21:43 GMT
28
+ Thu, 15 Aug 2024 07:23:37 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.31..@fluentui/react-charting_v5.21.32)
11
30
 
12
31
  ### Patches
@@ -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