@fluentui/react-charting 5.13.7 → 5.13.9

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 (34) hide show
  1. package/CHANGELOG.json +40 -1
  2. package/CHANGELOG.md +21 -2
  3. package/README.md +4 -0
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/lib/components/CommonComponents/CartesianChart.base.js +2 -2
  7. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  8. package/lib/components/CommonComponents/CartesianChart.types.d.ts +4 -0
  9. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  10. package/lib/utilities/utilities.d.ts +1 -1
  11. package/lib/utilities/utilities.js +7 -2
  12. package/lib/utilities/utilities.js.map +1 -1
  13. package/lib/version.js +1 -1
  14. package/lib/version.js.map +1 -1
  15. package/lib-amd/components/CommonComponents/CartesianChart.base.js +2 -2
  16. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  17. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +4 -0
  18. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  19. package/lib-amd/utilities/utilities.d.ts +1 -1
  20. package/lib-amd/utilities/utilities.js +7 -2
  21. package/lib-amd/utilities/utilities.js.map +1 -1
  22. package/lib-amd/version.js +1 -1
  23. package/lib-amd/version.js.map +1 -1
  24. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +2 -2
  25. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  26. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +4 -0
  27. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  28. package/lib-commonjs/utilities/utilities.d.ts +1 -1
  29. package/lib-commonjs/utilities/utilities.js +7 -2
  30. package/lib-commonjs/utilities/utilities.js.map +1 -1
  31. package/lib-commonjs/version.js +1 -1
  32. package/lib-commonjs/version.js.map +1 -1
  33. package/package.json +3 -3
  34. package/src/components/CommonComponents/CartesianChart.types.ts +5 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,46 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 30 Sep 2022 07:37:21 GMT",
5
+ "date": "Tue, 04 Oct 2022 07:44:06 GMT",
6
+ "tag": "@fluentui/react-charting_v5.13.9",
7
+ "version": "5.13.9",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "atishay.jain@microsoft.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "4794f4f540c6df5dcf04fe12f18ee217084a1452",
14
+ "comment": {
15
+ "title": "",
16
+ "value": ""
17
+ }
18
+ },
19
+ {
20
+ "author": "beachball",
21
+ "package": "@fluentui/react-charting",
22
+ "comment": "Bump @fluentui/react to v8.97.2",
23
+ "commit": "0afe50e55c572348c93928dd9883cef537bb8101"
24
+ }
25
+ ]
26
+ }
27
+ },
28
+ {
29
+ "date": "Mon, 03 Oct 2022 07:37:49 GMT",
30
+ "tag": "@fluentui/react-charting_v5.13.8",
31
+ "version": "5.13.8",
32
+ "comments": {
33
+ "patch": [
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-charting",
37
+ "comment": "Bump @fluentui/react to v8.97.1",
38
+ "commit": "86b3133d97c177cac545b253deb11374ee829574"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Fri, 30 Sep 2022 07:38:09 GMT",
6
45
  "tag": "@fluentui/react-charting_v5.13.7",
7
46
  "version": "5.13.7",
8
47
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,31 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Fri, 30 Sep 2022 07:37:21 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 04 Oct 2022 07:44:06 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.13.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.13.9)
8
+
9
+ Tue, 04 Oct 2022 07:44:06 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.13.8..@fluentui/react-charting_v5.13.9)
11
+
12
+ ### Patches
13
+
14
+ - [object Object] ([PR #25040](https://github.com/microsoft/fluentui/pull/25040) by atishay.jain@microsoft.com)
15
+ - Bump @fluentui/react to v8.97.2 ([PR #25048](https://github.com/microsoft/fluentui/pull/25048) by beachball)
16
+
17
+ ## [5.13.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.13.8)
18
+
19
+ Mon, 03 Oct 2022 07:37:49 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.13.7..@fluentui/react-charting_v5.13.8)
21
+
22
+ ### Patches
23
+
24
+ - Bump @fluentui/react to v8.97.1 ([PR #25022](https://github.com/microsoft/fluentui/pull/25022) by beachball)
25
+
7
26
  ## [5.13.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.13.7)
8
27
 
9
- Fri, 30 Sep 2022 07:37:21 GMT
28
+ Fri, 30 Sep 2022 07:38:09 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.13.6..@fluentui/react-charting_v5.13.7)
11
30
 
12
31
  ### Patches
package/README.md CHANGED
@@ -99,11 +99,15 @@ The charting components are built using following building blocks.
99
99
 
100
100
  - Axis localization
101
101
  The axes support 2 ways of localization.
102
+
102
103
  1. Javascript provided inbuilt localization for numeric and date axis. Specify the culture and dateLocalizeOptions for date axis to define target localization. Refer the [javascript localization guide](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString) for usage.
103
104
  2. Custom locale definition: The consumer of the library can specify a custom locale definition as supported by d3 (like [this](https://github.com/d3/d3-time-format/blob/main/locale/en-US.json)). The date axis will use the date range and the multiformat specified in the definition to determine the correct format to show in the ticks. For example - If the date range is in days then the axis will show hourly ticks. If the date range spans across months then the axis will show months in tick labels and so on.
104
105
  Specify the custom locale definition in the timeFormatLocale prop.
105
106
  Refer to the Custom Locale Date Axis example in line chart for sample usage.
106
107
 
108
+ - Date axis formatting
109
+ The date axis can be custom formatted using the customDateTimeFormatter prop.
110
+
107
111
  - Event annotations (Available in line charts).
108
112
 
109
113
  - Data can be annotated using vertical lines representing the events of interest. See [line chart with events](https://fluentuipr.z22.web.core.windows.net/heads/master/react-charting/demo/index.html#/examples/linechart#Variants) for example.