@fluentui/react-charting 5.24.23 → 5.24.25
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 +37 -1
- package/CHANGELOG.md +21 -2
- package/dist/react-charting.d.ts +59 -1
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +10 -0
- package/lib/components/CommonComponents/CartesianChart.base.js +11 -5
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +16 -1
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +167 -30
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.d.ts +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.js +66 -13
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.types.d.ts +4 -0
- package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +37 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/utilities.d.ts +17 -13
- package/lib/utilities/utilities.js +131 -17
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +11 -5
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +16 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +171 -35
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/FunnelChart/funnelGeometry.js +5 -6
- package/lib-amd/components/FunnelChart/funnelGeometry.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +1 -1
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +1 -2
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +4 -4
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +64 -11
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +4 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.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 +37 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/image-export-utils.js +2 -3
- package/lib-amd/utilities/image-export-utils.js.map +1 -1
- package/lib-amd/utilities/scatterpolar-utils.js +2 -3
- package/lib-amd/utilities/scatterpolar-utils.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +17 -13
- package/lib-amd/utilities/utilities.js +170 -54
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +11 -5
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +16 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +171 -34
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/funnelGeometry.js +5 -6
- package/lib-commonjs/components/FunnelChart/funnelGeometry.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +1 -1
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +1 -2
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +4 -4
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +64 -11
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +4 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.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 +37 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/image-export-utils.js +2 -3
- package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
- package/lib-commonjs/utilities/scatterpolar-utils.js +2 -3
- package/lib-commonjs/utilities/scatterpolar-utils.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +17 -13
- package/lib-commonjs/utilities/utilities.js +170 -55
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +2 -2
- package/src/components/CommonComponents/CartesianChart.types.ts +19 -0
- package/src/components/ScatterChart/ScatterChart.types.ts +5 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,43 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 21 Aug 2025 12:14:43 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.25",
|
|
7
|
+
"version": "5.24.25",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kumarkshitij@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "0983f8e39ab375d87f5124c17821a618971881c0",
|
|
14
|
+
"comment": "feat: add support for tickmode in DeclarativeChart"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 15 Aug 2025 07:21:22 GMT",
|
|
21
|
+
"tag": "@fluentui/react-charting_v5.24.24",
|
|
22
|
+
"version": "5.24.24",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui/react-charting",
|
|
28
|
+
"commit": "c0aabdccb5c79620be68ec17d80c8454b541d1be",
|
|
29
|
+
"comment": "feat(react-charting): Support string y-axis for Scatter chart"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui/react-charting",
|
|
34
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.28",
|
|
35
|
+
"commit": "e9d9ff6670189ffa97f9c21450fe4ddba15a461d"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Fri, 08 Aug 2025 07:21:05 GMT",
|
|
6
42
|
"tag": "@fluentui/react-charting_v5.24.23",
|
|
7
43
|
"version": "5.24.23",
|
|
8
44
|
"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 Thu, 21 Aug 2025 12:14:43 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.25)
|
|
8
|
+
|
|
9
|
+
Thu, 21 Aug 2025 12:14:43 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.24..@fluentui/react-charting_v5.24.25)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- feat: add support for tickmode in DeclarativeChart ([PR #35039](https://github.com/microsoft/fluentui/pull/35039) by kumarkshitij@microsoft.com)
|
|
15
|
+
|
|
16
|
+
## [5.24.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.24)
|
|
17
|
+
|
|
18
|
+
Fri, 15 Aug 2025 07:21:22 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.23..@fluentui/react-charting_v5.24.24)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- feat(react-charting): Support string y-axis for Scatter chart ([PR #35006](https://github.com/microsoft/fluentui/pull/35006) by 120183316+srmukher@users.noreply.github.com)
|
|
24
|
+
- Bump @fluentui/chart-utilities to v1.1.28 ([PR #35007](https://github.com/microsoft/fluentui/pull/35007) by beachball)
|
|
25
|
+
|
|
7
26
|
## [5.24.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.23)
|
|
8
27
|
|
|
9
|
-
Fri, 08 Aug 2025 07:
|
|
28
|
+
Fri, 08 Aug 2025 07:21:05 GMT
|
|
10
29
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.22..@fluentui/react-charting_v5.24.23)
|
|
11
30
|
|
|
12
31
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -47,6 +47,44 @@ 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
|
+
* Configuration options for an axis.
|
|
52
|
+
*
|
|
53
|
+
* {@docCategory CartesianChart}
|
|
54
|
+
*/
|
|
55
|
+
export declare type AxisProps = {
|
|
56
|
+
/**
|
|
57
|
+
* Defines the step between tick marks on the axis.
|
|
58
|
+
* Works in combination with `tick0`.
|
|
59
|
+
* Must be a positive number.
|
|
60
|
+
*
|
|
61
|
+
* - **Log scale**:
|
|
62
|
+
* - Ticks are placed at `10^(n * tickStep)` where `n` is the tick index.
|
|
63
|
+
* - Example: `tickStep = 2` → ticks at 1, 100, 10,000...
|
|
64
|
+
* - Example: `tickStep = log10(5)` → ticks at 1, 5, 25, 125...
|
|
65
|
+
* - Special format `"L<f>"`: Creates ticks that are linearly spaced in value (not position).
|
|
66
|
+
* - Example: `tick0 = 0.1`, `tickStep = "L0.5"` → ticks at 0.1, 0.6, 1.1, 1.6...
|
|
67
|
+
*
|
|
68
|
+
* - **Date axis**:
|
|
69
|
+
* - Must be in milliseconds.
|
|
70
|
+
* - Example: one day = `tickStep = 86400000`.
|
|
71
|
+
* - Special format `"M<n>"`: Places ticks every `n` months.
|
|
72
|
+
* - Example: `tick0 = "2000-01-15"`, `tickStep = "M3"` → ticks on the 15th every third month.
|
|
73
|
+
* - Example: `tickStep = "M48"` → ticks every 4 years.
|
|
74
|
+
*/
|
|
75
|
+
tickStep?: number | string;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the reference value for axis ticks.
|
|
78
|
+
* Works in combination with `tickStep`.
|
|
79
|
+
*
|
|
80
|
+
* - **Log scale**:
|
|
81
|
+
* - `tick0` must be given as the logarithm of the reference tick.
|
|
82
|
+
* - Example: to align ticks with 100, use `tick0 = 2`.
|
|
83
|
+
* - Exception: when `tickStep` uses `"L<f>"`, you can specify the raw value directly.
|
|
84
|
+
*/
|
|
85
|
+
tick0?: number | Date;
|
|
86
|
+
};
|
|
87
|
+
|
|
50
88
|
/**
|
|
51
89
|
* Available scale types for axes.
|
|
52
90
|
*
|
|
@@ -714,6 +752,21 @@ export declare interface ICartesianChartProps {
|
|
|
714
752
|
* @default 'default'
|
|
715
753
|
*/
|
|
716
754
|
secondaryYScaleType?: AxisScaleType;
|
|
755
|
+
/**
|
|
756
|
+
* Explicit set of tick values for the y-axis.
|
|
757
|
+
* If provided, these values override automatic tick generation.
|
|
758
|
+
*/
|
|
759
|
+
yAxisTickValues?: number[] | Date[] | string[];
|
|
760
|
+
/**
|
|
761
|
+
* Configuration for the x-axis.
|
|
762
|
+
* Use this to control `tickStep`, `tick0`, etc.
|
|
763
|
+
*/
|
|
764
|
+
xAxis?: AxisProps;
|
|
765
|
+
/**
|
|
766
|
+
* Configuration for the y-axis.
|
|
767
|
+
* Use this to control `tickStep`, `tick0`, etc.
|
|
768
|
+
*/
|
|
769
|
+
yAxis?: AxisProps;
|
|
717
770
|
}
|
|
718
771
|
|
|
719
772
|
/**
|
|
@@ -3946,6 +3999,10 @@ export declare interface IScatterChartProps extends ICartesianChartProps {
|
|
|
3946
3999
|
* The prop used to define the culture to localized the numbers
|
|
3947
4000
|
*/
|
|
3948
4001
|
culture?: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* The prop used to define the y axis labels tooltip visibility
|
|
4004
|
+
*/
|
|
4005
|
+
showYAxisLablesTooltip?: boolean;
|
|
3949
4006
|
}
|
|
3950
4007
|
|
|
3951
4008
|
/**
|
|
@@ -4976,7 +5033,7 @@ export declare interface IVSChartDataPoint {
|
|
|
4976
5033
|
callOutAccessibilityData?: IAccessibilityProps;
|
|
4977
5034
|
}
|
|
4978
5035
|
|
|
4979
|
-
declare interface IYAxisParams {
|
|
5036
|
+
declare interface IYAxisParams extends AxisProps {
|
|
4980
5037
|
yMinMaxValues?: {
|
|
4981
5038
|
startValue: number;
|
|
4982
5039
|
endValue: number;
|
|
@@ -4994,6 +5051,7 @@ declare interface IYAxisParams {
|
|
|
4994
5051
|
eventAnnotationProps?: IEventsAnnotationProps;
|
|
4995
5052
|
eventLabelHeight?: number;
|
|
4996
5053
|
yAxisPadding?: number;
|
|
5054
|
+
tickValues?: Date[] | number[] | string[];
|
|
4997
5055
|
}
|
|
4998
5056
|
|
|
4999
5057
|
export declare interface IYValueHover {
|