@fluentui/react-charting 5.19.30 → 5.19.32

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 (170) hide show
  1. package/CHANGELOG.json +52 -1
  2. package/CHANGELOG.md +21 -2
  3. package/README.md +1 -1
  4. package/dist/react-charting.d.ts +66 -11
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/etc/react-charting.api.md +13 -3
  8. package/lib/components/AreaChart/AreaChart.base.js +5 -1
  9. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  10. package/lib/components/AreaChart/AreaChart.types.d.ts +5 -0
  11. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  12. package/lib/components/CommonComponents/CartesianChart.base.js +2 -1
  13. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  14. package/lib/components/DonutChart/DonutChart.base.js +2 -1
  15. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  16. package/lib/components/GaugeChart/GaugeChart.base.js +2 -1
  17. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  18. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
  19. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +42 -29
  20. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  21. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
  22. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  23. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
  24. package/lib/components/HeatMapChart/HeatMapChart.base.js +3 -2
  25. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  26. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +2 -1
  27. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  28. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
  29. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -2
  30. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  31. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  32. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  33. package/lib/components/PieChart/Arc/Arc.js +2 -1
  34. package/lib/components/PieChart/Arc/Arc.js.map +1 -1
  35. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +2 -1
  36. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  37. package/lib/components/StackedBarChart/StackedBarChart.base.js +2 -1
  38. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  39. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  40. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +31 -19
  41. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  42. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
  43. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  44. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
  45. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +32 -20
  46. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  47. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
  48. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  49. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +1 -1
  50. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  51. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  52. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  53. package/lib/utilities/locale-util.d.ts +3 -0
  54. package/lib/utilities/locale-util.js +18 -0
  55. package/lib/utilities/locale-util.js.map +1 -0
  56. package/lib/utilities/utilities.d.ts +3 -0
  57. package/lib/utilities/utilities.js +29 -0
  58. package/lib/utilities/utilities.js.map +1 -1
  59. package/lib/version.js +1 -1
  60. package/lib/version.js.map +1 -1
  61. package/lib-amd/components/AreaChart/AreaChart.base.js +5 -1
  62. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  63. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +5 -0
  64. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -1
  65. package/lib-amd/components/CommonComponents/CartesianChart.base.js +6 -6
  66. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  67. package/lib-amd/components/DonutChart/DonutChart.base.js +2 -2
  68. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  69. package/lib-amd/components/GaugeChart/GaugeChart.base.js +6 -6
  70. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  71. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
  72. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +41 -28
  73. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  74. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
  75. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  76. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
  77. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
  78. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  79. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -5
  80. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  81. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
  82. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +18 -18
  83. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  84. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  85. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  86. package/lib-amd/components/PieChart/Arc/Arc.js +3 -3
  87. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
  88. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +3 -3
  89. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  90. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +3 -3
  91. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  92. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  93. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +30 -18
  94. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  95. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
  96. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  97. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
  98. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -19
  99. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  100. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
  101. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  102. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +5 -5
  103. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  104. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  105. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  106. package/lib-amd/utilities/locale-util.d.ts +3 -0
  107. package/lib-amd/utilities/locale-util.js +24 -0
  108. package/lib-amd/utilities/locale-util.js.map +1 -0
  109. package/lib-amd/utilities/utilities.d.ts +3 -0
  110. package/lib-amd/utilities/utilities.js +33 -1
  111. package/lib-amd/utilities/utilities.js.map +1 -1
  112. package/lib-amd/version.js +1 -1
  113. package/lib-amd/version.js.map +1 -1
  114. package/lib-commonjs/components/AreaChart/AreaChart.base.js +5 -1
  115. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  116. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +5 -0
  117. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
  118. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +6 -5
  119. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  120. package/lib-commonjs/components/DonutChart/DonutChart.base.js +2 -1
  121. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  122. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +6 -5
  123. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  124. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
  125. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +41 -28
  126. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  127. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
  128. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  129. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
  130. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +3 -2
  131. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  132. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -4
  133. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  134. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
  135. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +20 -19
  136. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  137. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  138. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  139. package/lib-commonjs/components/PieChart/Arc/Arc.js +3 -2
  140. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
  141. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +3 -2
  142. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  143. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +3 -2
  144. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  145. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  146. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +30 -18
  147. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  148. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
  149. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  150. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
  151. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -19
  152. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  153. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
  154. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  155. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +5 -5
  156. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  157. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  158. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  159. package/lib-commonjs/utilities/locale-util.d.ts +3 -0
  160. package/lib-commonjs/utilities/locale-util.js +22 -0
  161. package/lib-commonjs/utilities/locale-util.js.map +1 -0
  162. package/lib-commonjs/utilities/utilities.d.ts +3 -0
  163. package/lib-commonjs/utilities/utilities.js +33 -1
  164. package/lib-commonjs/utilities/utilities.js.map +1 -1
  165. package/lib-commonjs/version.js +1 -1
  166. package/lib-commonjs/version.js.map +1 -1
  167. package/package.json +1 -1
  168. package/src/components/AreaChart/AreaChart.types.ts +6 -0
  169. package/src/components/VerticalBarChart/VerticalBarChart.types.ts +23 -2
  170. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +22 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,58 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 27 Feb 2024 07:25:20 GMT",
5
+ "date": "Fri, 08 Mar 2024 07:26:09 GMT",
6
+ "tag": "@fluentui/react-charting_v5.19.32",
7
+ "version": "5.19.32",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "shermanchow@microsoft.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "e938593214c8b9ef558ad129c34a6a49daae0cb6",
14
+ "comment": "Add gradient color capability to AreaChart."
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 04 Mar 2024 07:26:19 GMT",
21
+ "tag": "@fluentui/react-charting_v5.19.31",
22
+ "version": "5.19.31",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "kumarkshitij@microsoft.com",
27
+ "package": "@fluentui/react-charting",
28
+ "commit": "5fa09dd5fd1d2a75447fa781f1b919fbc12f47c4",
29
+ "comment": "Fix 2:1 spacing in vertical bar charts with string x-axis"
30
+ },
31
+ {
32
+ "author": "srmukher@microsoft.com",
33
+ "package": "@fluentui/react-charting",
34
+ "commit": "cb7b32981d6f82f0696a8e89e3ea19dd2eee3266",
35
+ "comment": "Reducing monosize of charts and removing circular dependencies"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Fri, 01 Mar 2024 07:26:28 GMT",
42
+ "tag": "@fluentui/react-charting_v5.19.30",
43
+ "version": "5.19.30",
44
+ "comments": {
45
+ "none": [
46
+ {
47
+ "author": "shubhabrata08@gmail.com",
48
+ "package": "@fluentui/react-charting",
49
+ "commit": "f357c800c5f39bfe46a9081ce47f38b983dfbe7e",
50
+ "comment": "Add dynamic status badge for test coverage"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Tue, 27 Feb 2024 07:25:41 GMT",
6
57
  "tag": "@fluentui/react-charting_v5.19.30",
7
58
  "version": "5.19.30",
8
59
  "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 Tue, 27 Feb 2024 07:25:20 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 08 Mar 2024 07:26:09 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.19.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.32)
8
+
9
+ Fri, 08 Mar 2024 07:26:09 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.31..@fluentui/react-charting_v5.19.32)
11
+
12
+ ### Patches
13
+
14
+ - Add gradient color capability to AreaChart. ([PR #30722](https://github.com/microsoft/fluentui/pull/30722) by shermanchow@microsoft.com)
15
+
16
+ ## [5.19.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.31)
17
+
18
+ Mon, 04 Mar 2024 07:26:19 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.30..@fluentui/react-charting_v5.19.31)
20
+
21
+ ### Patches
22
+
23
+ - Fix 2:1 spacing in vertical bar charts with string x-axis ([PR #30192](https://github.com/microsoft/fluentui/pull/30192) by kumarkshitij@microsoft.com)
24
+ - Reducing monosize of charts and removing circular dependencies ([PR #30630](https://github.com/microsoft/fluentui/pull/30630) by srmukher@microsoft.com)
25
+
7
26
  ## [5.19.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.30)
8
27
 
9
- Tue, 27 Feb 2024 07:25:20 GMT
28
+ Tue, 27 Feb 2024 07:25:41 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.29..@fluentui/react-charting_v5.19.30)
11
30
 
12
31
  ### Patches
package/README.md CHANGED
@@ -61,7 +61,7 @@ A comprehensive contributor guide is available in our internal [wiki](https://ak
61
61
 
62
62
  ## Testing
63
63
 
64
- ![Static Badge](https://img.shields.io/badge/coverage-87%25-brightgreen)
64
+ ![Test Coverage Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2Ffluentui-charting-contrib%2Ftest-coverage-artifacts%2FubuntuCoverage.json&query=%24.statementCoverage&suffix=%25&label=coverage&color=brightgreen)
65
65
 
66
66
  The library has a wide variety of tests to ensure quality of the library.
67
67
  The tests range from component tests, unit tests, visual regression tests, accessibility tests, integration tests and manual tests.
@@ -227,6 +227,11 @@ export declare interface IAreaChartProps extends ICartesianChartProps {
227
227
  */
228
228
  enablePerfOptimization?: boolean;
229
229
  optimizeLargeData?: boolean;
230
+ /**
231
+ * @default false
232
+ * The prop used to enable gradient fill color for the chart.
233
+ */
234
+ enableGradient?: boolean;
230
235
  }
231
236
 
232
237
  /**
@@ -1214,14 +1219,11 @@ export declare interface IGroupedVerticalBarChartProps extends ICartesianChartPr
1214
1219
  */
1215
1220
  data: IGroupedVerticalBarChartData[];
1216
1221
  /**
1217
- * Barwidth automacally adjusted based upon given parent width, data and scale.
1218
- * If barwidth given through prop, then is shold be less than given formula.
1219
- * If not, graph will adjust and your value may not be reflected.
1220
- * Formula: width of parent div / (Number Of Groups * (Number Of single bars in group + 2))
1221
- * Note: By changing barwidth manually it may cause some spatial and graph override issues,
1222
- * better to avoid using this prop.
1222
+ * Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px.
1223
+ * When set to `auto` (which is only applicable to string x-axis), the bar width is calculated from padding values.
1224
+ * @default 16
1223
1225
  */
1224
- barwidth?: number;
1226
+ barwidth?: number | 'default' | 'auto';
1225
1227
  /**
1226
1228
  * Call to provide customized styling that will layer on top of the variant rules.
1227
1229
  */
@@ -1271,6 +1273,24 @@ export declare interface IGroupedVerticalBarChartProps extends ICartesianChartPr
1271
1273
  * @default false
1272
1274
  */
1273
1275
  hideLabels?: boolean;
1276
+ /**
1277
+ * Maximum width of a bar, in pixels.
1278
+ */
1279
+ maxBarWidth?: number;
1280
+ /**
1281
+ * Padding between groups as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
1282
+ * Takes a number in the range [0, 1]. Only applicable to string x-axis.
1283
+ * Note: groupWidthInTermsOfBarWidth is calculated at runtime based on
1284
+ * the number of bars in a group and the gap between the bars.
1285
+ * @default 2 / (2 + groupWidthInTermsOfBarWidth)
1286
+ */
1287
+ xAxisInnerPadding?: number;
1288
+ /**
1289
+ * Padding before the first group and after the last group as a fraction of
1290
+ * the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
1291
+ * Only applicable to string x-axis.
1292
+ */
1293
+ xAxisOuterPadding?: number;
1274
1294
  }
1275
1295
 
1276
1296
  /**
@@ -3477,9 +3497,11 @@ export declare interface IVerticalBarChartProps extends ICartesianChartProps {
3477
3497
  */
3478
3498
  onRenderCalloutPerDataPoint?: IRenderFunction<IVerticalBarChartDataPoint>;
3479
3499
  /**
3480
- * Width of each bar in the chart.
3500
+ * Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px.
3501
+ * When set to `auto` (which is only applicable to string x-axis), the bar width is calculated from padding values.
3502
+ * @default 16
3481
3503
  */
3482
- barWidth?: number;
3504
+ barWidth?: number | 'default' | 'auto';
3483
3505
  /**
3484
3506
  * Colors from which to select the color of each bar.
3485
3507
  */
@@ -3525,6 +3547,22 @@ export declare interface IVerticalBarChartProps extends ICartesianChartProps {
3525
3547
  * @default false
3526
3548
  */
3527
3549
  hideLabels?: boolean;
3550
+ /**
3551
+ * Maximum width of a bar, in pixels.
3552
+ */
3553
+ maxBarWidth?: number;
3554
+ /**
3555
+ * Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
3556
+ * Takes a number in the range [0, 1]. Only applicable to string x-axis.
3557
+ * @default 2/3
3558
+ */
3559
+ xAxisInnerPadding?: number;
3560
+ /**
3561
+ * Padding before the first bar and after the last bar as a fraction of
3562
+ * the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
3563
+ * Only applicable to string x-axis.
3564
+ */
3565
+ xAxisOuterPadding?: number;
3528
3566
  }
3529
3567
 
3530
3568
  /**
@@ -3598,9 +3636,10 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
3598
3636
  */
3599
3637
  data: IVerticalStackedChartProps[];
3600
3638
  /**
3601
- * Width of each bar in the chart.
3639
+ * Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px.
3640
+ * When set to `auto` (which is only applicable to string x-axis), the bar width is calculated from padding values.
3602
3641
  */
3603
- barWidth?: number;
3642
+ barWidth?: number | 'default' | 'auto';
3604
3643
  /**
3605
3644
  * Gap (max) between bars in a stack. When non-zero, the bars in a stack will
3606
3645
  * be separated by gaps. The actual size of each gap is calculated as 20% of
@@ -3681,6 +3720,22 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
3681
3720
  * @default false
3682
3721
  */
3683
3722
  hideLabels?: boolean;
3723
+ /**
3724
+ * Maximum width of a bar, in pixels.
3725
+ */
3726
+ maxBarWidth?: number;
3727
+ /**
3728
+ * Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
3729
+ * Takes a number in the range [0, 1]. Only applicable to string x-axis.
3730
+ * @default 2/3
3731
+ */
3732
+ xAxisInnerPadding?: number;
3733
+ /**
3734
+ * Padding before the first bar and after the last bar as a fraction of
3735
+ * the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
3736
+ * Only applicable to string x-axis.
3737
+ */
3738
+ xAxisOuterPadding?: number;
3684
3739
  }
3685
3740
 
3686
3741
  /**