@fluentui/react-charting 5.21.15 → 5.21.16

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 +16 -1
  2. package/CHANGELOG.md +11 -2
  3. package/dist/react-charting.d.ts +6 -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 +1 -0
  7. package/lib/components/AreaChart/AreaChart.base.d.ts +1 -0
  8. package/lib/components/AreaChart/AreaChart.base.js +7 -4
  9. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  10. package/lib/components/CommonComponents/CartesianChart.base.js +1 -1
  11. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  12. package/lib/components/CommonComponents/CartesianChart.types.d.ts +6 -0
  13. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  14. package/lib/components/LineChart/LineChart.base.js +6 -5
  15. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  16. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +13 -8
  17. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  18. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +15 -6
  19. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  20. package/lib/utilities/utilities.d.ts +2 -1
  21. package/lib/utilities/utilities.js +31 -17
  22. package/lib/utilities/utilities.js.map +1 -1
  23. package/lib/version.js +1 -1
  24. package/lib/version.js.map +1 -1
  25. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +1 -0
  26. package/lib-amd/components/AreaChart/AreaChart.base.js +6 -3
  27. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  28. package/lib-amd/components/CommonComponents/CartesianChart.base.js +1 -1
  29. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  30. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +6 -0
  31. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  32. package/lib-amd/components/LineChart/LineChart.base.js +5 -4
  33. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  34. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +11 -6
  35. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  36. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +13 -4
  37. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  38. package/lib-amd/utilities/utilities.d.ts +2 -1
  39. package/lib-amd/utilities/utilities.js +30 -15
  40. package/lib-amd/utilities/utilities.js.map +1 -1
  41. package/lib-amd/version.js +1 -1
  42. package/lib-amd/version.js.map +1 -1
  43. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +1 -0
  44. package/lib-commonjs/components/AreaChart/AreaChart.base.js +6 -3
  45. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  46. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +1 -1
  47. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  48. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +6 -0
  49. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  50. package/lib-commonjs/components/LineChart/LineChart.base.js +5 -4
  51. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  52. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +11 -6
  53. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  54. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +13 -4
  55. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  56. package/lib-commonjs/utilities/utilities.d.ts +2 -1
  57. package/lib-commonjs/utilities/utilities.js +30 -15
  58. package/lib-commonjs/utilities/utilities.js.map +1 -1
  59. package/lib-commonjs/version.js +1 -1
  60. package/lib-commonjs/version.js.map +1 -1
  61. package/package.json +1 -1
  62. 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, 30 May 2024 07:23:32 GMT",
5
+ "date": "Tue, 04 Jun 2024 07:24:09 GMT",
6
+ "tag": "@fluentui/react-charting_v5.21.16",
7
+ "version": "5.21.16",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "110246001+krkshitij@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "b857011bdff49fa057f95a16079cfe90431b4184",
14
+ "comment": "Add prop to toggle time display between UTC and local"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 30 May 2024 07:24:03 GMT",
6
21
  "tag": "@fluentui/react-charting_v5.21.15",
7
22
  "version": "5.21.15",
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, 30 May 2024 07:23:32 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 04 Jun 2024 07:24:09 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.21.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.21.16)
8
+
9
+ Tue, 04 Jun 2024 07:24:09 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.15..@fluentui/react-charting_v5.21.16)
11
+
12
+ ### Patches
13
+
14
+ - Add prop to toggle time display between UTC and local ([PR #31525](https://github.com/microsoft/fluentui/pull/31525) by 110246001+krkshitij@users.noreply.github.com)
15
+
7
16
  ## [5.21.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.21.15)
8
17
 
9
- Thu, 30 May 2024 07:23:32 GMT
18
+ Thu, 30 May 2024 07:24:03 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.14..@fluentui/react-charting_v5.21.15)
11
20
 
12
21
  ### Patches
@@ -487,6 +487,12 @@ export declare interface ICartesianChartProps {
487
487
  * If RTL is enabled, minimum left and right margins required for secondary y axis title is 60px
488
488
  */
489
489
  secondaryYAxistitle?: string;
490
+ /**
491
+ * Whether to use UTC time for axis scale, ticks, and the time display in callouts.
492
+ * When set to `true`, time is displayed equally, regardless of the user's timezone settings.
493
+ * @default true
494
+ */
495
+ useUTC?: boolean;
490
496
  }
491
497
 
492
498
  /**