@fluentui/react-charting 5.24.3 → 5.24.4
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 +46 -1
- package/CHANGELOG.md +16 -2
- package/dist/react-charting.d.ts +34 -1
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +7 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +1 -0
- package/lib/components/AreaChart/AreaChart.base.js +4 -1
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +2 -2
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +12 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +9 -1
- package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +67 -66
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +22 -3
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
- package/lib/components/HeatMapChart/HeatMapChart.base.js +95 -37
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +24 -3
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.js +84 -55
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.styles.js +12 -0
- package/lib/components/ScatterChart/ScatterChart.styles.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.types.d.ts +5 -0
- package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +27 -6
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +48 -31
- 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 +18 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/utilities.d.ts +6 -3
- package/lib/utilities/utilities.js +58 -29
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +1 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js +4 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +2 -2
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +12 -2
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js +11 -2
- package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +66 -66
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +21 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +94 -36
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +23 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +83 -54
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.styles.js +12 -1
- package/lib-amd/components/ScatterChart/ScatterChart.styles.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +5 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +26 -5
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +47 -30
- 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 +18 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +6 -3
- package/lib-amd/utilities/utilities.js +59 -30
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +4 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +2 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +12 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +11 -2
- package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +66 -65
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +21 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +94 -36
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +23 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +83 -54
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js +12 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +5 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +26 -5
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +47 -30
- 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 +18 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +6 -3
- package/lib-commonjs/utilities/utilities.js +59 -30
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +2 -2
- package/src/components/CommonComponents/CartesianChart.types.ts +20 -1
- package/src/components/ScatterChart/ScatterChart.types.ts +7 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,52 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 13 Jun 2025 07:20:35 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.4",
|
|
7
|
+
"version": "5.24.4",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "fc903495e657ec509ad87d4139c259e3ca9c9071",
|
|
14
|
+
"comment": "fix(react-charting): Support for using opacity provided in schema for decalarative charts"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "kumarkshitij@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "116903a192cd16054d2ca2a8f18d6d623fed5384",
|
|
20
|
+
"comment": "feat: add support for ordering string tick labels on x and y axes"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"commit": "a73394f7914fc6051e0e6567caa89b6ff6c9799d",
|
|
26
|
+
"comment": "fix(react-charting): Fixing color, marker size, yaxis issues for Scatter chart"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
30
|
+
"package": "@fluentui/react-charting",
|
|
31
|
+
"commit": "e5291abb46493301e00b72a3c65694e21a6f8793",
|
|
32
|
+
"comment": "fix(react-charting): Fixing resolve color issue"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
36
|
+
"package": "@fluentui/react-charting",
|
|
37
|
+
"commit": "1023a785befbd8f6e2b20b133e7f4a2e1d5ee639",
|
|
38
|
+
"comment": "fix(react-charting): Fixing color issue for GVBC"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-charting",
|
|
43
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.17",
|
|
44
|
+
"commit": "116903a192cd16054d2ca2a8f18d6d623fed5384"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Thu, 12 Jun 2025 07:20:13 GMT",
|
|
6
51
|
"tag": "@fluentui/react-charting_v5.24.3",
|
|
7
52
|
"version": "5.24.3",
|
|
8
53
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 13 Jun 2025 07:20:35 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.4)
|
|
8
|
+
|
|
9
|
+
Fri, 13 Jun 2025 07:20:35 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.3..@fluentui/react-charting_v5.24.4)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix(react-charting): Support for using opacity provided in schema for decalarative charts ([PR #34635](https://github.com/microsoft/fluentui/pull/34635) by 120183316+srmukher@users.noreply.github.com)
|
|
15
|
+
- feat: add support for ordering string tick labels on x and y axes ([PR #34623](https://github.com/microsoft/fluentui/pull/34623) by kumarkshitij@microsoft.com)
|
|
16
|
+
- fix(react-charting): Fixing color, marker size, yaxis issues for Scatter chart ([PR #34628](https://github.com/microsoft/fluentui/pull/34628) by 120183316+srmukher@users.noreply.github.com)
|
|
17
|
+
- fix(react-charting): Fixing resolve color issue ([PR #34636](https://github.com/microsoft/fluentui/pull/34636) by 120183316+srmukher@users.noreply.github.com)
|
|
18
|
+
- fix(react-charting): Fixing color issue for GVBC ([PR #34637](https://github.com/microsoft/fluentui/pull/34637) by 120183316+srmukher@users.noreply.github.com)
|
|
19
|
+
- Bump @fluentui/chart-utilities to v1.1.17 ([PR #34623](https://github.com/microsoft/fluentui/pull/34623) by beachball)
|
|
20
|
+
|
|
7
21
|
## [5.24.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.3)
|
|
8
22
|
|
|
9
|
-
Thu, 12 Jun 2025 07:
|
|
23
|
+
Thu, 12 Jun 2025 07:20:13 GMT
|
|
10
24
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.2..@fluentui/react-charting_v5.24.3)
|
|
11
25
|
|
|
12
26
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -28,6 +28,25 @@ import { TimeLocaleDefinition } from 'd3-time-format';
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const AreaChart: React_2.FunctionComponent<IAreaChartProps>;
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the ordering options for axis categories in Cartesian charts.
|
|
33
|
+
*
|
|
34
|
+
* - `'default'`: Uses the original order before custom ordering was supported.
|
|
35
|
+
* In some charts, this behaves the same as `'data'`.
|
|
36
|
+
* - `'data'`: Preserves the order of categories as provided in the input data.
|
|
37
|
+
* - `string[]`: Explicitly defines the custom order of categories as an array of category names.
|
|
38
|
+
* - `'category ascending' | 'category descending'`: Orders categories alphanumerically.
|
|
39
|
+
* - `'total ascending' | 'total descending'`: Orders categories by the total of their associated values.
|
|
40
|
+
* - `'min ascending' | 'min descending'`: Orders by the minimum value within each category.
|
|
41
|
+
* - `'max ascending' | 'max descending'`: Orders by the maximum value within each category.
|
|
42
|
+
* - `'sum ascending' | 'sum descending'`: Orders by the sum of values for each category (same as 'total').
|
|
43
|
+
* - `'mean ascending' | 'mean descending'`: Orders by the average of values in each category.
|
|
44
|
+
* - `'median ascending' | 'median descending'`: Orders by the median value of each category.
|
|
45
|
+
*
|
|
46
|
+
* {@docCategory CartesianChart}
|
|
47
|
+
*/
|
|
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
|
+
|
|
31
50
|
/**
|
|
32
51
|
* Cartesian Chart component
|
|
33
52
|
* {@docCategory CartesianChart}
|
|
@@ -647,6 +666,16 @@ export declare interface ICartesianChartProps {
|
|
|
647
666
|
* @default undefined
|
|
648
667
|
*/
|
|
649
668
|
yAxisAnnotation?: string;
|
|
669
|
+
/**
|
|
670
|
+
* Specifies the ordering logic for categories (or string tick labels) on the x-axis.
|
|
671
|
+
* @default 'default'
|
|
672
|
+
*/
|
|
673
|
+
xAxisCategoryOrder?: AxisCategoryOrder;
|
|
674
|
+
/**
|
|
675
|
+
* Specifies the ordering logic for categories (or string tick labels) on the y-axis.
|
|
676
|
+
* @default 'default'
|
|
677
|
+
*/
|
|
678
|
+
yAxisCategoryOrder?: AxisCategoryOrder;
|
|
650
679
|
}
|
|
651
680
|
|
|
652
681
|
/**
|
|
@@ -2974,7 +3003,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
2974
3003
|
/**
|
|
2975
3004
|
* Get the min and max values of the y-axis
|
|
2976
3005
|
*/
|
|
2977
|
-
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
3006
|
+
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[] | IScatterChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
|
|
2978
3007
|
startValue: number;
|
|
2979
3008
|
endValue: number;
|
|
2980
3009
|
};
|
|
@@ -3604,6 +3633,10 @@ export declare interface IScatterChartStyleProps extends ICartesianChartStylePro
|
|
|
3604
3633
|
* {@docCategory ScatterChart}
|
|
3605
3634
|
*/
|
|
3606
3635
|
export declare interface IScatterChartStyles extends ICartesianChartStyles {
|
|
3636
|
+
/**
|
|
3637
|
+
* Style for the marker label
|
|
3638
|
+
*/
|
|
3639
|
+
markerLabel?: IStyle_2;
|
|
3607
3640
|
}
|
|
3608
3641
|
|
|
3609
3642
|
export declare interface IShapeProps {
|