@fluentui/react-charting 5.24.13 → 5.24.15
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 +64 -1
- package/CHANGELOG.md +23 -2
- package/dist/react-charting.d.ts +26 -17
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +1 -0
- package/lib/Utilities.js +19 -1
- package/lib/Utilities.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +6 -6
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +45 -12
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/GanttChart/GanttChart.base.js +210 -158
- package/lib/components/GanttChart/GanttChart.base.js.map +1 -1
- package/lib/components/GanttChart/GanttChart.types.d.ts +23 -13
- package/lib/components/GanttChart/GanttChart.types.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js +6 -11
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.js +4 -9
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +3 -4
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/scatterpolar-utils.d.ts +7 -4
- package/lib/utilities/scatterpolar-utils.js +19 -2
- package/lib/utilities/scatterpolar-utils.js.map +1 -1
- package/lib-amd/Utilities.js +9 -0
- package/lib-amd/Utilities.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +6 -6
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +45 -12
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/GanttChart/GanttChart.base.js +210 -158
- package/lib-amd/components/GanttChart/GanttChart.base.js.map +1 -1
- package/lib-amd/components/GanttChart/GanttChart.types.d.ts +23 -13
- package/lib-amd/components/GanttChart/GanttChart.types.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.js +6 -11
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +4 -9
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +3 -4
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/scatterpolar-utils.d.ts +7 -4
- package/lib-amd/utilities/scatterpolar-utils.js +21 -3
- package/lib-amd/utilities/scatterpolar-utils.js.map +1 -1
- package/lib-commonjs/Utilities.js +9 -0
- package/lib-commonjs/Utilities.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +6 -6
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +45 -12
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/GanttChart/GanttChart.base.js +210 -158
- package/lib-commonjs/components/GanttChart/GanttChart.base.js.map +1 -1
- package/lib-commonjs/components/GanttChart/GanttChart.types.d.ts +23 -13
- package/lib-commonjs/components/GanttChart/GanttChart.types.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +6 -11
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +4 -9
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +3 -4
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/scatterpolar-utils.d.ts +7 -4
- package/lib-commonjs/utilities/scatterpolar-utils.js +21 -3
- package/lib-commonjs/utilities/scatterpolar-utils.js.map +1 -1
- package/package.json +2 -2
- package/src/components/GanttChart/GanttChart.types.ts +24 -13
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,70 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 18 Jul 2025 07:19:38 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.15",
|
|
7
|
+
"version": "5.24.15",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kumarkshitij@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "8bdaf976f78b536e4692e1e5950d465b476c32e8",
|
|
14
|
+
"comment": "fix: resolve minor Gantt chart bugs and optimize logic"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.24",
|
|
20
|
+
"commit": "8bdaf976f78b536e4692e1e5950d465b476c32e8"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Thu, 17 Jul 2025 07:19:55 GMT",
|
|
27
|
+
"tag": "@fluentui/react-charting_v5.24.14",
|
|
28
|
+
"version": "5.24.14",
|
|
29
|
+
"comments": {
|
|
30
|
+
"none": [
|
|
31
|
+
{
|
|
32
|
+
"author": "vgenaev@gmail.com",
|
|
33
|
+
"package": "@fluentui/react-charting",
|
|
34
|
+
"commit": "f71a9914869b14f515433e75989f686fd87a225f",
|
|
35
|
+
"comment": "chore: suppress deprecation errors"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Wed, 16 Jul 2025 07:20:17 GMT",
|
|
42
|
+
"tag": "@fluentui/react-charting_v5.24.14",
|
|
43
|
+
"version": "5.24.14",
|
|
44
|
+
"comments": {
|
|
45
|
+
"patch": [
|
|
46
|
+
{
|
|
47
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
48
|
+
"package": "@fluentui/react-charting",
|
|
49
|
+
"commit": "4d91e1c33b3fa4c2401db99d02ea747ddcf1aa93",
|
|
50
|
+
"comment": "fix(react-charting): Align labels and points according to given directions and rotation in schema"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "98592573+AtishayMsft@users.noreply.github.com",
|
|
54
|
+
"package": "@fluentui/react-charting",
|
|
55
|
+
"commit": "abb16ff5cf2f59943be39b7e36e419b34aac7ca4",
|
|
56
|
+
"comment": "fix(react-charting): Support min max for VSBC in plotly"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui/react-charting",
|
|
61
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.23",
|
|
62
|
+
"commit": "abb16ff5cf2f59943be39b7e36e419b34aac7ca4"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"date": "Mon, 14 Jul 2025 07:21:15 GMT",
|
|
6
69
|
"tag": "@fluentui/react-charting_v5.24.13",
|
|
7
70
|
"version": "5.24.13",
|
|
8
71
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 18 Jul 2025 07:19:38 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.15)
|
|
8
|
+
|
|
9
|
+
Fri, 18 Jul 2025 07:19:38 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.14..@fluentui/react-charting_v5.24.15)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix: resolve minor Gantt chart bugs and optimize logic ([PR #34841](https://github.com/microsoft/fluentui/pull/34841) by kumarkshitij@microsoft.com)
|
|
15
|
+
- Bump @fluentui/chart-utilities to v1.1.24 ([PR #34841](https://github.com/microsoft/fluentui/pull/34841) by beachball)
|
|
16
|
+
|
|
17
|
+
## [5.24.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.14)
|
|
18
|
+
|
|
19
|
+
Wed, 16 Jul 2025 07:20:17 GMT
|
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.13..@fluentui/react-charting_v5.24.14)
|
|
21
|
+
|
|
22
|
+
### Patches
|
|
23
|
+
|
|
24
|
+
- fix(react-charting): Align labels and points according to given directions and rotation in schema ([PR #34828](https://github.com/microsoft/fluentui/pull/34828) by 120183316+srmukher@users.noreply.github.com)
|
|
25
|
+
- fix(react-charting): Support min max for VSBC in plotly ([PR #34846](https://github.com/microsoft/fluentui/pull/34846) by 98592573+AtishayMsft@users.noreply.github.com)
|
|
26
|
+
- Bump @fluentui/chart-utilities to v1.1.23 ([PR #34846](https://github.com/microsoft/fluentui/pull/34846) by beachball)
|
|
27
|
+
|
|
7
28
|
## [5.24.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.13)
|
|
8
29
|
|
|
9
|
-
Mon, 14 Jul 2025 07:
|
|
30
|
+
Mon, 14 Jul 2025 07:21:15 GMT
|
|
10
31
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.12..@fluentui/react-charting_v5.24.13)
|
|
11
32
|
|
|
12
33
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -1450,6 +1450,7 @@ export declare interface IFunnelChartStyles {
|
|
|
1450
1450
|
export declare interface IGanttChartDataPoint {
|
|
1451
1451
|
/**
|
|
1452
1452
|
* Dependent value of the data point, rendered along the x-axis.
|
|
1453
|
+
* `start` and `end` represent the beginning and end of the data point.
|
|
1453
1454
|
*/
|
|
1454
1455
|
x: {
|
|
1455
1456
|
start: Date | number;
|
|
@@ -1475,13 +1476,11 @@ export declare interface IGanttChartDataPoint {
|
|
|
1475
1476
|
*/
|
|
1476
1477
|
gradient?: [string, string];
|
|
1477
1478
|
/**
|
|
1478
|
-
*
|
|
1479
|
-
* This is an optional prop, If haven;t given legend will take
|
|
1479
|
+
* Optional label shown in place of `x` in the callout.
|
|
1480
1480
|
*/
|
|
1481
1481
|
xAxisCalloutData?: string;
|
|
1482
1482
|
/**
|
|
1483
|
-
*
|
|
1484
|
-
* This is an optional prop, If haven't given data will take
|
|
1483
|
+
* Optional label shown in place of `y` in the callout.
|
|
1485
1484
|
*/
|
|
1486
1485
|
yAxisCalloutData?: string;
|
|
1487
1486
|
/**
|
|
@@ -1500,52 +1499,62 @@ export declare interface IGanttChartDataPoint {
|
|
|
1500
1499
|
*/
|
|
1501
1500
|
export declare interface IGanttChartProps extends ICartesianChartProps {
|
|
1502
1501
|
/**
|
|
1503
|
-
*
|
|
1502
|
+
* An array of data points to be rendered in the chart.
|
|
1504
1503
|
*/
|
|
1505
1504
|
data?: IGanttChartDataPoint[];
|
|
1506
1505
|
/**
|
|
1507
|
-
*
|
|
1506
|
+
* Callback function to render a custom callout for each data point.
|
|
1508
1507
|
*/
|
|
1509
1508
|
onRenderCalloutPerDataPoint?: IRenderFunction<IGanttChartDataPoint>;
|
|
1510
1509
|
/**
|
|
1511
|
-
*
|
|
1510
|
+
* Height of each bar, in pixels.
|
|
1512
1511
|
*/
|
|
1513
1512
|
barHeight?: number;
|
|
1514
1513
|
/**
|
|
1515
|
-
*
|
|
1514
|
+
* Title of the chart.
|
|
1516
1515
|
*/
|
|
1517
1516
|
chartTitle?: string;
|
|
1518
1517
|
/**
|
|
1519
|
-
*
|
|
1518
|
+
* Custom styles that are applied on top of the default chart styles.
|
|
1520
1519
|
*/
|
|
1521
1520
|
styles?: IStyleFunctionOrObject<IGanttChartStyleProps, IGanttChartStyles>;
|
|
1522
1521
|
/**
|
|
1523
|
-
*
|
|
1522
|
+
* Locale identifier string used to format numbers and dates according to the specified culture.
|
|
1523
|
+
* Example: 'en-US', 'fr-FR'.
|
|
1524
1524
|
*/
|
|
1525
1525
|
culture?: string;
|
|
1526
1526
|
/**
|
|
1527
|
-
*
|
|
1527
|
+
* Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
|
|
1528
|
+
* Takes a number in the range [0, 1].
|
|
1529
|
+
* @default 1/2
|
|
1528
1530
|
*/
|
|
1529
1531
|
yAxisPadding?: number;
|
|
1530
1532
|
/**
|
|
1531
|
-
|
|
1532
|
-
*
|
|
1533
|
+
* If true, truncates y-axis tick labels longer than `noOfCharsToTruncate` with ellipses
|
|
1534
|
+
* and displays them in a tooltip on hover.
|
|
1535
|
+
* @default false
|
|
1533
1536
|
*/
|
|
1534
1537
|
showYAxisLablesTooltip?: boolean;
|
|
1535
1538
|
/**
|
|
1536
|
-
|
|
1537
|
-
*
|
|
1539
|
+
* If true, renders full y-axis tick labels without truncation.
|
|
1540
|
+
* @default false
|
|
1541
|
+
*/
|
|
1538
1542
|
showYAxisLables?: boolean;
|
|
1539
1543
|
/**
|
|
1544
|
+
* If true, enables gradient fills for the bars.
|
|
1540
1545
|
* @default false
|
|
1541
|
-
* The prop used to enable gradient fill color for the chart.
|
|
1542
1546
|
*/
|
|
1543
1547
|
enableGradient?: boolean;
|
|
1544
1548
|
/**
|
|
1549
|
+
* If true, applies rounded corners to the bars.
|
|
1545
1550
|
* @default false
|
|
1546
|
-
* The prop used to enable rounded corners for the bars.
|
|
1547
1551
|
*/
|
|
1548
1552
|
roundCorners?: boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* Maximum height of each bar, in pixels.
|
|
1555
|
+
* @default 24
|
|
1556
|
+
*/
|
|
1557
|
+
maxBarHeight?: number;
|
|
1549
1558
|
}
|
|
1550
1559
|
|
|
1551
1560
|
/**
|