@fluentui/react-charting 5.25.4 → 5.25.5

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.
Files changed (112) hide show
  1. package/CHANGELOG.json +48 -1
  2. package/CHANGELOG.md +15 -2
  3. package/dist/react-charting.d.ts +36 -0
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/etc/react-charting.api.md +8 -0
  7. package/lib/components/CommonComponents/CartesianChart.base.js +1 -1
  8. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  9. package/lib/components/CommonComponents/CartesianChart.types.d.ts +4 -0
  10. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  11. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +199 -61
  12. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  13. package/lib/components/DonutChart/Pie/Pie.js +4 -2
  14. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  15. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +4 -0
  16. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  17. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +2 -0
  18. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +55 -5
  19. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  20. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -1
  21. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  22. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -0
  23. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  24. package/lib/components/LineChart/LineChart.base.js +1 -1
  25. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  26. package/lib/components/SankeyChart/SankeyChart.base.js +1 -1
  27. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
  28. package/lib/components/ScatterChart/ScatterChart.base.js +13 -4
  29. package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
  30. package/lib/components/ScatterChart/ScatterChart.types.d.ts +4 -0
  31. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  32. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +11 -7
  33. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  34. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +18 -5
  35. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  36. package/lib/types/IDataPoint.d.ts +19 -0
  37. package/lib/types/IDataPoint.js.map +1 -1
  38. package/lib/utilities/utilities.d.ts +4 -2
  39. package/lib/utilities/utilities.js +22 -7
  40. package/lib/utilities/utilities.js.map +1 -1
  41. package/lib-amd/components/CommonComponents/CartesianChart.base.js +1 -1
  42. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  43. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +4 -0
  44. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  45. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +199 -61
  46. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  47. package/lib-amd/components/DonutChart/Pie/Pie.js +4 -2
  48. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
  49. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +4 -0
  50. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  51. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +2 -0
  52. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +54 -4
  53. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  54. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -2
  55. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  56. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -0
  57. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  58. package/lib-amd/components/LineChart/LineChart.base.js +1 -1
  59. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  60. package/lib-amd/components/SankeyChart/SankeyChart.base.js +1 -1
  61. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
  62. package/lib-amd/components/ScatterChart/ScatterChart.base.js +13 -4
  63. package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
  64. package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +4 -0
  65. package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -1
  66. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +11 -7
  67. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  68. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +18 -5
  69. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  70. package/lib-amd/types/IDataPoint.d.ts +19 -0
  71. package/lib-amd/types/IDataPoint.js.map +1 -1
  72. package/lib-amd/utilities/utilities.d.ts +4 -2
  73. package/lib-amd/utilities/utilities.js +22 -7
  74. package/lib-amd/utilities/utilities.js.map +1 -1
  75. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +1 -1
  76. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  77. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +4 -0
  78. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  79. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +199 -61
  80. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  81. package/lib-commonjs/components/DonutChart/Pie/Pie.js +4 -2
  82. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  83. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +4 -0
  84. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  85. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +2 -0
  86. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +54 -4
  87. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  88. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -1
  89. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  90. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +9 -0
  91. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  92. package/lib-commonjs/components/LineChart/LineChart.base.js +1 -1
  93. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  94. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +1 -1
  95. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  96. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +13 -4
  97. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
  98. package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +4 -0
  99. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  100. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +11 -7
  101. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  102. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +18 -5
  103. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  104. package/lib-commonjs/types/IDataPoint.d.ts +19 -0
  105. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  106. package/lib-commonjs/utilities/utilities.d.ts +4 -2
  107. package/lib-commonjs/utilities/utilities.js +22 -7
  108. package/lib-commonjs/utilities/utilities.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/components/CommonComponents/CartesianChart.types.ts +5 -0
  111. package/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.ts +11 -0
  112. package/src/components/ScatterChart/ScatterChart.types.ts +5 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,54 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 10 Dec 2025 06:25:31 GMT",
5
+ "date": "Mon, 05 Jan 2026 14:46:56 GMT",
6
+ "tag": "@fluentui/react-charting_v5.25.5",
7
+ "version": "5.25.5",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "vgenaev@gmail.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "64213a1e9fbc15fa1c3b546b3454d3cb9f5a01a6",
14
+ "comment": "chore: migrate to eslint flat configs"
15
+ }
16
+ ],
17
+ "patch": [
18
+ {
19
+ "author": "anushgupta@microsoft.com",
20
+ "package": "@fluentui/react-charting",
21
+ "commit": "569edee37b5abbc3c4816c9d8e6ad71a013252e4",
22
+ "comment": "enable custom callout in scatter chart"
23
+ },
24
+ {
25
+ "author": "anushgupta@microsoft.com",
26
+ "package": "@fluentui/react-charting",
27
+ "commit": "5f4d3c4103d008d6a85302f0be6cd7cb5b661473",
28
+ "comment": "port changes from v9 to v8 using custom github agent"
29
+ },
30
+ {
31
+ "author": "anushgupta@microsoft.com",
32
+ "package": "@fluentui/react-charting",
33
+ "commit": "85918ce87ffe7b40c517f2a38b5a1f9e34cc96c3",
34
+ "comment": "support barlabels in declarative HBC"
35
+ },
36
+ {
37
+ "author": "anushgupta@microsoft.com",
38
+ "package": "@fluentui/react-charting",
39
+ "commit": "942915fca07e01bf52c68e533e7a9838e7fa8f94",
40
+ "comment": "enable multiplot for table, gauge and funnel chart"
41
+ },
42
+ {
43
+ "author": "anushgupta@microsoft.com",
44
+ "package": "@fluentui/react-charting",
45
+ "commit": "29998d3827059ba391ffdb47ecd9b8f9d12d9025",
46
+ "comment": "fix percentage label issue in donut, vbc, vsbc and heatmap chart"
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "date": "Wed, 10 Dec 2025 06:27:53 GMT",
6
53
  "tag": "@fluentui/react-charting_v5.25.4",
7
54
  "version": "5.25.4",
8
55
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Wed, 10 Dec 2025 06:25:31 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 05 Jan 2026 14:46:56 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.25.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.5)
8
+
9
+ Mon, 05 Jan 2026 14:46:56 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.4..@fluentui/react-charting_v5.25.5)
11
+
12
+ ### Patches
13
+
14
+ - enable custom callout in scatter chart ([PR #35565](https://github.com/microsoft/fluentui/pull/35565) by anushgupta@microsoft.com)
15
+ - port changes from v9 to v8 using custom github agent ([PR #35595](https://github.com/microsoft/fluentui/pull/35595) by anushgupta@microsoft.com)
16
+ - support barlabels in declarative HBC ([PR #35598](https://github.com/microsoft/fluentui/pull/35598) by anushgupta@microsoft.com)
17
+ - enable multiplot for table, gauge and funnel chart ([PR #35575](https://github.com/microsoft/fluentui/pull/35575) by anushgupta@microsoft.com)
18
+ - fix percentage label issue in donut, vbc, vsbc and heatmap chart ([PR #35597](https://github.com/microsoft/fluentui/pull/35597) by anushgupta@microsoft.com)
19
+
7
20
  ## [5.25.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.4)
8
21
 
9
- Wed, 10 Dec 2025 06:25:31 GMT
22
+ Wed, 10 Dec 2025 06:27:53 GMT
10
23
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.3..@fluentui/react-charting_v5.25.4)
11
24
 
12
25
  ### Patches
@@ -741,6 +741,10 @@ export declare interface ICartesianChartProps {
741
741
  * maximum data value point in y-axis
742
742
  */
743
743
  yMaxValue?: number;
744
+ /**
745
+ * minimum data value point in x-axis (for numeric x-axis)
746
+ */
747
+ xMinValue?: number;
744
748
  /**
745
749
  * maximum data value point in x-axis
746
750
  */
@@ -2366,6 +2370,10 @@ export declare interface IGVBarChartSeriesPoint {
2366
2370
  * Accessibility data for callout
2367
2371
  */
2368
2372
  callOutAccessibilityData?: IAccessibilityProps;
2373
+ /**
2374
+ * Label to display on the bar
2375
+ */
2376
+ barLabel?: string;
2369
2377
  /**
2370
2378
  * Whether to use the secondary y scale or not
2371
2379
  * False by default.
@@ -2783,6 +2791,10 @@ export declare interface IHorizontalBarChartWithAxisDataPoint {
2783
2791
  * This is an optional prop, If haven't given data will take
2784
2792
  */
2785
2793
  yAxisCalloutData?: string;
2794
+ /**
2795
+ * Label to display on the bar
2796
+ */
2797
+ barLabel?: string;
2786
2798
  /**
2787
2799
  * onClick action for each datapoint in the chart
2788
2800
  */
@@ -2847,6 +2859,11 @@ export declare interface IHorizontalBarChartWithAxisProps extends ICartesianChar
2847
2859
  * The prop used to enable rounded corners for the bars.
2848
2860
  */
2849
2861
  roundCorners?: boolean;
2862
+ /**
2863
+ * Prop to hide the bar labels
2864
+ * @default false
2865
+ */
2866
+ hideLabels?: boolean;
2850
2867
  }
2851
2868
 
2852
2869
  /**
@@ -2904,6 +2921,10 @@ export declare interface IHorizontalBarChartWithAxisStyles extends ICartesianCha
2904
2921
  * Style to change the opacity of bars in dataviz when we hover on a single bar or legends
2905
2922
  */
2906
2923
  opacityChangeOnHover: IStyle;
2924
+ /**
2925
+ * Style for the labels displayed on the bars.
2926
+ */
2927
+ barLabel?: IStyle;
2907
2928
  }
2908
2929
 
2909
2930
  /**
@@ -4275,6 +4296,10 @@ export declare interface IScatterChartProps extends ICartesianChartProps {
4275
4296
  * Define a custom callout renderer for a data point
4276
4297
  */
4277
4298
  onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
4299
+ /**
4300
+ * Define a custom callout renderer for a stack; default is to render per data point
4301
+ */
4302
+ onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;
4278
4303
  /**
4279
4304
  * Callback for getting callout description message
4280
4305
  */
@@ -4324,6 +4349,7 @@ declare interface ISLinkExtra {
4324
4349
  */
4325
4350
  value: number;
4326
4351
  unnormalizedValue?: number;
4352
+ color?: string;
4327
4353
  }
4328
4354
 
4329
4355
  declare interface ISNodeExtra {
@@ -4881,6 +4907,11 @@ export declare interface IVerticalBarChartDataPoint {
4881
4907
  * Accessibility data for callout
4882
4908
  */
4883
4909
  callOutAccessibilityData?: IAccessibilityProps;
4910
+ /**
4911
+ * Label to display on the bar
4912
+ * This is an optional prop that can be used to show custom text on bars
4913
+ */
4914
+ barLabel?: string;
4884
4915
  }
4885
4916
 
4886
4917
  /**
@@ -5302,6 +5333,11 @@ export declare interface IVSChartDataPoint {
5302
5333
  * Accessibility data for callout
5303
5334
  */
5304
5335
  callOutAccessibilityData?: IAccessibilityProps;
5336
+ /**
5337
+ * Label to display on the bar
5338
+ * This is an optional prop that can be used to show custom text on bars
5339
+ */
5340
+ barLabel?: string;
5305
5341
  }
5306
5342
 
5307
5343
  declare interface IYAxisParams extends AxisProps {