@fluentui/react-charting 5.19.30 → 5.19.31

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 (157) hide show
  1. package/CHANGELOG.json +37 -1
  2. package/CHANGELOG.md +12 -2
  3. package/README.md +1 -1
  4. package/dist/react-charting.d.ts +61 -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 +12 -3
  8. package/lib/components/CommonComponents/CartesianChart.base.js +2 -1
  9. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  10. package/lib/components/DonutChart/DonutChart.base.js +2 -1
  11. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  12. package/lib/components/GaugeChart/GaugeChart.base.js +2 -1
  13. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  14. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
  15. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +42 -29
  16. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  17. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
  18. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  19. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
  20. package/lib/components/HeatMapChart/HeatMapChart.base.js +3 -2
  21. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  22. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +2 -1
  23. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  24. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
  25. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -2
  26. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  27. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  28. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  29. package/lib/components/PieChart/Arc/Arc.js +2 -1
  30. package/lib/components/PieChart/Arc/Arc.js.map +1 -1
  31. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +2 -1
  32. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  33. package/lib/components/StackedBarChart/StackedBarChart.base.js +2 -1
  34. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  35. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  36. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +31 -19
  37. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  38. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
  39. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  40. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
  41. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +32 -20
  42. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  43. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
  44. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  45. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +1 -1
  46. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  47. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  48. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  49. package/lib/utilities/locale-util.d.ts +3 -0
  50. package/lib/utilities/locale-util.js +18 -0
  51. package/lib/utilities/locale-util.js.map +1 -0
  52. package/lib/utilities/utilities.d.ts +3 -0
  53. package/lib/utilities/utilities.js +29 -0
  54. package/lib/utilities/utilities.js.map +1 -1
  55. package/lib/version.js +1 -1
  56. package/lib/version.js.map +1 -1
  57. package/lib-amd/components/CommonComponents/CartesianChart.base.js +6 -6
  58. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  59. package/lib-amd/components/DonutChart/DonutChart.base.js +2 -2
  60. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  61. package/lib-amd/components/GaugeChart/GaugeChart.base.js +6 -6
  62. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  63. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
  64. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +41 -28
  65. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  66. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
  67. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  68. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
  69. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
  70. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  71. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -5
  72. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  73. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
  74. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +18 -18
  75. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  76. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  77. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  78. package/lib-amd/components/PieChart/Arc/Arc.js +3 -3
  79. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
  80. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +3 -3
  81. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  82. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +3 -3
  83. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  84. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  85. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +30 -18
  86. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  87. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
  88. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  89. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
  90. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -19
  91. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  92. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
  93. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  94. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +5 -5
  95. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  96. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  97. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  98. package/lib-amd/utilities/locale-util.d.ts +3 -0
  99. package/lib-amd/utilities/locale-util.js +24 -0
  100. package/lib-amd/utilities/locale-util.js.map +1 -0
  101. package/lib-amd/utilities/utilities.d.ts +3 -0
  102. package/lib-amd/utilities/utilities.js +33 -1
  103. package/lib-amd/utilities/utilities.js.map +1 -1
  104. package/lib-amd/version.js +1 -1
  105. package/lib-amd/version.js.map +1 -1
  106. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +6 -5
  107. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  108. package/lib-commonjs/components/DonutChart/DonutChart.base.js +2 -1
  109. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  110. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +6 -5
  111. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  112. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
  113. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +41 -28
  114. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  115. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
  116. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  117. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
  118. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +3 -2
  119. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  120. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -4
  121. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  122. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
  123. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +20 -19
  124. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  125. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  126. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  127. package/lib-commonjs/components/PieChart/Arc/Arc.js +3 -2
  128. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
  129. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +3 -2
  130. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  131. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +3 -2
  132. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  133. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  134. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +30 -18
  135. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  136. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
  137. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  138. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
  139. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -19
  140. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  141. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
  142. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  143. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +5 -5
  144. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  145. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  146. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  147. package/lib-commonjs/utilities/locale-util.d.ts +3 -0
  148. package/lib-commonjs/utilities/locale-util.js +22 -0
  149. package/lib-commonjs/utilities/locale-util.js.map +1 -0
  150. package/lib-commonjs/utilities/utilities.d.ts +3 -0
  151. package/lib-commonjs/utilities/utilities.js +33 -1
  152. package/lib-commonjs/utilities/utilities.js.map +1 -1
  153. package/lib-commonjs/version.js +1 -1
  154. package/lib-commonjs/version.js.map +1 -1
  155. package/package.json +1 -1
  156. package/src/components/VerticalBarChart/VerticalBarChart.types.ts +23 -2
  157. package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +22 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,43 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 27 Feb 2024 07:25:20 GMT",
5
+ "date": "Mon, 04 Mar 2024 07:25:51 GMT",
6
+ "tag": "@fluentui/react-charting_v5.19.31",
7
+ "version": "5.19.31",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "kumarkshitij@microsoft.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "5fa09dd5fd1d2a75447fa781f1b919fbc12f47c4",
14
+ "comment": "Fix 2:1 spacing in vertical bar charts with string x-axis"
15
+ },
16
+ {
17
+ "author": "srmukher@microsoft.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "cb7b32981d6f82f0696a8e89e3ea19dd2eee3266",
20
+ "comment": "Reducing monosize of charts and removing circular dependencies"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Fri, 01 Mar 2024 07:26:28 GMT",
27
+ "tag": "@fluentui/react-charting_v5.19.30",
28
+ "version": "5.19.30",
29
+ "comments": {
30
+ "none": [
31
+ {
32
+ "author": "shubhabrata08@gmail.com",
33
+ "package": "@fluentui/react-charting",
34
+ "commit": "f357c800c5f39bfe46a9081ce47f38b983dfbe7e",
35
+ "comment": "Add dynamic status badge for test coverage"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Tue, 27 Feb 2024 07:25:41 GMT",
6
42
  "tag": "@fluentui/react-charting_v5.19.30",
7
43
  "version": "5.19.30",
8
44
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,22 @@
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 Mon, 04 Mar 2024 07:25:51 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.19.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.31)
8
+
9
+ Mon, 04 Mar 2024 07:25:51 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.30..@fluentui/react-charting_v5.19.31)
11
+
12
+ ### Patches
13
+
14
+ - 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)
15
+ - Reducing monosize of charts and removing circular dependencies ([PR #30630](https://github.com/microsoft/fluentui/pull/30630) by srmukher@microsoft.com)
16
+
7
17
  ## [5.19.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.30)
8
18
 
9
- Tue, 27 Feb 2024 07:25:20 GMT
19
+ Tue, 27 Feb 2024 07:25:41 GMT
10
20
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.29..@fluentui/react-charting_v5.19.30)
11
21
 
12
22
  ### 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.
@@ -1214,14 +1214,11 @@ export declare interface IGroupedVerticalBarChartProps extends ICartesianChartPr
1214
1214
  */
1215
1215
  data: IGroupedVerticalBarChartData[];
1216
1216
  /**
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.
1217
+ * Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px.
1218
+ * When set to `auto` (which is only applicable to string x-axis), the bar width is calculated from padding values.
1219
+ * @default 16
1223
1220
  */
1224
- barwidth?: number;
1221
+ barwidth?: number | 'default' | 'auto';
1225
1222
  /**
1226
1223
  * Call to provide customized styling that will layer on top of the variant rules.
1227
1224
  */
@@ -1271,6 +1268,24 @@ export declare interface IGroupedVerticalBarChartProps extends ICartesianChartPr
1271
1268
  * @default false
1272
1269
  */
1273
1270
  hideLabels?: boolean;
1271
+ /**
1272
+ * Maximum width of a bar, in pixels.
1273
+ */
1274
+ maxBarWidth?: number;
1275
+ /**
1276
+ * Padding between groups as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
1277
+ * Takes a number in the range [0, 1]. Only applicable to string x-axis.
1278
+ * Note: groupWidthInTermsOfBarWidth is calculated at runtime based on
1279
+ * the number of bars in a group and the gap between the bars.
1280
+ * @default 2 / (2 + groupWidthInTermsOfBarWidth)
1281
+ */
1282
+ xAxisInnerPadding?: number;
1283
+ /**
1284
+ * Padding before the first group and after the last group as a fraction of
1285
+ * the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
1286
+ * Only applicable to string x-axis.
1287
+ */
1288
+ xAxisOuterPadding?: number;
1274
1289
  }
1275
1290
 
1276
1291
  /**
@@ -3477,9 +3492,11 @@ export declare interface IVerticalBarChartProps extends ICartesianChartProps {
3477
3492
  */
3478
3493
  onRenderCalloutPerDataPoint?: IRenderFunction<IVerticalBarChartDataPoint>;
3479
3494
  /**
3480
- * Width of each bar in the chart.
3495
+ * Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px.
3496
+ * When set to `auto` (which is only applicable to string x-axis), the bar width is calculated from padding values.
3497
+ * @default 16
3481
3498
  */
3482
- barWidth?: number;
3499
+ barWidth?: number | 'default' | 'auto';
3483
3500
  /**
3484
3501
  * Colors from which to select the color of each bar.
3485
3502
  */
@@ -3525,6 +3542,22 @@ export declare interface IVerticalBarChartProps extends ICartesianChartProps {
3525
3542
  * @default false
3526
3543
  */
3527
3544
  hideLabels?: boolean;
3545
+ /**
3546
+ * Maximum width of a bar, in pixels.
3547
+ */
3548
+ maxBarWidth?: number;
3549
+ /**
3550
+ * Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
3551
+ * Takes a number in the range [0, 1]. Only applicable to string x-axis.
3552
+ * @default 2/3
3553
+ */
3554
+ xAxisInnerPadding?: number;
3555
+ /**
3556
+ * Padding before the first bar and after the last bar as a fraction of
3557
+ * the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
3558
+ * Only applicable to string x-axis.
3559
+ */
3560
+ xAxisOuterPadding?: number;
3528
3561
  }
3529
3562
 
3530
3563
  /**
@@ -3598,9 +3631,10 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
3598
3631
  */
3599
3632
  data: IVerticalStackedChartProps[];
3600
3633
  /**
3601
- * Width of each bar in the chart.
3634
+ * Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px.
3635
+ * When set to `auto` (which is only applicable to string x-axis), the bar width is calculated from padding values.
3602
3636
  */
3603
- barWidth?: number;
3637
+ barWidth?: number | 'default' | 'auto';
3604
3638
  /**
3605
3639
  * Gap (max) between bars in a stack. When non-zero, the bars in a stack will
3606
3640
  * be separated by gaps. The actual size of each gap is calculated as 20% of
@@ -3681,6 +3715,22 @@ export declare interface IVerticalStackedBarChartProps extends ICartesianChartPr
3681
3715
  * @default false
3682
3716
  */
3683
3717
  hideLabels?: boolean;
3718
+ /**
3719
+ * Maximum width of a bar, in pixels.
3720
+ */
3721
+ maxBarWidth?: number;
3722
+ /**
3723
+ * Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
3724
+ * Takes a number in the range [0, 1]. Only applicable to string x-axis.
3725
+ * @default 2/3
3726
+ */
3727
+ xAxisInnerPadding?: number;
3728
+ /**
3729
+ * Padding before the first bar and after the last bar as a fraction of
3730
+ * the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
3731
+ * Only applicable to string x-axis.
3732
+ */
3733
+ xAxisOuterPadding?: number;
3684
3734
  }
3685
3735
 
3686
3736
  /**