@fluentui/react-charting 5.23.28 → 5.23.30
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 +49 -1
- package/CHANGELOG.md +23 -2
- package/dist/react-charting.d.ts +54 -0
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +31 -0
- package/lib/DeclarativeChart.d.ts +1 -1
- package/lib/DeclarativeChart.js +1 -1
- package/lib/DeclarativeChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +4 -1
- package/lib/components/AreaChart/AreaChart.base.js +12 -2
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +3 -2
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +11 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +13 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js +27 -22
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/imageExporter.d.ts +10 -0
- package/lib/components/DeclarativeChart/imageExporter.js +222 -0
- package/lib/components/DeclarativeChart/imageExporter.js.map +1 -0
- package/lib/components/DeclarativeChart/index.d.ts +2 -0
- package/lib/components/DeclarativeChart/index.js +2 -0
- package/lib/components/DeclarativeChart/index.js.map +1 -0
- package/lib/components/DonutChart/Arc/Arc.d.ts +1 -0
- package/lib/components/DonutChart/Arc/Arc.js +13 -8
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +1 -1
- package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +7 -3
- package/lib/components/DonutChart/DonutChart.base.js +55 -26
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +7 -2
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +1 -1
- package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.d.ts +3 -1
- package/lib/components/GaugeChart/GaugeChart.base.js +9 -1
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +7 -2
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +4 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +12 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +4 -2
- package/lib/components/HeatMapChart/HeatMapChart.base.js +12 -2
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +4 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +12 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.d.ts +4 -1
- package/lib/components/LineChart/LineChart.base.js +12 -2
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +3 -3
- package/lib/components/SankeyChart/SankeyChart.base.js +2 -1
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +7 -2
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +4 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +12 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +4 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +12 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +6 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib-amd/DeclarativeChart.d.ts +1 -1
- package/lib-amd/DeclarativeChart.js +2 -2
- package/lib-amd/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +4 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js +11 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +3 -2
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +11 -2
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +13 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +27 -24
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/imageExporter.d.ts +10 -0
- package/lib-amd/components/DeclarativeChart/imageExporter.js +227 -0
- package/lib-amd/components/DeclarativeChart/imageExporter.js.map +1 -0
- package/lib-amd/components/DeclarativeChart/index.d.ts +2 -0
- package/lib-amd/components/DeclarativeChart/index.js +6 -0
- package/lib-amd/components/DeclarativeChart/index.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.js +13 -8
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +7 -3
- package/lib-amd/components/DonutChart/DonutChart.base.js +54 -25
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +7 -2
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +3 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +8 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +7 -2
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +4 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +11 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +4 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +11 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +4 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +11 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +4 -1
- package/lib-amd/components/LineChart/LineChart.base.js +11 -1
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +3 -3
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +7 -2
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +4 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +11 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +4 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +11 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/index.d.ts +2 -2
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +6 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/DeclarativeChart.d.ts +1 -1
- package/lib-commonjs/DeclarativeChart.js +1 -1
- package/lib-commonjs/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +4 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +11 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +3 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +11 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +13 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +28 -24
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/imageExporter.d.ts +10 -0
- package/lib-commonjs/components/DeclarativeChart/imageExporter.js +226 -0
- package/lib-commonjs/components/DeclarativeChart/imageExporter.js.map +1 -0
- package/lib-commonjs/components/DeclarativeChart/index.d.ts +2 -0
- package/lib-commonjs/components/DeclarativeChart/index.js +5 -0
- package/lib-commonjs/components/DeclarativeChart/index.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +1 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +13 -8
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +7 -3
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +54 -25
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +7 -2
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +3 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +8 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +7 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +4 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +11 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +4 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +11 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +4 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +11 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +4 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +11 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +3 -3
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +1 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +7 -2
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +4 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +11 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +4 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +11 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -2
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +6 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/package.json +4 -4
- package/src/components/CommonComponents/CartesianChart.types.ts +13 -1
- package/src/components/DonutChart/Arc/Arc.types.ts +1 -1
- package/src/components/DonutChart/DonutChart.types.ts +8 -2
- package/src/components/DonutChart/Pie/Pie.types.ts +1 -1
- package/src/components/GaugeChart/GaugeChart.types.ts +8 -2
- package/src/components/SankeyChart/SankeyChart.types.ts +8 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,55 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 25 Dec 2024 07:21:37 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.23.30",
|
|
7
|
+
"version": "5.23.30",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "fa08fec97a5bc070e2866633c792f7066f0c86e8",
|
|
14
|
+
"comment": "Legends multi selection for Donut Charts"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 23 Dec 2024 07:22:57 GMT",
|
|
21
|
+
"tag": "@fluentui/react-charting_v5.23.29",
|
|
22
|
+
"version": "5.23.29",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "110246001+krkshitij@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui/react-charting",
|
|
28
|
+
"commit": "7b4a3785c6c1d7c207602cad0a1795e3df9122ee",
|
|
29
|
+
"comment": "feat: add functionality to export chart as image"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui/react-charting",
|
|
34
|
+
"comment": "Bump @fluentui/react-focus to v8.9.20",
|
|
35
|
+
"commit": "7b4a3785c6c1d7c207602cad0a1795e3df9122ee"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui/react-charting",
|
|
40
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.191",
|
|
41
|
+
"commit": "7b4a3785c6c1d7c207602cad0a1795e3df9122ee"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui/react-charting",
|
|
46
|
+
"comment": "Bump @fluentui/react to v8.122.2",
|
|
47
|
+
"commit": "7b4a3785c6c1d7c207602cad0a1795e3df9122ee"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"date": "Fri, 20 Dec 2024 07:20:00 GMT",
|
|
6
54
|
"tag": "@fluentui/react-charting_v5.23.28",
|
|
7
55
|
"version": "5.23.28",
|
|
8
56
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 25 Dec 2024 07:21:37 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.23.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.30)
|
|
8
|
+
|
|
9
|
+
Wed, 25 Dec 2024 07:21:37 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.29..@fluentui/react-charting_v5.23.30)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Legends multi selection for Donut Charts ([PR #33447](https://github.com/microsoft/fluentui/pull/33447) by 120183316+srmukher@users.noreply.github.com)
|
|
15
|
+
|
|
16
|
+
## [5.23.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.29)
|
|
17
|
+
|
|
18
|
+
Mon, 23 Dec 2024 07:22:57 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.28..@fluentui/react-charting_v5.23.29)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- feat: add functionality to export chart as image ([PR #33445](https://github.com/microsoft/fluentui/pull/33445) by 110246001+krkshitij@users.noreply.github.com)
|
|
24
|
+
- Bump @fluentui/react-focus to v8.9.20 ([PR #33445](https://github.com/microsoft/fluentui/pull/33445) by beachball)
|
|
25
|
+
- Bump @fluentui/theme-samples to v8.7.191 ([PR #33445](https://github.com/microsoft/fluentui/pull/33445) by beachball)
|
|
26
|
+
- Bump @fluentui/react to v8.122.2 ([PR #33445](https://github.com/microsoft/fluentui/pull/33445) by beachball)
|
|
27
|
+
|
|
7
28
|
## [5.23.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.28)
|
|
8
29
|
|
|
9
|
-
Fri, 20 Dec 2024 07:
|
|
30
|
+
Fri, 20 Dec 2024 07:20:00 GMT
|
|
10
31
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.27..@fluentui/react-charting_v5.23.28)
|
|
11
32
|
|
|
12
33
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { IFocusZoneProps } from '@fluentui/react-focus';
|
|
|
6
6
|
import { IHoverCardStyleProps } from '@fluentui/react/lib/HoverCard';
|
|
7
7
|
import { IHoverCardStyles } from '@fluentui/react/lib/HoverCard';
|
|
8
8
|
import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
|
|
9
|
+
import { IRefObject } from '@fluentui/react/lib/Utilities';
|
|
9
10
|
import { IRenderFunction } from '@fluentui/react/lib/Utilities';
|
|
10
11
|
import { IStyle } from '@fluentui/react/lib/Styling';
|
|
11
12
|
import { IStyle as IStyle_2 } from '@fluentui/react';
|
|
@@ -155,6 +156,11 @@ export declare interface DeclarativeChartProps extends React_2.RefAttributes<HTM
|
|
|
155
156
|
* Callback when an event occurs
|
|
156
157
|
*/
|
|
157
158
|
onSchemaChange?: (eventData: Schema) => void;
|
|
159
|
+
/**
|
|
160
|
+
* Optional callback to access the IDeclarativeChart interface. Use this instead of ref for accessing
|
|
161
|
+
* the public methods and properties of the component.
|
|
162
|
+
*/
|
|
163
|
+
componentRef?: IRefObject<IDeclarativeChart>;
|
|
158
164
|
}
|
|
159
165
|
|
|
160
166
|
/**
|
|
@@ -551,6 +557,11 @@ export declare interface ICartesianChartProps {
|
|
|
551
557
|
* Used for enabling negative values in Y axis.
|
|
552
558
|
*/
|
|
553
559
|
supportNegativeData?: boolean;
|
|
560
|
+
/**
|
|
561
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
562
|
+
* the public methods and properties of the component.
|
|
563
|
+
*/
|
|
564
|
+
componentRef?: IRefObject<IChart>;
|
|
554
565
|
}
|
|
555
566
|
|
|
556
567
|
/**
|
|
@@ -683,6 +694,13 @@ export declare interface ICartesianChartStyles {
|
|
|
683
694
|
chartWrapper?: IStyle;
|
|
684
695
|
}
|
|
685
696
|
|
|
697
|
+
/**
|
|
698
|
+
* {@docCategory Chart}
|
|
699
|
+
*/
|
|
700
|
+
export declare interface IChart {
|
|
701
|
+
chartContainer: HTMLElement | null;
|
|
702
|
+
}
|
|
703
|
+
|
|
686
704
|
/**
|
|
687
705
|
* {@docCategory IChartData}
|
|
688
706
|
*/
|
|
@@ -947,6 +965,13 @@ export declare interface IDataPoint {
|
|
|
947
965
|
onClick?: VoidFunction;
|
|
948
966
|
}
|
|
949
967
|
|
|
968
|
+
/**
|
|
969
|
+
* {@docCategory DeclarativeChart}
|
|
970
|
+
*/
|
|
971
|
+
export declare interface IDeclarativeChart {
|
|
972
|
+
exportAsImage: (opts?: IImageExportOptions) => Promise<string>;
|
|
973
|
+
}
|
|
974
|
+
|
|
950
975
|
declare interface IDomainNRange {
|
|
951
976
|
dStartValue: number | Date;
|
|
952
977
|
dEndValue: number | Date;
|
|
@@ -1010,6 +1035,11 @@ export declare interface IDonutChartProps extends ICartesianChartProps {
|
|
|
1010
1035
|
* @default false
|
|
1011
1036
|
*/
|
|
1012
1037
|
roundCorners?: boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
1040
|
+
* the public methods and properties of the component.
|
|
1041
|
+
*/
|
|
1042
|
+
componentRef?: IRefObject<IChart>;
|
|
1013
1043
|
}
|
|
1014
1044
|
|
|
1015
1045
|
/**
|
|
@@ -1150,6 +1180,11 @@ export declare interface IGaugeChartProps {
|
|
|
1150
1180
|
* @default false
|
|
1151
1181
|
*/
|
|
1152
1182
|
roundCorners?: boolean;
|
|
1183
|
+
/**
|
|
1184
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
1185
|
+
* the public methods and properties of the component.
|
|
1186
|
+
*/
|
|
1187
|
+
componentRef?: IRefObject<IChart>;
|
|
1153
1188
|
}
|
|
1154
1189
|
|
|
1155
1190
|
/**
|
|
@@ -2047,6 +2082,16 @@ export declare interface IHorizontalDataPoint {
|
|
|
2047
2082
|
y: number;
|
|
2048
2083
|
}
|
|
2049
2084
|
|
|
2085
|
+
/**
|
|
2086
|
+
* {@docCategory DeclarativeChart}
|
|
2087
|
+
*/
|
|
2088
|
+
export declare interface IImageExportOptions {
|
|
2089
|
+
width?: number;
|
|
2090
|
+
height?: number;
|
|
2091
|
+
scale?: number;
|
|
2092
|
+
background?: string;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2050
2095
|
/**
|
|
2051
2096
|
* @public
|
|
2052
2097
|
* ILegend interface
|
|
@@ -2736,6 +2781,10 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
2736
2781
|
* Create the string y-axis
|
|
2737
2782
|
*/
|
|
2738
2783
|
createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number | undefined) => ScaleBand<string>;
|
|
2784
|
+
/**
|
|
2785
|
+
* Callback to access the public methods and properties of the component.
|
|
2786
|
+
*/
|
|
2787
|
+
ref?: IRefObject<IChart>;
|
|
2739
2788
|
}
|
|
2740
2789
|
|
|
2741
2790
|
/**
|
|
@@ -3125,6 +3174,11 @@ export declare interface ISankeyChartProps {
|
|
|
3125
3174
|
* @default true
|
|
3126
3175
|
*/
|
|
3127
3176
|
enableReflow?: boolean;
|
|
3177
|
+
/**
|
|
3178
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
3179
|
+
* the public methods and properties of the component.
|
|
3180
|
+
*/
|
|
3181
|
+
componentRef?: IRefObject<IChart>;
|
|
3128
3182
|
}
|
|
3129
3183
|
|
|
3130
3184
|
/**
|