@fluentui/react-charting 5.23.53 → 5.23.55
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 +8 -3
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +4 -3
- package/lib/components/CommonComponents/CartesianChart.base.js +7 -2
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +8 -3
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +7 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +5 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/utilities/utilities.d.ts +4 -2
- package/lib/utilities/utilities.js +86 -36
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +7 -2
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +8 -3
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +7 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +5 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +4 -2
- package/lib-amd/utilities/utilities.js +86 -36
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +7 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +8 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +7 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +5 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +4 -2
- package/lib-commonjs/utilities/utilities.js +86 -36
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +3 -3
- package/src/components/CommonComponents/CartesianChart.types.ts +9 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,43 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Wed,
|
|
5
|
+
"date": "Wed, 19 Feb 2025 07:20:12 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.23.55",
|
|
7
|
+
"version": "5.23.55",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.199",
|
|
14
|
+
"commit": "8264ce0435583ae69c051f109388005be3c0de2b"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"comment": "Bump @fluentui/react to v8.122.10",
|
|
20
|
+
"commit": "8264ce0435583ae69c051f109388005be3c0de2b"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Thu, 13 Feb 2025 07:22:18 GMT",
|
|
27
|
+
"tag": "@fluentui/react-charting_v5.23.54",
|
|
28
|
+
"version": "5.23.54",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "110246001+krkshitij@users.noreply.github.com",
|
|
33
|
+
"package": "@fluentui/react-charting",
|
|
34
|
+
"commit": "f9427b8df618f765dbf233c601060a7e123444d0",
|
|
35
|
+
"comment": "feat: hide overlapping x-axis tick labels"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Wed, 12 Feb 2025 07:20:51 GMT",
|
|
6
42
|
"tag": "@fluentui/react-charting_v5.23.53",
|
|
7
43
|
"version": "5.23.53",
|
|
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 Wed,
|
|
3
|
+
This log was last generated on Wed, 19 Feb 2025 07:20:12 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.23.55](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.55)
|
|
8
|
+
|
|
9
|
+
Wed, 19 Feb 2025 07:20:12 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.54..@fluentui/react-charting_v5.23.55)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/theme-samples to v8.7.199 ([PR #33867](https://github.com/microsoft/fluentui/pull/33867) by beachball)
|
|
15
|
+
- Bump @fluentui/react to v8.122.10 ([PR #33867](https://github.com/microsoft/fluentui/pull/33867) by beachball)
|
|
16
|
+
|
|
17
|
+
## [5.23.54](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.54)
|
|
18
|
+
|
|
19
|
+
Thu, 13 Feb 2025 07:22:18 GMT
|
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.53..@fluentui/react-charting_v5.23.54)
|
|
21
|
+
|
|
22
|
+
### Patches
|
|
23
|
+
|
|
24
|
+
- feat: hide overlapping x-axis tick labels ([PR #33678](https://github.com/microsoft/fluentui/pull/33678) by 110246001+krkshitij@users.noreply.github.com)
|
|
25
|
+
|
|
7
26
|
## [5.23.53](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.53)
|
|
8
27
|
|
|
9
|
-
Wed, 12 Feb 2025 07:20:
|
|
28
|
+
Wed, 12 Feb 2025 07:20:51 GMT
|
|
10
29
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.52..@fluentui/react-charting_v5.23.53)
|
|
11
30
|
|
|
12
31
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -393,7 +393,7 @@ export declare interface ICartesianChartProps {
|
|
|
393
393
|
* This is a optional parameter if not specified D3 will decide which values appear on the x-axis for you
|
|
394
394
|
* Please look at https://github.com/d3/d3-scale for more information on how D3 decides what data to appear on the axis of chart
|
|
395
395
|
*/
|
|
396
|
-
tickValues?: number[] | Date[];
|
|
396
|
+
tickValues?: number[] | Date[] | string[];
|
|
397
397
|
/**
|
|
398
398
|
* the format for the data on x-axis. For date object this can be specified to your requirement. Eg: '%m/%d', '%d'
|
|
399
399
|
* Please look at https://github.com/d3/d3-time-format for all the formats supported for date axis
|
|
@@ -572,6 +572,11 @@ export declare interface ICartesianChartProps {
|
|
|
572
572
|
* the public methods and properties of the component.
|
|
573
573
|
*/
|
|
574
574
|
componentRef?: IRefObject<IChart>;
|
|
575
|
+
/**
|
|
576
|
+
* Determines whether overlapping x-axis tick labels should be hidden.
|
|
577
|
+
* @default false
|
|
578
|
+
*/
|
|
579
|
+
hideTickOverlap?: boolean;
|
|
575
580
|
}
|
|
576
581
|
|
|
577
582
|
/**
|
|
@@ -2715,7 +2720,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
2715
2720
|
* Tick params are applicable for date axis only.
|
|
2716
2721
|
*/
|
|
2717
2722
|
tickParams?: {
|
|
2718
|
-
tickValues?: number[] | Date[];
|
|
2723
|
+
tickValues?: number[] | Date[] | string[];
|
|
2719
2724
|
tickFormat?: string;
|
|
2720
2725
|
};
|
|
2721
2726
|
/**
|
|
@@ -2803,7 +2808,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
|
|
|
2803
2808
|
/**
|
|
2804
2809
|
* Get the domain and range values
|
|
2805
2810
|
*/
|
|
2806
|
-
getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | undefined, shiftX: number) => IDomainNRange;
|
|
2811
|
+
getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined, shiftX: number) => IDomainNRange;
|
|
2807
2812
|
/**
|
|
2808
2813
|
* Create the string y-axis
|
|
2809
2814
|
*/
|