@fluentui/react-charting 5.24.9 → 5.24.10
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 +28 -1
- package/CHANGELOG.md +13 -2
- package/dist/react-charting.d.ts +149 -0
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +40 -0
- package/lib/FunnelChart.d.ts +1 -0
- package/lib/FunnelChart.js +2 -0
- package/lib/FunnelChart.js.map +1 -0
- package/lib/components/DeclarativeChart/DeclarativeChart.js +7 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +120 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/FunnelChart/FunnelChart.base.d.ts +3 -0
- package/lib/components/FunnelChart/FunnelChart.base.js +264 -0
- package/lib/components/FunnelChart/FunnelChart.base.js.map +1 -0
- package/lib/components/FunnelChart/FunnelChart.d.ts +7 -0
- package/lib/components/FunnelChart/FunnelChart.js +9 -0
- package/lib/components/FunnelChart/FunnelChart.js.map +1 -0
- package/lib/components/FunnelChart/FunnelChart.styles.d.ts +2 -0
- package/lib/components/FunnelChart/FunnelChart.styles.js +38 -0
- package/lib/components/FunnelChart/FunnelChart.styles.js.map +1 -0
- package/lib/components/FunnelChart/FunnelChart.types.d.ts +139 -0
- package/lib/components/FunnelChart/FunnelChart.types.js +2 -0
- package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -0
- package/lib/components/FunnelChart/funnelGeometry.d.ts +77 -0
- package/lib/components/FunnelChart/funnelGeometry.js +194 -0
- package/lib/components/FunnelChart/funnelGeometry.js.map +1 -0
- package/lib/components/FunnelChart/index.d.ts +2 -0
- package/lib/components/FunnelChart/index.js +3 -0
- package/lib/components/FunnelChart/index.js.map +1 -0
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +2 -16
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.d.ts +2 -0
- package/lib/components/LineChart/LineChart.base.js +17 -10
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.types.d.ts +6 -0
- package/lib/components/LineChart/LineChart.types.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/utilities/utilities.d.ts +3 -0
- package/lib/utilities/utilities.js +14 -0
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/FunnelChart.d.ts +1 -0
- package/lib-amd/FunnelChart.js +6 -0
- package/lib-amd/FunnelChart.js.map +1 -0
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +6 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +122 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/FunnelChart/FunnelChart.base.d.ts +3 -0
- package/lib-amd/components/FunnelChart/FunnelChart.base.js +258 -0
- package/lib-amd/components/FunnelChart/FunnelChart.base.js.map +1 -0
- package/lib-amd/components/FunnelChart/FunnelChart.d.ts +7 -0
- package/lib-amd/components/FunnelChart/FunnelChart.js +11 -0
- package/lib-amd/components/FunnelChart/FunnelChart.js.map +1 -0
- package/lib-amd/components/FunnelChart/FunnelChart.styles.d.ts +2 -0
- package/lib-amd/components/FunnelChart/FunnelChart.styles.js +43 -0
- package/lib-amd/components/FunnelChart/FunnelChart.styles.js.map +1 -0
- package/lib-amd/components/FunnelChart/FunnelChart.types.d.ts +139 -0
- package/lib-amd/components/FunnelChart/FunnelChart.types.js +5 -0
- package/lib-amd/components/FunnelChart/FunnelChart.types.js.map +1 -0
- package/lib-amd/components/FunnelChart/funnelGeometry.d.ts +77 -0
- package/lib-amd/components/FunnelChart/funnelGeometry.js +204 -0
- package/lib-amd/components/FunnelChart/funnelGeometry.js.map +1 -0
- package/lib-amd/components/FunnelChart/index.d.ts +2 -0
- package/lib-amd/components/FunnelChart/index.js +7 -0
- package/lib-amd/components/FunnelChart/index.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -15
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +2 -0
- package/lib-amd/components/LineChart/LineChart.base.js +17 -10
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.types.d.ts +6 -0
- package/lib-amd/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-amd/index.d.ts +2 -0
- package/lib-amd/index.js +3 -2
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +3 -0
- package/lib-amd/utilities/utilities.js +17 -2
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/FunnelChart.d.ts +1 -0
- package/lib-commonjs/FunnelChart.js +5 -0
- package/lib-commonjs/FunnelChart.js.map +1 -0
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +6 -0
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +2 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +122 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.d.ts +3 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.js +267 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.d.ts +7 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.js +12 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.styles.d.ts +2 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.styles.js +42 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.styles.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.d.ts +139 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.js +3 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/funnelGeometry.d.ts +77 -0
- package/lib-commonjs/components/FunnelChart/funnelGeometry.js +202 -0
- package/lib-commonjs/components/FunnelChart/funnelGeometry.js.map +1 -0
- package/lib-commonjs/components/FunnelChart/index.d.ts +2 -0
- package/lib-commonjs/components/FunnelChart/index.js +6 -0
- package/lib-commonjs/components/FunnelChart/index.js.map +1 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +1 -15
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +2 -0
- package/lib-commonjs/components/LineChart/LineChart.base.js +17 -10
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.types.d.ts +6 -0
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -0
- package/lib-commonjs/index.js +3 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +3 -0
- package/lib-commonjs/utilities/utilities.js +17 -1
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +2 -2
- package/src/components/FunnelChart/FunnelChart.types.ts +153 -0
- package/src/components/LineChart/LineChart.types.ts +7 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,34 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 02 Jul 2025 07:19:48 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.10",
|
|
7
|
+
"version": "5.24.10",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "anushgupta@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "c9a5c5b2f5c2e568f8d184b5b712632ef11b617a",
|
|
14
|
+
"comment": "implement single value callout in line chart"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "email not defined",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "096558dbd97e7f91d95c43b7b0494f9af521819b",
|
|
20
|
+
"comment": "feat(react-charting): Support for Funnel Chart"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.20",
|
|
26
|
+
"commit": "096558dbd97e7f91d95c43b7b0494f9af521819b"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Mon, 30 Jun 2025 07:19:37 GMT",
|
|
6
33
|
"tag": "@fluentui/react-charting_v5.24.9",
|
|
7
34
|
"version": "5.24.9",
|
|
8
35
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 02 Jul 2025 07:19:48 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.10)
|
|
8
|
+
|
|
9
|
+
Wed, 02 Jul 2025 07:19:48 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.9..@fluentui/react-charting_v5.24.10)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- implement single value callout in line chart ([PR #34757](https://github.com/microsoft/fluentui/pull/34757) by anushgupta@microsoft.com)
|
|
15
|
+
- feat(react-charting): Support for Funnel Chart ([PR #34688](https://github.com/microsoft/fluentui/pull/34688) by email not defined)
|
|
16
|
+
- Bump @fluentui/chart-utilities to v1.1.20 ([PR #34688](https://github.com/microsoft/fluentui/pull/34688) by beachball)
|
|
17
|
+
|
|
7
18
|
## [5.24.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.9)
|
|
8
19
|
|
|
9
|
-
Mon, 30 Jun 2025 07:19:
|
|
20
|
+
Mon, 30 Jun 2025 07:19:37 GMT
|
|
10
21
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.8..@fluentui/react-charting_v5.24.9)
|
|
11
22
|
|
|
12
23
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -206,6 +206,12 @@ export declare interface DeclarativeChartProps extends React_2.RefAttributes<HTM
|
|
|
206
206
|
*/
|
|
207
207
|
export declare const DonutChart: React_2.FunctionComponent<IDonutChartProps>;
|
|
208
208
|
|
|
209
|
+
/**
|
|
210
|
+
* Funnelchart component.
|
|
211
|
+
* {@docCategory FunnelChart}
|
|
212
|
+
*/
|
|
213
|
+
export declare const FunnelChart: React_2.FunctionComponent<IFunnelChartProps>;
|
|
214
|
+
|
|
209
215
|
/**
|
|
210
216
|
* Gaugechart component.
|
|
211
217
|
* {@docCategory GaugeChart}
|
|
@@ -1285,6 +1291,143 @@ export declare interface IEventsAnnotationProps {
|
|
|
1285
1291
|
mergedLabel: (count: number) => string;
|
|
1286
1292
|
}
|
|
1287
1293
|
|
|
1294
|
+
/**
|
|
1295
|
+
* Data point for funnel chart
|
|
1296
|
+
* {@docCategory FunnelChart}
|
|
1297
|
+
*/
|
|
1298
|
+
declare interface IFunnelChartDataPoint {
|
|
1299
|
+
/**
|
|
1300
|
+
* Stage name or identifier
|
|
1301
|
+
*/
|
|
1302
|
+
stage: string | number;
|
|
1303
|
+
/**
|
|
1304
|
+
* Sub-values for stacked funnel charts
|
|
1305
|
+
* Each sub-value represents a category within the stage
|
|
1306
|
+
*/
|
|
1307
|
+
subValues?: Array<{
|
|
1308
|
+
category: string;
|
|
1309
|
+
value: number;
|
|
1310
|
+
color: string;
|
|
1311
|
+
}>;
|
|
1312
|
+
/**
|
|
1313
|
+
* Value for the stage (used for non-stacked funnel charts)
|
|
1314
|
+
*/
|
|
1315
|
+
value?: number;
|
|
1316
|
+
/**
|
|
1317
|
+
* Color for the stage (used for non-stacked funnel charts)
|
|
1318
|
+
*/
|
|
1319
|
+
color?: string;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Funnel Chart component props
|
|
1324
|
+
* {@docCategory FunnelChart}
|
|
1325
|
+
*/
|
|
1326
|
+
export declare interface IFunnelChartProps {
|
|
1327
|
+
/**
|
|
1328
|
+
* Data points for the funnel chart
|
|
1329
|
+
*/
|
|
1330
|
+
data: IFunnelChartDataPoint[];
|
|
1331
|
+
/**
|
|
1332
|
+
* Title for the chart
|
|
1333
|
+
*/
|
|
1334
|
+
chartTitle?: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Width of the chart
|
|
1337
|
+
*/
|
|
1338
|
+
width?: number;
|
|
1339
|
+
/**
|
|
1340
|
+
* Height of the chart
|
|
1341
|
+
*/
|
|
1342
|
+
height?: number;
|
|
1343
|
+
/**
|
|
1344
|
+
* Decides whether to show/hide legends
|
|
1345
|
+
* @defaultvalue false
|
|
1346
|
+
*/
|
|
1347
|
+
hideLegend?: boolean;
|
|
1348
|
+
/**
|
|
1349
|
+
* Props for the legends in the chart
|
|
1350
|
+
*/
|
|
1351
|
+
legendProps?: Partial<ILegendsProps>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Props for the callout in the chart
|
|
1354
|
+
*/
|
|
1355
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Theme (provided through customization)
|
|
1358
|
+
*/
|
|
1359
|
+
theme?: ITheme;
|
|
1360
|
+
/**
|
|
1361
|
+
* Call to provide customized styling that will layer on top of the variant rules
|
|
1362
|
+
*/
|
|
1363
|
+
styles?: IStyleFunctionOrObject<IFunnelChartStyleProps, IFunnelChartStyles>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Defines the culture to localize the numbers and dates
|
|
1366
|
+
*/
|
|
1367
|
+
culture?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Reference to the chart component
|
|
1370
|
+
*/
|
|
1371
|
+
componentRef?: React_2.RefObject<any>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Additional CSS class(es) to apply to the chart
|
|
1374
|
+
*/
|
|
1375
|
+
className?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* Orientation of the funnel chart
|
|
1378
|
+
* @defaultvalue 'horizontal'
|
|
1379
|
+
*/
|
|
1380
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Funnel Chart style properties
|
|
1385
|
+
* {@docCategory FunnelChart}
|
|
1386
|
+
*/
|
|
1387
|
+
export declare interface IFunnelChartStyleProps {
|
|
1388
|
+
/**
|
|
1389
|
+
* Theme (provided through customization)
|
|
1390
|
+
*/
|
|
1391
|
+
theme: ITheme;
|
|
1392
|
+
/**
|
|
1393
|
+
* Additional CSS class(es) to apply to the chart
|
|
1394
|
+
*/
|
|
1395
|
+
className?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* Width of the chart
|
|
1398
|
+
*/
|
|
1399
|
+
chartWidth: number;
|
|
1400
|
+
/**
|
|
1401
|
+
* Height of the chart
|
|
1402
|
+
*/
|
|
1403
|
+
chartHeight: number;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Funnel Chart styles
|
|
1408
|
+
* {@docCategory FunnelChart}
|
|
1409
|
+
*/
|
|
1410
|
+
export declare interface IFunnelChartStyles {
|
|
1411
|
+
/**
|
|
1412
|
+
* Styles for the root element
|
|
1413
|
+
*/
|
|
1414
|
+
root?: IStyle;
|
|
1415
|
+
/**
|
|
1416
|
+
* Styles for the chart
|
|
1417
|
+
*/
|
|
1418
|
+
chart?: IStyle;
|
|
1419
|
+
/**
|
|
1420
|
+
* Styles for text elements
|
|
1421
|
+
*/
|
|
1422
|
+
text?: IStyle;
|
|
1423
|
+
/**
|
|
1424
|
+
* Styles for sub-components
|
|
1425
|
+
*/
|
|
1426
|
+
subComponentStyles: {
|
|
1427
|
+
calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;
|
|
1428
|
+
};
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1288
1431
|
/**
|
|
1289
1432
|
* Gauge Chart properties
|
|
1290
1433
|
* {@docCategory GaugeChart}
|
|
@@ -2760,6 +2903,12 @@ export declare interface ILineChartProps extends ICartesianChartProps {
|
|
|
2760
2903
|
* @deprecated this prop no longer used to identify scatter mode
|
|
2761
2904
|
*/
|
|
2762
2905
|
lineMode?: 'default' | 'scatter';
|
|
2906
|
+
/**
|
|
2907
|
+
* To enable callout for individual line or complete stack.
|
|
2908
|
+
* @default false
|
|
2909
|
+
* @type \{boolean \}
|
|
2910
|
+
*/
|
|
2911
|
+
isCalloutForStack?: boolean;
|
|
2763
2912
|
}
|
|
2764
2913
|
|
|
2765
2914
|
/**
|