@fluentui/react-charting 5.23.20 → 5.23.21

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 (47) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +11 -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 +2 -2
  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/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  12. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +70 -41
  13. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  14. package/lib/utilities/test-data.d.ts +16 -0
  15. package/lib/utilities/test-data.js +52 -0
  16. package/lib/utilities/test-data.js.map +1 -1
  17. package/lib/utilities/utilities.d.ts +1 -1
  18. package/lib/utilities/utilities.js +29 -4
  19. package/lib/utilities/utilities.js.map +1 -1
  20. package/lib-amd/components/CommonComponents/CartesianChart.base.js +2 -2
  21. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  22. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  23. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  24. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  25. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +70 -41
  26. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  27. package/lib-amd/utilities/test-data.d.ts +16 -0
  28. package/lib-amd/utilities/test-data.js +53 -1
  29. package/lib-amd/utilities/test-data.js.map +1 -1
  30. package/lib-amd/utilities/utilities.d.ts +1 -1
  31. package/lib-amd/utilities/utilities.js +29 -4
  32. package/lib-amd/utilities/utilities.js.map +1 -1
  33. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +2 -2
  34. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  35. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +6 -1
  36. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  37. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  38. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +70 -41
  39. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  40. package/lib-commonjs/utilities/test-data.d.ts +16 -0
  41. package/lib-commonjs/utilities/test-data.js +53 -1
  42. package/lib-commonjs/utilities/test-data.js.map +1 -1
  43. package/lib-commonjs/utilities/utilities.d.ts +1 -1
  44. package/lib-commonjs/utilities/utilities.js +29 -4
  45. package/lib-commonjs/utilities/utilities.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/components/CommonComponents/CartesianChart.types.ts +7 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,22 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 05 Dec 2024 07:23:25 GMT",
5
+ "date": "Fri, 06 Dec 2024 07:20:55 GMT",
6
+ "tag": "@fluentui/react-charting_v5.23.21",
7
+ "version": "5.23.21",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "74965306+Anush2303@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "f42240c92b9d09297a5cb21b195604ed7526d192",
14
+ "comment": "support negative y values in Vertical Bar chart"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 05 Dec 2024 07:23:45 GMT",
6
21
  "tag": "@fluentui/react-charting_v5.23.20",
7
22
  "version": "5.23.20",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Thu, 05 Dec 2024 07:23:25 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 06 Dec 2024 07:20:55 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.23.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.21)
8
+
9
+ Fri, 06 Dec 2024 07:20:55 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.20..@fluentui/react-charting_v5.23.21)
11
+
12
+ ### Patches
13
+
14
+ - support negative y values in Vertical Bar chart ([PR #33377](https://github.com/microsoft/fluentui/pull/33377) by 74965306+Anush2303@users.noreply.github.com)
15
+
7
16
  ## [5.23.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.20)
8
17
 
9
- Thu, 05 Dec 2024 07:23:25 GMT
18
+ Thu, 05 Dec 2024 07:23:45 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.19..@fluentui/react-charting_v5.23.20)
11
20
 
12
21
  ### Patches
@@ -546,6 +546,11 @@ export declare interface ICartesianChartProps {
546
546
  * @default true
547
547
  */
548
548
  useUTC?: boolean;
549
+ /**
550
+ * @default false
551
+ * Used for enabling negative values in Y axis.
552
+ */
553
+ supportNegativeData?: boolean;
549
554
  }
550
555
 
551
556
  /**
@@ -2687,7 +2692,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
2687
2692
  /**
2688
2693
  * Create the y-axis
2689
2694
  */
2690
- createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean) => ScaleLinear<number, number, never>;
2695
+ createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean, supportNegativeData?: boolean) => ScaleLinear<number, number, never>;
2691
2696
  /**
2692
2697
  * Get the domain and range values
2693
2698
  */