@fluentui/react-charting 5.23.75 → 5.23.77
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 +43 -1
- package/CHANGELOG.md +22 -2
- package/dist/react-charting.d.ts +12 -2
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +4 -2
- package/lib/components/AreaChart/AreaChart.base.d.ts +2 -0
- package/lib/components/AreaChart/AreaChart.base.js +20 -6
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +18 -14
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +2 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +52 -92
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +23 -14
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/Legends/Legends.styles.js +3 -0
- package/lib/components/Legends/Legends.styles.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.d.ts +4 -3
- package/lib/components/LineChart/LineChart.base.js +50 -37
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +4 -4
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +26 -7
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +10 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/utilities.d.ts +2 -2
- package/lib/utilities/utilities.js +19 -32
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +2 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js +20 -6
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +18 -14
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +2 -2
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +52 -92
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +21 -12
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/Legends/Legends.styles.js +3 -0
- package/lib-amd/components/Legends/Legends.styles.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +4 -3
- package/lib-amd/components/LineChart/LineChart.base.js +50 -37
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +4 -4
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +26 -7
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +10 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +2 -2
- package/lib-amd/utilities/utilities.js +19 -32
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +2 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +20 -6
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +18 -14
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +2 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +52 -92
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +21 -12
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.styles.js +3 -0
- package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +4 -3
- package/lib-commonjs/components/LineChart/LineChart.base.js +50 -37
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +4 -4
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +26 -7
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +10 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +2 -2
- package/lib-commonjs/utilities/utilities.js +19 -32
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +4 -4
- package/src/components/CommonComponents/CartesianChart.types.ts +2 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,49 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 28 Apr 2025 07:21:14 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.23.77",
|
|
7
|
+
"version": "5.23.77",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kumarkshitij@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "d5a68900c2069d2e1c9dfe2f65278af9e381c40c",
|
|
14
|
+
"comment": "feat: add support for secondary y-axis in cartesian charts"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.205",
|
|
20
|
+
"commit": "27891bf50d50f5c2c76cd4c43b2851b5098275db"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"comment": "Bump @fluentui/react to v8.122.16",
|
|
26
|
+
"commit": "27891bf50d50f5c2c76cd4c43b2851b5098275db"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Tue, 22 Apr 2025 07:20:43 GMT",
|
|
33
|
+
"tag": "@fluentui/react-charting_v5.23.76",
|
|
34
|
+
"version": "5.23.76",
|
|
35
|
+
"comments": {
|
|
36
|
+
"patch": [
|
|
37
|
+
{
|
|
38
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
39
|
+
"package": "@fluentui/react-charting",
|
|
40
|
+
"commit": "cff1cb248555dda6c735de3b83e009ff9fb0cbac",
|
|
41
|
+
"comment": "fix(react-charting): Fixing legends disappear when hovering over the scrollbar in more legends"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"date": "Fri, 18 Apr 2025 07:20:42 GMT",
|
|
6
48
|
"tag": "@fluentui/react-charting_v5.23.75",
|
|
7
49
|
"version": "5.23.75",
|
|
8
50
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 28 Apr 2025 07:21:14 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.23.77](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.77)
|
|
8
|
+
|
|
9
|
+
Mon, 28 Apr 2025 07:21:14 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.76..@fluentui/react-charting_v5.23.77)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- feat: add support for secondary y-axis in cartesian charts ([PR #34301](https://github.com/microsoft/fluentui/pull/34301) by kumarkshitij@microsoft.com)
|
|
15
|
+
- Bump @fluentui/theme-samples to v8.7.205 ([PR #34317](https://github.com/microsoft/fluentui/pull/34317) by beachball)
|
|
16
|
+
- Bump @fluentui/react to v8.122.16 ([PR #34317](https://github.com/microsoft/fluentui/pull/34317) by beachball)
|
|
17
|
+
|
|
18
|
+
## [5.23.76](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.76)
|
|
19
|
+
|
|
20
|
+
Tue, 22 Apr 2025 07:20:43 GMT
|
|
21
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.75..@fluentui/react-charting_v5.23.76)
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- fix(react-charting): Fixing legends disappear when hovering over the scrollbar in more legends ([PR #34289](https://github.com/microsoft/fluentui/pull/34289) by 120183316+srmukher@users.noreply.github.com)
|
|
26
|
+
|
|
7
27
|
## [5.23.75](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.75)
|
|
8
28
|
|
|
9
|
-
Fri, 18 Apr 2025 07:20:
|
|
29
|
+
Fri, 18 Apr 2025 07:20:42 GMT
|
|
10
30
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.74..@fluentui/react-charting_v5.23.75)
|
|
11
31
|
|
|
12
32
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -918,7 +918,7 @@ export declare interface IChartProps {
|
|
|
918
918
|
|
|
919
919
|
export declare interface IChildProps {
|
|
920
920
|
xScale?: any;
|
|
921
|
-
|
|
921
|
+
yScalePrimary?: any;
|
|
922
922
|
yScaleSecondary?: any;
|
|
923
923
|
containerHeight?: number;
|
|
924
924
|
containerWidth?: number;
|
|
@@ -1552,6 +1552,11 @@ export declare interface IGVBarChartSeriesPoint {
|
|
|
1552
1552
|
* Accessibility data for callout
|
|
1553
1553
|
*/
|
|
1554
1554
|
callOutAccessibilityData?: IAccessibilityProps;
|
|
1555
|
+
/**
|
|
1556
|
+
* Whether to use the secondary y scale or not
|
|
1557
|
+
* False by default.
|
|
1558
|
+
*/
|
|
1559
|
+
useSecondaryYScale?: boolean;
|
|
1555
1560
|
}
|
|
1556
1561
|
|
|
1557
1562
|
export declare interface IGVDataPoint {
|
|
@@ -2534,6 +2539,11 @@ export declare interface ILineChartPoints {
|
|
|
2534
2539
|
* Defines the function that is executed on clicking line
|
|
2535
2540
|
*/
|
|
2536
2541
|
onLineClick?: () => void;
|
|
2542
|
+
/**
|
|
2543
|
+
* Whether to use the secondary y scale or not
|
|
2544
|
+
* False by default.
|
|
2545
|
+
*/
|
|
2546
|
+
useSecondaryYScale?: boolean;
|
|
2537
2547
|
}
|
|
2538
2548
|
|
|
2539
2549
|
/**
|
|
@@ -2832,7 +2842,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
2832
2842
|
/**
|
|
2833
2843
|
* Get the min and max values of the y-axis
|
|
2834
2844
|
*/
|
|
2835
|
-
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[], yAxisType: YAxisType | undefined) => {
|
|
2845
|
+
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
2836
2846
|
startValue: number;
|
|
2837
2847
|
endValue: number;
|
|
2838
2848
|
};
|