@fluentui/react-charting 5.23.84 → 5.23.85

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 (50) hide show
  1. package/CHANGELOG.json +34 -1
  2. package/CHANGELOG.md +14 -2
  3. package/dist/react-charting.d.ts +7 -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 +2 -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 +2 -0
  10. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  11. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +8 -3
  12. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  13. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +5 -0
  14. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +78 -16
  15. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  16. package/lib/types/IDataPoint.d.ts +5 -0
  17. package/lib/types/IDataPoint.js.map +1 -1
  18. package/lib/utilities/utilities.d.ts +1 -0
  19. package/lib/utilities/utilities.js +114 -40
  20. package/lib/utilities/utilities.js.map +1 -1
  21. package/lib-amd/components/CommonComponents/CartesianChart.base.js +1 -1
  22. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  23. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +2 -0
  24. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  25. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +8 -3
  26. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  27. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +5 -0
  28. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +77 -16
  29. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  30. package/lib-amd/types/IDataPoint.d.ts +5 -0
  31. package/lib-amd/types/IDataPoint.js.map +1 -1
  32. package/lib-amd/utilities/utilities.d.ts +1 -0
  33. package/lib-amd/utilities/utilities.js +115 -41
  34. package/lib-amd/utilities/utilities.js.map +1 -1
  35. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +1 -1
  36. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  37. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +2 -0
  38. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  39. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +8 -3
  40. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  41. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +5 -0
  42. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +77 -15
  43. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  44. package/lib-commonjs/types/IDataPoint.d.ts +5 -0
  45. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  46. package/lib-commonjs/utilities/utilities.d.ts +1 -0
  47. package/lib-commonjs/utilities/utilities.js +116 -42
  48. package/lib-commonjs/utilities/utilities.js.map +1 -1
  49. package/package.json +2 -2
  50. package/src/components/CommonComponents/CartesianChart.types.ts +3 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,40 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 12 May 2025 07:20:11 GMT",
5
+ "date": "Tue, 13 May 2025 07:20:23 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.85",
7
+ "version": "5.23.85",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "anushgupta@microsoft.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "e12e4d0770fc6d526daf198e24e32885a0f5f190",
14
+ "comment": "make Legends dotted"
15
+ },
16
+ {
17
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "0b69287d85f25038a38488861a23f9bf6d4a28e3",
20
+ "comment": "feat(react-charting): Rehaul default date label formatting"
21
+ },
22
+ {
23
+ "author": "120183316+srmukher@users.noreply.github.com",
24
+ "package": "@fluentui/react-charting",
25
+ "commit": "5c55efc73f551bfdf70b5492da9e5b8a694f4653",
26
+ "comment": "fix(react-charting): Fixing overlapping bars in Horizontal bar chart with Axis"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-charting",
31
+ "comment": "Bump @fluentui/chart-utilities to v1.1.7",
32
+ "commit": "c885b843ef7ef362dd77bc71433815a26ad08574"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ {
38
+ "date": "Mon, 12 May 2025 07:20:31 GMT",
6
39
  "tag": "@fluentui/react-charting_v5.23.84",
7
40
  "version": "5.23.84",
8
41
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,24 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Mon, 12 May 2025 07:20:11 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 13 May 2025 07:20:23 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.85](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.85)
8
+
9
+ Tue, 13 May 2025 07:20:23 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.84..@fluentui/react-charting_v5.23.85)
11
+
12
+ ### Patches
13
+
14
+ - make Legends dotted ([PR #34419](https://github.com/microsoft/fluentui/pull/34419) by anushgupta@microsoft.com)
15
+ - feat(react-charting): Rehaul default date label formatting ([PR #34422](https://github.com/microsoft/fluentui/pull/34422) by 98592573+AtishayMsft@users.noreply.github.com)
16
+ - fix(react-charting): Fixing overlapping bars in Horizontal bar chart with Axis ([PR #34407](https://github.com/microsoft/fluentui/pull/34407) by 120183316+srmukher@users.noreply.github.com)
17
+ - Bump @fluentui/chart-utilities to v1.1.7 ([PR #34426](https://github.com/microsoft/fluentui/pull/34426) by beachball)
18
+
7
19
  ## [5.23.84](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.84)
8
20
 
9
- Mon, 12 May 2025 07:20:11 GMT
21
+ Mon, 12 May 2025 07:20:31 GMT
10
22
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.83..@fluentui/react-charting_v5.23.84)
11
23
 
12
24
  ### Patches
@@ -2643,6 +2643,11 @@ export declare interface ILineDataInVerticalStackedBarChart {
2643
2643
  y: number;
2644
2644
  color: string;
2645
2645
  legend: string;
2646
+ /**
2647
+ * The shape for the legend
2648
+ * default: show the rect legend
2649
+ */
2650
+ legendShape?: LegendShape;
2646
2651
  /**
2647
2652
  * Data to show in callout
2648
2653
  */
@@ -2821,6 +2826,8 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
2821
2826
  onChartMouseLeave?: () => void;
2822
2827
  /** Callback method to get extra margins for domain */
2823
2828
  getDomainMargins?: (containerWidth: number) => IMargins;
2829
+ /** Callback method to get extra margins for Y-axis domain */
2830
+ getYDomainMargins?: (containerHeight: number) => IMargins;
2824
2831
  /** Padding between each bar/line-point */
2825
2832
  xAxisInnerPadding?: number;
2826
2833
  /** Padding before first bar/line-point and after last bar/line-point */