@fluentui/react-charting 5.23.48 → 5.23.50

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 (56) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -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/utilities/SVGTooltipText.d.ts +10 -0
  18. package/lib/utilities/SVGTooltipText.js +20 -1
  19. package/lib/utilities/SVGTooltipText.js.map +1 -1
  20. package/lib/utilities/utilities.d.ts +2 -2
  21. package/lib/utilities/utilities.js +21 -4
  22. package/lib/utilities/utilities.js.map +1 -1
  23. package/lib-amd/components/CommonComponents/CartesianChart.base.js +5 -5
  24. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  25. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  26. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  27. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +7 -6
  28. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  29. package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +1 -1
  30. package/lib-amd/components/DeclarativeChart/PlotlySchema.js.map +1 -1
  31. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +6 -2
  32. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  33. package/lib-amd/utilities/SVGTooltipText.d.ts +10 -0
  34. package/lib-amd/utilities/SVGTooltipText.js +20 -2
  35. package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
  36. package/lib-amd/utilities/utilities.d.ts +2 -2
  37. package/lib-amd/utilities/utilities.js +20 -3
  38. package/lib-amd/utilities/utilities.js.map +1 -1
  39. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +5 -5
  40. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  41. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  42. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  43. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +7 -6
  44. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  45. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +1 -1
  46. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +1 -1
  47. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +6 -1
  48. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  49. package/lib-commonjs/utilities/SVGTooltipText.d.ts +10 -0
  50. package/lib-commonjs/utilities/SVGTooltipText.js +20 -1
  51. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  52. package/lib-commonjs/utilities/utilities.d.ts +2 -2
  53. package/lib-commonjs/utilities/utilities.js +20 -3
  54. package/lib-commonjs/utilities/utilities.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/components/CommonComponents/CartesianChart.types.ts +7 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,49 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 29 Jan 2025 07:20:11 GMT",
5
+ "date": "Fri, 31 Jan 2025 07:21:11 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.50",
7
+ "version": "5.23.50",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "120183316+srmukher@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "5a9a15f090aa7d01d5dc2f83ef7d22f91390eed2",
14
+ "comment": "Adding transform prop to svg rect"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 30 Jan 2025 07:20:49 GMT",
21
+ "tag": "@fluentui/react-charting_v5.23.49",
22
+ "version": "5.23.49",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "74965306+Anush2303@users.noreply.github.com",
27
+ "package": "@fluentui/react-charting",
28
+ "commit": "669de2d2ef02d7d455ab968e812f7cf6baf7ec28",
29
+ "comment": "Support rounded ticks in declarative charts"
30
+ },
31
+ {
32
+ "author": "120183316+srmukher@users.noreply.github.com",
33
+ "package": "@fluentui/react-charting",
34
+ "commit": "fa5549e7d9da4865ac079c8c7b284106813a7e82",
35
+ "comment": "Add background to the SVGTooltipText"
36
+ },
37
+ {
38
+ "author": "74965306+Anush2303@users.noreply.github.com",
39
+ "package": "@fluentui/react-charting",
40
+ "commit": "82cc27f5d68ca2fa30d906cd50889771e7a18ba8",
41
+ "comment": "Fix chart crashes of plotly examples"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "date": "Wed, 29 Jan 2025 07:21:15 GMT",
6
48
  "tag": "@fluentui/react-charting_v5.23.48",
7
49
  "version": "5.23.48",
8
50
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,32 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Wed, 29 Jan 2025 07:20:11 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 31 Jan 2025 07:21:11 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.50)
8
+
9
+ Fri, 31 Jan 2025 07:21:11 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.49..@fluentui/react-charting_v5.23.50)
11
+
12
+ ### Patches
13
+
14
+ - Adding transform prop to svg rect ([PR #33748](https://github.com/microsoft/fluentui/pull/33748) by 120183316+srmukher@users.noreply.github.com)
15
+
16
+ ## [5.23.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.49)
17
+
18
+ Thu, 30 Jan 2025 07:20:49 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.48..@fluentui/react-charting_v5.23.49)
20
+
21
+ ### Patches
22
+
23
+ - Support rounded ticks in declarative charts ([PR #33730](https://github.com/microsoft/fluentui/pull/33730) by 74965306+Anush2303@users.noreply.github.com)
24
+ - Add background to the SVGTooltipText ([PR #33696](https://github.com/microsoft/fluentui/pull/33696) by 120183316+srmukher@users.noreply.github.com)
25
+ - Fix chart crashes of plotly examples ([PR #33735](https://github.com/microsoft/fluentui/pull/33735) by 74965306+Anush2303@users.noreply.github.com)
26
+
7
27
  ## [5.23.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.48)
8
28
 
9
- Wed, 29 Jan 2025 07:20:11 GMT
29
+ Wed, 29 Jan 2025 07:21:15 GMT
10
30
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.47..@fluentui/react-charting_v5.23.48)
11
31
 
12
32
  ### 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
  */