@fluentui/react-charting 5.18.8 → 5.18.9
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 +16 -1
- package/CHANGELOG.md +11 -2
- package/README.md +48 -80
- package/dist/react-charting.d.ts +277 -36
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/docs/TechnicalDetails.md +88 -0
- package/etc/react-charting.api.md +41 -41
- package/lib/components/AreaChart/AreaChart.types.d.ts +9 -1
- package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.d.ts +4 -0
- package/lib/components/CommonComponents/CartesianChart.js +4 -0
- package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +12 -0
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +9 -1
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +13 -2
- package/lib/components/GaugeChart/GaugeChart.types.js +3 -0
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib/components/Legends/Legends.d.ts +1 -1
- package/lib/components/Legends/Legends.js +1 -1
- package/lib/components/Legends/Legends.js.map +1 -1
- package/lib/components/Legends/Legends.types.d.ts +14 -8
- package/lib/components/Legends/Legends.types.js.map +1 -1
- package/lib/components/LineChart/LineChart.d.ts +1 -1
- package/lib/components/LineChart/LineChart.js +1 -1
- package/lib/components/LineChart/LineChart.js.map +1 -1
- package/lib/components/LineChart/LineChart.types.d.ts +18 -1
- package/lib/components/LineChart/LineChart.types.js.map +1 -1
- package/lib/components/PieChart/PieChart.d.ts +1 -1
- package/lib/components/PieChart/PieChart.js +1 -1
- package/lib/components/PieChart/PieChart.js.map +1 -1
- package/lib/components/PieChart/PieChart.types.d.ts +9 -1
- package/lib/components/PieChart/PieChart.types.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.d.ts +1 -1
- package/lib/components/SankeyChart/SankeyChart.js +1 -1
- package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +9 -1
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.d.ts +1 -1
- package/lib/components/Sparkline/Sparkline.js +1 -1
- package/lib/components/Sparkline/Sparkline.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.types.d.ts +6 -2
- package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.js +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.d.ts +1 -1
- package/lib/components/TreeChart/TreeChart.js +1 -1
- package/lib/components/TreeChart/TreeChart.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +18 -1
- package/lib/components/TreeChart/TreeChart.types.js +6 -0
- package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.js +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +67 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +9 -1
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +4 -0
- package/lib-amd/components/CommonComponents/CartesianChart.js +4 -0
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +12 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +9 -1
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +13 -2
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +3 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-amd/components/Legends/Legends.d.ts +1 -1
- package/lib-amd/components/Legends/Legends.js +1 -1
- package/lib-amd/components/Legends/Legends.js.map +1 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +14 -8
- package/lib-amd/components/Legends/Legends.types.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.d.ts +1 -1
- package/lib-amd/components/LineChart/LineChart.js +1 -1
- package/lib-amd/components/LineChart/LineChart.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.types.d.ts +18 -1
- package/lib-amd/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-amd/components/PieChart/PieChart.d.ts +1 -1
- package/lib-amd/components/PieChart/PieChart.js +1 -1
- package/lib-amd/components/PieChart/PieChart.js.map +1 -1
- package/lib-amd/components/PieChart/PieChart.types.d.ts +9 -1
- package/lib-amd/components/PieChart/PieChart.types.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.js +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +9 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-amd/components/Sparkline/Sparkline.d.ts +1 -1
- package/lib-amd/components/Sparkline/Sparkline.js +1 -1
- package/lib-amd/components/Sparkline/Sparkline.js.map +1 -1
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +6 -2
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib-amd/components/TreeChart/TreeChart.d.ts +1 -1
- package/lib-amd/components/TreeChart/TreeChart.js +1 -1
- package/lib-amd/components/TreeChart/TreeChart.js.map +1 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +18 -1
- package/lib-amd/components/TreeChart/TreeChart.types.js +6 -0
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +67 -0
- package/lib-amd/types/IDataPoint.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.types.d.ts +9 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +4 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +4 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +12 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +9 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +13 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +3 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +9 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +9 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +13 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.d.ts +1 -1
- package/lib-commonjs/components/Legends/Legends.js +1 -1
- package/lib-commonjs/components/Legends/Legends.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +14 -8
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.d.ts +1 -1
- package/lib-commonjs/components/LineChart/LineChart.js +1 -1
- package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.types.d.ts +18 -1
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.d.ts +1 -1
- package/lib-commonjs/components/PieChart/PieChart.js +1 -1
- package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.types.d.ts +9 -1
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.js +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +9 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.d.ts +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.js +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +6 -2
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +12 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +9 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.d.ts +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.js +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +18 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +6 -0
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +9 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +9 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +67 -0
- package/lib-commonjs/types/IDataPoint.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 +9 -1
- package/src/components/CommonComponents/CartesianChart.types.ts +12 -0
- package/src/components/DonutChart/DonutChart.types.ts +9 -1
- package/src/components/GaugeChart/GaugeChart.types.ts +13 -2
- package/src/components/HeatMapChart/HeatMapChart.types.ts +11 -1
- package/src/components/HorizontalBarChart/HorizontalBarChart.types.ts +13 -1
- package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +9 -1
- package/src/components/Legends/Legends.types.ts +14 -8
- package/src/components/LineChart/LineChart.types.ts +19 -1
- package/src/components/PieChart/PieChart.types.ts +10 -1
- package/src/components/SankeyChart/SankeyChart.types.ts +9 -1
- package/src/components/Sparkline/Sparkline.types.ts +6 -2
- package/src/components/StackedBarChart/MultiStackedBarChart.types.ts +12 -1
- package/src/components/StackedBarChart/StackedBarChart.types.ts +9 -1
- package/src/components/TreeChart/TreeChart.types.ts +20 -1
- package/src/components/VerticalBarChart/VerticalBarChart.types.ts +9 -1
- package/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts +9 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 23 Oct 2023 07:35:13 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.18.9",
|
|
7
|
+
"version": "5.18.9",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "atishay.jain@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "c8ed0b5e2a48e82c30c9b257ae398cc6835b3a3b",
|
|
14
|
+
"comment": "Part 2 - Changes to onboard charting to fluent docsite"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 20 Oct 2023 07:35:43 GMT",
|
|
6
21
|
"tag": "@fluentui/react-charting_v5.18.8",
|
|
7
22
|
"version": "5.18.8",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 23 Oct 2023 07:35:13 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.18.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.18.9)
|
|
8
|
+
|
|
9
|
+
Mon, 23 Oct 2023 07:35:13 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.18.8..@fluentui/react-charting_v5.18.9)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Part 2 - Changes to onboard charting to fluent docsite ([PR #29608](https://github.com/microsoft/fluentui/pull/29608) by atishay.jain@microsoft.com)
|
|
15
|
+
|
|
7
16
|
## [5.18.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.18.8)
|
|
8
17
|
|
|
9
|
-
Fri, 20 Oct 2023 07:35:
|
|
18
|
+
Fri, 20 Oct 2023 07:35:43 GMT
|
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.18.7..@fluentui/react-charting_v5.18.8)
|
|
11
20
|
|
|
12
21
|
### Patches
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @fluentui/react-charting
|
|
2
2
|
|
|
3
|
+
[](https://badge.fury.io/js/@fluentui%2Freact-charting) [](https://dev.azure.com/uifabric/fabricpublic/_build?definitionId=164)
|
|
4
|
+
|
|
3
5
|
**Overview**
|
|
4
6
|
|
|
5
7
|
[Fluent UI React](https://developer.microsoft.com/en-us/fluentui)
|
|
@@ -11,7 +13,7 @@ These charts are used across different products in Microsoft. They are ready to
|
|
|
11
13
|
|
|
12
14
|
This library is also supported for fluent UI [v7](https://github.com/microsoft/fluentui/tree/7.0).
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
## Using the library
|
|
15
17
|
|
|
16
18
|
Examples and code snippets for the charting library are available on the [demo site](https://aka.ms/fluentcharting).
|
|
17
19
|
The code snippets can be used as usage guide for all the props and chart variations. Click on 'Show code' on the demo site to access demo for each variant.
|
|
@@ -28,115 +30,81 @@ To import charting components:
|
|
|
28
30
|
import { ComponentName } from '@fluentui/react-charting/lib/ComponentName';
|
|
29
31
|
```
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
Refer the main fluentui [wiki](https://github.com/microsoft/fluentui/wiki) for detailed instructions on setup and contributing to the package.
|
|
34
|
-
|
|
35
|
-
**Testing**
|
|
36
|
-
|
|
37
|
-
The library has sufficient number of snapshot tests to test for visual regressions.
|
|
38
|
-
Run `yarn test` from within the package to run all the tests.
|
|
39
|
-
|
|
40
|
-
**Versioning and changelog**
|
|
41
|
-
|
|
42
|
-
We use SemVer for versioning. For the versions available, see the [tags](https://github.com/microsoft/fluentui/tags) on this repository.
|
|
43
|
-
|
|
44
|
-
Refer to the [changelog](https://github.com/microsoft/fluentui/blob/master/packages/react-charting/CHANGELOG.md) for details about changes made in each version.
|
|
45
|
-
|
|
46
|
-
**Contact**
|
|
33
|
+
## Contact
|
|
47
34
|
|
|
35
|
+
The charting project is actively funded by a small feature team. The team responds within 1-2 business days for any queries or doubts.
|
|
48
36
|
You can reach out to the charting team by tagging `@microsoft/charting-team` in [discussion](https://github.com/microsoft/fluentui/discussions) items.
|
|
49
37
|
|
|
50
38
|
You could also create issues under the [charting](https://github.com/microsoft/fluentui/labels/Package:%20charting) tag.
|
|
51
39
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
Refer fluent [Coding guidelines](https://github.com/microsoft/fluentui/wiki/Coding-Style)
|
|
55
|
-
|
|
56
|
-
# Technical details
|
|
57
|
-
|
|
58
|
-
**Overview**
|
|
59
|
-
|
|
60
|
-
This document describes different chart components in detail.
|
|
61
|
-
|
|
62
|
-
This can be used as a guide to use the charts and contribute new functionalities or improvements to the library.
|
|
63
|
-
|
|
64
|
-
**Components**
|
|
40
|
+
## Resources
|
|
65
41
|
|
|
66
|
-
|
|
42
|
+
Several resources are available to know more details about the charting project.
|
|
67
43
|
|
|
68
|
-
|
|
44
|
+
Published roadmap [here](https://aka.ms/fluentChartingRoadmap)
|
|
69
45
|
|
|
70
|
-
|
|
46
|
+
Detailed [wiki](https://aka.ms/fluentChartingWiki) (Internal to Microsoft Employees currently)
|
|
71
47
|
|
|
72
|
-
|
|
48
|
+
Join our [discord server](https://aka.ms/FluentCharting/discord) for realtime conversation and schedule to our regular office hours.
|
|
73
49
|
|
|
74
|
-
|
|
50
|
+
Official codepen account - Coming soon
|
|
75
51
|
|
|
76
|
-
-
|
|
52
|
+
Figma design guidance - Coming soon
|
|
77
53
|
|
|
78
|
-
|
|
54
|
+
## Contributing
|
|
79
55
|
|
|
80
|
-
|
|
56
|
+
[]()
|
|
81
57
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- Axes support for different charts
|
|
58
|
+
Refer the main fluentui [wiki](https://github.com/microsoft/fluentui/wiki) for detailed instructions on setup and contributing to the package.
|
|
85
59
|
|
|
86
|
-
|
|
87
|
-
| -------------------------- | ------------ | --------- | ----------- |
|
|
88
|
-
| Line Chart | Yes | Yes | No |
|
|
89
|
-
| Area Chart | Yes | Yes | No |
|
|
90
|
-
| Vertical Bar Chart | Yes | No | Yes |
|
|
91
|
-
| Vertical Stacked Bar Chart | Yes | No | Yes |
|
|
92
|
-
| Grouped Vertical Bar Chart | No | No | Yes |
|
|
93
|
-
| Heatmap Chart | Yes | Yes | Yes |
|
|
94
|
-
| Horizontal Bar Chart | -- | -- | -- |
|
|
95
|
-
| Donut Chart | -- | -- | -- |
|
|
96
|
-
| Sankey Chart | -- | -- | -- |
|
|
97
|
-
| Tree Chart | -- | -- | -- |
|
|
98
|
-
| Sparkline Chart | -- | -- | -- |
|
|
60
|
+
A comprehensive contributor guide is available in our internal [wiki](https://aka.ms/fluentChartingWiki). Available to share publically on request.
|
|
99
61
|
|
|
100
|
-
|
|
101
|
-
The axes support 2 ways of localization.
|
|
62
|
+
## Testing
|
|
102
63
|
|
|
103
|
-
|
|
104
|
-
2. Custom locale definition: The consumer of the library can specify a custom locale definition as supported by d3 (like [this](https://github.com/d3/d3-time-format/blob/main/locale/en-US.json)). The date axis will use the date range and the multiformat specified in the definition to determine the correct format to show in the ticks. For example - If the date range is in days then the axis will show hourly ticks. If the date range spans across months then the axis will show months in tick labels and so on.
|
|
105
|
-
Specify the custom locale definition in the timeFormatLocale prop.
|
|
106
|
-
Refer to the Custom Locale Date Axis example in line chart for sample usage.
|
|
64
|
+

|
|
107
65
|
|
|
108
|
-
|
|
109
|
-
|
|
66
|
+
The library has a wide variety of tests to ensure quality of the library.
|
|
67
|
+
The tests range from component tests, unit tests, visual regression tests, accessibility tests, integration tests and manual tests.
|
|
68
|
+
The test automations aim to ensure over 90% code coverage across the library.
|
|
110
69
|
|
|
111
|
-
|
|
70
|
+
Further details available in the wiki
|
|
112
71
|
|
|
113
|
-
|
|
72
|
+
Run `yarn test` from within the package to run all the tests.
|
|
114
73
|
|
|
115
|
-
|
|
74
|
+
## Accessibility
|
|
116
75
|
|
|
117
|
-
|
|
76
|
+
Our charts have elaborate accessibility support. The charts are WCAG 2.1 MAS C compliant for accessibility.
|
|
118
77
|
|
|
119
|
-
|
|
78
|
+
More details are covered in the wiki.
|
|
120
79
|
|
|
121
|
-
|
|
80
|
+
## Performance
|
|
122
81
|
|
|
123
|
-
|
|
82
|
+
Performance is a key success criteria for the charting library.
|
|
83
|
+
Performance is measured and has been improved for the following scenarios.
|
|
84
|
+
|**S No**| **Scenario** | **Lighthouse Score** |
|
|
85
|
+
|:------:|:------------------------------------------------: | :----------------------: |
|
|
86
|
+
| 1. | 1 LineChart of 1 series with 30,000 datapoints | 79.2 |
|
|
87
|
+
| 2. | 6 LineCharts of 1 series with 100 datapoints each | 98.8 |
|
|
88
|
+
| 3. | 18 LineCharts of 1 series with 5 datapoints | 98 |
|
|
89
|
+
| 4. | 50 Linecharts of 1 Series with 10 datapoints each | 89.6 |
|
|
90
|
+
| 5. | 1 Linechart of 2 series with 500 datapoints each | 98.6 |
|
|
91
|
+
| 6. |10 Linecharts of 1 series with 1000 datapoints each| 94.4 |
|
|
92
|
+
| 7. | 1 Areachart with 30,000 datapoints | 49 |
|
|
93
|
+
| 8. | 6 Areacharts of 1 series with 100 datapoints each | 95.4 |
|
|
94
|
+
| 9. |18 Areacharts of 1 series with 5 data points each | 96.8 |
|
|
124
95
|
|
|
125
|
-
|
|
96
|
+
More details are covered in the wiki.
|
|
126
97
|
|
|
127
|
-
|
|
98
|
+
## Versioning and changelog
|
|
128
99
|
|
|
129
|
-
|
|
130
|
-
Consumers can define their own aria labels for each point by setting the `xAxisCalloutAccessibilityData` and `callOutAccessibilityData` properties.
|
|
100
|
+
We use SemVer for versioning. For the versions available, see the [tags](https://github.com/microsoft/fluentui/tags) on this repository.
|
|
131
101
|
|
|
132
|
-
-
|
|
102
|
+
Refer to the [changelog](https://github.com/microsoft/fluentui/blob/master/packages/react-charting/CHANGELOG.md) for details about changes made in each version.
|
|
133
103
|
|
|
134
|
-
|
|
104
|
+
## Coding Guidelines
|
|
135
105
|
|
|
136
|
-
|
|
106
|
+
Refer fluent [Coding guidelines](https://github.com/microsoft/fluentui/wiki/Coding-Style)
|
|
137
107
|
|
|
138
|
-
|
|
108
|
+
## Technical details
|
|
139
109
|
|
|
140
|
-
-
|
|
141
|
-
- Tick values are applicable only for date axis. Doesn't work for string or numeric axis.
|
|
142
|
-
Tickcount works for numeric and date axis. Doesn't work for string (scaleBand) axis.
|
|
110
|
+
Refer [this](https://github.com/microsoft/fluentui/blob/master/packages/react-charting/docs/TechnicalDetails.md) document for details on color palette, theming, types of axis supported and more.
|