@fluentui/react-charting 5.23.47 → 5.23.49

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 (62) hide show
  1. package/CHANGELOG.json +55 -1
  2. package/CHANGELOG.md +24 -2
  3. package/dist/react-charting.d.ts +6 -1
  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 -1
  7. package/lib/components/CommonComponents/CartesianChart.base.js +5 -5
  8. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  9. package/lib/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  10. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  11. package/lib/components/DeclarativeChart/DeclarativeChart.js +7 -6
  12. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  13. package/lib/components/DeclarativeChart/PlotlySchema.d.ts +1 -1
  14. package/lib/components/DeclarativeChart/PlotlySchema.js.map +1 -1
  15. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +6 -1
  16. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  17. package/lib/components/DeclarativeChart/imageExporter.js +52 -44
  18. package/lib/components/DeclarativeChart/imageExporter.js.map +1 -1
  19. package/lib/utilities/SVGTooltipText.d.ts +10 -0
  20. package/lib/utilities/SVGTooltipText.js +20 -1
  21. package/lib/utilities/SVGTooltipText.js.map +1 -1
  22. package/lib/utilities/utilities.d.ts +2 -2
  23. package/lib/utilities/utilities.js +21 -4
  24. package/lib/utilities/utilities.js.map +1 -1
  25. package/lib-amd/components/CommonComponents/CartesianChart.base.js +5 -5
  26. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  27. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  28. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  29. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +7 -6
  30. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  31. package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +1 -1
  32. package/lib-amd/components/DeclarativeChart/PlotlySchema.js.map +1 -1
  33. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +6 -2
  34. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  35. package/lib-amd/components/DeclarativeChart/imageExporter.js +52 -45
  36. package/lib-amd/components/DeclarativeChart/imageExporter.js.map +1 -1
  37. package/lib-amd/utilities/SVGTooltipText.d.ts +10 -0
  38. package/lib-amd/utilities/SVGTooltipText.js +20 -2
  39. package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
  40. package/lib-amd/utilities/utilities.d.ts +2 -2
  41. package/lib-amd/utilities/utilities.js +20 -3
  42. package/lib-amd/utilities/utilities.js.map +1 -1
  43. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +5 -5
  44. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  45. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  46. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  47. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +7 -6
  48. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  49. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +1 -1
  50. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +1 -1
  51. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +6 -1
  52. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  53. package/lib-commonjs/components/DeclarativeChart/imageExporter.js +52 -44
  54. package/lib-commonjs/components/DeclarativeChart/imageExporter.js.map +1 -1
  55. package/lib-commonjs/utilities/SVGTooltipText.d.ts +10 -0
  56. package/lib-commonjs/utilities/SVGTooltipText.js +20 -1
  57. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  58. package/lib-commonjs/utilities/utilities.d.ts +2 -2
  59. package/lib-commonjs/utilities/utilities.js +20 -3
  60. package/lib-commonjs/utilities/utilities.js.map +1 -1
  61. package/package.json +3 -3
  62. package/src/components/CommonComponents/CartesianChart.types.ts +7 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,61 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 27 Jan 2025 07:20:16 GMT",
5
+ "date": "Thu, 30 Jan 2025 07:20:28 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.49",
7
+ "version": "5.23.49",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "74965306+Anush2303@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "669de2d2ef02d7d455ab968e812f7cf6baf7ec28",
14
+ "comment": "Support rounded ticks in declarative charts"
15
+ },
16
+ {
17
+ "author": "120183316+srmukher@users.noreply.github.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "fa5549e7d9da4865ac079c8c7b284106813a7e82",
20
+ "comment": "Add background to the SVGTooltipText"
21
+ },
22
+ {
23
+ "author": "74965306+Anush2303@users.noreply.github.com",
24
+ "package": "@fluentui/react-charting",
25
+ "commit": "82cc27f5d68ca2fa30d906cd50889771e7a18ba8",
26
+ "comment": "Fix chart crashes of plotly examples"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Wed, 29 Jan 2025 07:21:15 GMT",
33
+ "tag": "@fluentui/react-charting_v5.23.48",
34
+ "version": "5.23.48",
35
+ "comments": {
36
+ "patch": [
37
+ {
38
+ "author": "110246001+krkshitij@users.noreply.github.com",
39
+ "package": "@fluentui/react-charting",
40
+ "commit": "111bf937b3793db68e32a90774b04f3bf61f4be5",
41
+ "comment": "fix: use inline styles in SVG export for better compatibility"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@fluentui/react-charting",
46
+ "comment": "Bump @fluentui/theme-samples to v8.7.198",
47
+ "commit": "111bf937b3793db68e32a90774b04f3bf61f4be5"
48
+ },
49
+ {
50
+ "author": "beachball",
51
+ "package": "@fluentui/react-charting",
52
+ "comment": "Bump @fluentui/react to v8.122.9",
53
+ "commit": "111bf937b3793db68e32a90774b04f3bf61f4be5"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ {
59
+ "date": "Mon, 27 Jan 2025 07:20:35 GMT",
6
60
  "tag": "@fluentui/react-charting_v5.23.47",
7
61
  "version": "5.23.47",
8
62
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,34 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Mon, 27 Jan 2025 07:20:16 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 30 Jan 2025 07:20:28 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.49)
8
+
9
+ Thu, 30 Jan 2025 07:20:28 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.48..@fluentui/react-charting_v5.23.49)
11
+
12
+ ### Patches
13
+
14
+ - Support rounded ticks in declarative charts ([PR #33730](https://github.com/microsoft/fluentui/pull/33730) by 74965306+Anush2303@users.noreply.github.com)
15
+ - Add background to the SVGTooltipText ([PR #33696](https://github.com/microsoft/fluentui/pull/33696) by 120183316+srmukher@users.noreply.github.com)
16
+ - Fix chart crashes of plotly examples ([PR #33735](https://github.com/microsoft/fluentui/pull/33735) by 74965306+Anush2303@users.noreply.github.com)
17
+
18
+ ## [5.23.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.48)
19
+
20
+ Wed, 29 Jan 2025 07:21:15 GMT
21
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.47..@fluentui/react-charting_v5.23.48)
22
+
23
+ ### Patches
24
+
25
+ - fix: use inline styles in SVG export for better compatibility ([PR #33713](https://github.com/microsoft/fluentui/pull/33713) by 110246001+krkshitij@users.noreply.github.com)
26
+ - Bump @fluentui/theme-samples to v8.7.198 ([PR #33713](https://github.com/microsoft/fluentui/pull/33713) by beachball)
27
+ - Bump @fluentui/react to v8.122.9 ([PR #33713](https://github.com/microsoft/fluentui/pull/33713) by beachball)
28
+
7
29
  ## [5.23.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.47)
8
30
 
9
- Mon, 27 Jan 2025 07:20:16 GMT
31
+ Mon, 27 Jan 2025 07:20:35 GMT
10
32
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.46..@fluentui/react-charting_v5.23.47)
11
33
 
12
34
  ### Patches
@@ -562,6 +562,11 @@ export declare interface ICartesianChartProps {
562
562
  * Used for enabling negative values in Y axis.
563
563
  */
564
564
  supportNegativeData?: boolean;
565
+ /**
566
+ * @default false
567
+ * The prop used to decide rounded ticks on y axis
568
+ */
569
+ roundedTicks?: boolean;
565
570
  /**
566
571
  * Optional callback to access the IChart interface. Use this instead of ref for accessing
567
572
  * the public methods and properties of the component.
@@ -2794,7 +2799,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
2794
2799
  /**
2795
2800
  * Create the y-axis
2796
2801
  */
2797
- createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean, supportNegativeData?: boolean) => ScaleLinear<number, number, never>;
2802
+ createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean, supportNegativeData?: boolean, roundedTicks?: boolean) => ScaleLinear<number, number, never>;
2798
2803
  /**
2799
2804
  * Get the domain and range values
2800
2805
  */