@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.
- package/CHANGELOG.json +52 -1
- package/CHANGELOG.md +21 -2
- package/README.md +1 -1
- package/dist/react-charting.d.ts +66 -11
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +13 -3
- package/lib/components/AreaChart/AreaChart.base.js +5 -1
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.types.d.ts +5 -0
- package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +2 -1
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.js +2 -1
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js +2 -1
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +42 -29
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +3 -2
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +2 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +3 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.js +2 -1
- package/lib/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +2 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js +2 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +31 -19
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +32 -20
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib/utilities/locale-util.d.ts +3 -0
- package/lib/utilities/locale-util.js +18 -0
- package/lib/utilities/locale-util.js.map +1 -0
- package/lib/utilities/utilities.d.ts +3 -0
- package/lib/utilities/utilities.js +29 -0
- package/lib/utilities/utilities.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js +5 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +5 -0
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +6 -6
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.js +2 -2
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +6 -6
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +41 -28
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -5
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +18 -18
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-amd/components/PieChart/Arc/Arc.js +3 -3
- package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +3 -3
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +3 -3
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +30 -18
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -19
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +5 -5
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib-amd/utilities/locale-util.d.ts +3 -0
- package/lib-amd/utilities/locale-util.js +24 -0
- package/lib-amd/utilities/locale-util.js.map +1 -0
- package/lib-amd/utilities/utilities.d.ts +3 -0
- package/lib-amd/utilities/utilities.js +33 -1
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-amd/version.js +1 -1
- package/lib-amd/version.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +5 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +5 -0
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +6 -5
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +2 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +6 -5
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +3 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +41 -28
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +22 -7
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +3 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -4
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +20 -19
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.js +3 -2
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +3 -2
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +3 -2
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +30 -18
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +20 -2
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +2 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +31 -19
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +19 -2
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +5 -5
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib-commonjs/utilities/locale-util.d.ts +3 -0
- package/lib-commonjs/utilities/locale-util.js +22 -0
- package/lib-commonjs/utilities/locale-util.js.map +1 -0
- package/lib-commonjs/utilities/utilities.d.ts +3 -0
- package/lib-commonjs/utilities/utilities.js +33 -1
- package/lib-commonjs/utilities/utilities.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/AreaChart/AreaChart.types.ts +6 -0
- package/src/components/VerticalBarChart/VerticalBarChart.types.ts +23 -2
- 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": "
|
|
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
|
|
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:
|
|
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
|
-

|
|
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.
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
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
|
/**
|