@fluentui/react-charting 5.24.20 → 5.24.22
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 +61 -1
- package/CHANGELOG.md +25 -2
- package/bundle-size/ScatterChart.fixture.js +7 -0
- package/dist/react-charting.d.ts +27 -2
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +8 -2
- package/lib/components/AreaChart/AreaChart.base.js +3 -3
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +4 -4
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +18 -3
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +10 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +187 -11
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.d.ts +0 -9
- package/lib/components/LineChart/LineChart.base.js +82 -138
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.js +37 -62
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +2 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +2 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +9 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/utilities.d.ts +29 -28
- package/lib/utilities/utilities.js +127 -110
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js +2 -2
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +4 -4
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +18 -3
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +10 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +188 -11
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -9
- package/lib-amd/components/LineChart/LineChart.base.js +80 -136
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +35 -60
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/index.d.ts +1 -1
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +9 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +29 -28
- package/lib-amd/utilities/utilities.js +133 -113
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +2 -2
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +4 -4
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +18 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +10 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +188 -11
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -9
- package/lib-commonjs/components/LineChart/LineChart.base.js +80 -136
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +35 -60
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/index.d.ts +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +9 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +29 -28
- package/lib-commonjs/utilities/utilities.js +134 -114
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +4 -4
- package/src/components/CommonComponents/CartesianChart.types.ts +22 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,67 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 06 Aug 2025 07:20:15 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.22",
|
|
7
|
+
"version": "5.24.22",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kumarkshitij@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "ed4b52619397ff7a0a30cfa83aba40274b03036f",
|
|
14
|
+
"comment": "feat: add support for log scale in scatter charts"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "e326819eee3a15603f963de9796860ef3c9f8f62",
|
|
20
|
+
"comment": "fix(react-charting): Handling y object values for bar chart."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.27",
|
|
26
|
+
"commit": "e326819eee3a15603f963de9796860ef3c9f8f62"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui/react-charting",
|
|
31
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.213",
|
|
32
|
+
"commit": "e326819eee3a15603f963de9796860ef3c9f8f62"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui/react-charting",
|
|
37
|
+
"comment": "Bump @fluentui/react to v8.123.4",
|
|
38
|
+
"commit": "e326819eee3a15603f963de9796860ef3c9f8f62"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": "Mon, 04 Aug 2025 07:21:26 GMT",
|
|
45
|
+
"tag": "@fluentui/react-charting_v5.24.21",
|
|
46
|
+
"version": "5.24.21",
|
|
47
|
+
"comments": {
|
|
48
|
+
"patch": [
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui/react-charting",
|
|
52
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.212",
|
|
53
|
+
"commit": "570f122fba34fa8effaaaa61bf6c9acd4caffc45"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui/react-charting",
|
|
58
|
+
"comment": "Bump @fluentui/react to v8.123.3",
|
|
59
|
+
"commit": "570f122fba34fa8effaaaa61bf6c9acd4caffc45"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"date": "Tue, 29 Jul 2025 07:20:56 GMT",
|
|
6
66
|
"tag": "@fluentui/react-charting_v5.24.20",
|
|
7
67
|
"version": "5.24.20",
|
|
8
68
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 06 Aug 2025 07:20:15 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.22)
|
|
8
|
+
|
|
9
|
+
Wed, 06 Aug 2025 07:20:15 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.21..@fluentui/react-charting_v5.24.22)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- feat: add support for log scale in scatter charts ([PR #34902](https://github.com/microsoft/fluentui/pull/34902) by kumarkshitij@microsoft.com)
|
|
15
|
+
- fix(react-charting): Handling y object values for bar chart. ([PR #34963](https://github.com/microsoft/fluentui/pull/34963) by 120183316+srmukher@users.noreply.github.com)
|
|
16
|
+
- Bump @fluentui/chart-utilities to v1.1.27 ([PR #34963](https://github.com/microsoft/fluentui/pull/34963) by beachball)
|
|
17
|
+
- Bump @fluentui/theme-samples to v8.7.213 ([PR #34963](https://github.com/microsoft/fluentui/pull/34963) by beachball)
|
|
18
|
+
- Bump @fluentui/react to v8.123.4 ([PR #34963](https://github.com/microsoft/fluentui/pull/34963) by beachball)
|
|
19
|
+
|
|
20
|
+
## [5.24.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.21)
|
|
21
|
+
|
|
22
|
+
Mon, 04 Aug 2025 07:21:26 GMT
|
|
23
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.20..@fluentui/react-charting_v5.24.21)
|
|
24
|
+
|
|
25
|
+
### Patches
|
|
26
|
+
|
|
27
|
+
- Bump @fluentui/theme-samples to v8.7.212 ([commit](https://github.com/microsoft/fluentui/commit/570f122fba34fa8effaaaa61bf6c9acd4caffc45) by beachball)
|
|
28
|
+
- Bump @fluentui/react to v8.123.3 ([commit](https://github.com/microsoft/fluentui/commit/570f122fba34fa8effaaaa61bf6c9acd4caffc45) by beachball)
|
|
29
|
+
|
|
7
30
|
## [5.24.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.20)
|
|
8
31
|
|
|
9
|
-
Tue, 29 Jul 2025 07:20:
|
|
32
|
+
Tue, 29 Jul 2025 07:20:56 GMT
|
|
10
33
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.19..@fluentui/react-charting_v5.24.20)
|
|
11
34
|
|
|
12
35
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -47,6 +47,16 @@ export declare const AreaChart: React_2.FunctionComponent<IAreaChartProps>;
|
|
|
47
47
|
*/
|
|
48
48
|
export declare type AxisCategoryOrder = 'default' | 'data' | string[] | 'category ascending' | 'category descending' | 'total ascending' | 'total descending' | 'min ascending' | 'min descending' | 'max ascending' | 'max descending' | 'sum ascending' | 'sum descending' | 'mean ascending' | 'mean descending' | 'median ascending' | 'median descending';
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Available scale types for axes.
|
|
52
|
+
*
|
|
53
|
+
* - `'default'`: Uses an automatic scale (linear, band, or time) based on axis data type.
|
|
54
|
+
* - `'log'`: Uses a logarithmic scale. Only supported for numeric axes in LineChart and ScatterChart.
|
|
55
|
+
*
|
|
56
|
+
* {@docCategory CartesianChart}
|
|
57
|
+
*/
|
|
58
|
+
export declare type AxisScaleType = 'default' | 'log';
|
|
59
|
+
|
|
50
60
|
/**
|
|
51
61
|
* Cartesian Chart component
|
|
52
62
|
* {@docCategory CartesianChart}
|
|
@@ -689,6 +699,21 @@ export declare interface ICartesianChartProps {
|
|
|
689
699
|
* @default 'default'
|
|
690
700
|
*/
|
|
691
701
|
yAxisCategoryOrder?: AxisCategoryOrder;
|
|
702
|
+
/**
|
|
703
|
+
* Defines the scale type for the x-axis.
|
|
704
|
+
* @default 'default'
|
|
705
|
+
*/
|
|
706
|
+
xScaleType?: AxisScaleType;
|
|
707
|
+
/**
|
|
708
|
+
* Defines the scale type for the primary y-axis.
|
|
709
|
+
* @default 'default'
|
|
710
|
+
*/
|
|
711
|
+
yScaleType?: AxisScaleType;
|
|
712
|
+
/**
|
|
713
|
+
* Defines the scale type for the secondary y-axis.
|
|
714
|
+
* @default 'default'
|
|
715
|
+
*/
|
|
716
|
+
secondaryYScaleType?: AxisScaleType;
|
|
692
717
|
}
|
|
693
718
|
|
|
694
719
|
/**
|
|
@@ -3303,14 +3328,14 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
3303
3328
|
/**
|
|
3304
3329
|
* Get the min and max values of the y-axis
|
|
3305
3330
|
*/
|
|
3306
|
-
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[] |
|
|
3331
|
+
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[] | IScatterChartPoints[] | IGanttChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
3307
3332
|
startValue: number;
|
|
3308
3333
|
endValue: number;
|
|
3309
3334
|
};
|
|
3310
3335
|
/**
|
|
3311
3336
|
* Create the y-axis
|
|
3312
3337
|
*/
|
|
3313
|
-
createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean, supportNegativeData?: boolean, roundedTicks?: boolean) => ScaleLinear<number, number, never>;
|
|
3338
|
+
createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean, supportNegativeData?: boolean, roundedTicks?: boolean, scaleType?: AxisScaleType) => ScaleLinear<number, number, never>;
|
|
3314
3339
|
/**
|
|
3315
3340
|
* Get the domain and range values
|
|
3316
3341
|
*/
|