@fluentui/react-charting 5.19.14 → 5.19.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 (47) hide show
  1. package/CHANGELOG.json +37 -1
  2. package/CHANGELOG.md +21 -2
  3. package/README.md +1 -1
  4. package/dist/react-charting.d.ts +15 -2
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/etc/react-charting.api.md +7 -2
  8. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -1
  9. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +105 -28
  10. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  11. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -3
  12. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +61 -38
  13. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  14. package/lib/types/IDataPoint.d.ts +14 -2
  15. package/lib/types/IDataPoint.js.map +1 -1
  16. package/lib/utilities/utilities.d.ts +14 -14
  17. package/lib/utilities/utilities.js +56 -38
  18. package/lib/utilities/utilities.js.map +1 -1
  19. package/lib/version.js +1 -1
  20. package/lib/version.js.map +1 -1
  21. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -1
  22. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +104 -27
  23. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  24. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -3
  25. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +60 -37
  26. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  27. package/lib-amd/types/IDataPoint.d.ts +14 -2
  28. package/lib-amd/types/IDataPoint.js.map +1 -1
  29. package/lib-amd/utilities/utilities.d.ts +14 -14
  30. package/lib-amd/utilities/utilities.js +58 -40
  31. package/lib-amd/utilities/utilities.js.map +1 -1
  32. package/lib-amd/version.js +1 -1
  33. package/lib-amd/version.js.map +1 -1
  34. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -1
  35. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +104 -27
  36. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  37. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +1 -3
  38. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +60 -37
  39. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  40. package/lib-commonjs/types/IDataPoint.d.ts +14 -2
  41. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  42. package/lib-commonjs/utilities/utilities.d.ts +14 -14
  43. package/lib-commonjs/utilities/utilities.js +58 -40
  44. package/lib-commonjs/utilities/utilities.js.map +1 -1
  45. package/lib-commonjs/version.js +1 -1
  46. package/lib-commonjs/version.js.map +1 -1
  47. package/package.json +3 -3
package/CHANGELOG.json CHANGED
@@ -2,7 +2,43 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 19 Jan 2024 07:27:32 GMT",
5
+ "date": "Tue, 23 Jan 2024 07:25:37 GMT",
6
+ "tag": "@fluentui/react-charting_v5.19.16",
7
+ "version": "5.19.16",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-charting",
13
+ "comment": "Bump @fluentui/theme-samples to v8.7.131",
14
+ "commit": "2314a84349b2e58b54ebe70d4408ef5fc060f43f"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-charting",
19
+ "comment": "Bump @fluentui/react to v8.115.0",
20
+ "commit": "2314a84349b2e58b54ebe70d4408ef5fc060f43f"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Mon, 22 Jan 2024 07:26:52 GMT",
27
+ "tag": "@fluentui/react-charting_v5.19.15",
28
+ "version": "5.19.15",
29
+ "comments": {
30
+ "patch": [
31
+ {
32
+ "author": "ankityadav@microsoft.com",
33
+ "package": "@fluentui/react-charting",
34
+ "commit": "a974ec235cdfe7fb4bd88b5d6b46e63d3dfdb8c6",
35
+ "comment": "Adding Date Axis support for Vertical Bar and Vertical Stacked Bar chart"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Fri, 19 Jan 2024 07:29:32 GMT",
6
42
  "tag": "@fluentui/react-charting_v5.19.14",
7
43
  "version": "5.19.14",
8
44
  "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, 19 Jan 2024 07:27:32 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 23 Jan 2024 07:25:37 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.19.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.16)
8
+
9
+ Tue, 23 Jan 2024 07:25:37 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.15..@fluentui/react-charting_v5.19.16)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/theme-samples to v8.7.131 ([PR #30221](https://github.com/microsoft/fluentui/pull/30221) by beachball)
15
+ - Bump @fluentui/react to v8.115.0 ([PR #30221](https://github.com/microsoft/fluentui/pull/30221) by beachball)
16
+
17
+ ## [5.19.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.15)
18
+
19
+ Mon, 22 Jan 2024 07:26:52 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.14..@fluentui/react-charting_v5.19.15)
21
+
22
+ ### Patches
23
+
24
+ - Adding Date Axis support for Vertical Bar and Vertical Stacked Bar chart ([PR #29981](https://github.com/microsoft/fluentui/pull/29981) by ankityadav@microsoft.com)
25
+
7
26
  ## [5.19.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.14)
8
27
 
9
- Fri, 19 Jan 2024 07:27:32 GMT
28
+ Fri, 19 Jan 2024 07:29:32 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.13..@fluentui/react-charting_v5.19.14)
11
30
 
12
31
  ### Patches
package/README.md CHANGED
@@ -121,7 +121,7 @@ Performance is measured and has been improved for the following scenarios.
121
121
  <tr>
122
122
  <td>7.</td>
123
123
  <td>1 Areachart with 30,000 datapoints</td>
124
- <td>49</td>
124
+ <td>70</td>
125
125
  </tr>
126
126
  <tr>
127
127
  <td>8.</td>
@@ -3358,7 +3358,7 @@ export declare interface IVerticalBarChartDataPoint {
3358
3358
  * If x is a number, then each y-coordinate is plotted at its x-coordinate.
3359
3359
  * If x is a string, then the data is evenly spaced along the x-axis.
3360
3360
  */
3361
- x: number | string;
3361
+ x: number | string | Date;
3362
3362
  /**
3363
3363
  * Dependent value of the data point, rendered along the y-axis.
3364
3364
  */
@@ -3672,6 +3672,19 @@ export declare interface IVerticalStackedBarChartStyles extends ICartesianChartS
3672
3672
  yAxisText?: IStyle;
3673
3673
  }
3674
3674
 
3675
+ /**
3676
+ * {@docCategory IChartData}
3677
+ */
3678
+ export declare interface IVerticalStackedBarDataPoint extends Omit<IDataPoint, 'x'> {
3679
+ /**
3680
+ * Independent value of the data point, rendered along the x-axis.
3681
+ * If x is a number, then each y-coordinate is plotted at its x-coordinate.
3682
+ * If x is a string, then the data is evenly spaced along the x-axis.
3683
+ * If data type on x is Date, then the data is spaced evenly by d3-scale.
3684
+ */
3685
+ x: number | string | Date;
3686
+ }
3687
+
3675
3688
  /**
3676
3689
  * {@docCategory IChartProps}
3677
3690
  */
@@ -3683,7 +3696,7 @@ export declare interface IVerticalStackedChartProps {
3683
3696
  /**
3684
3697
  * Data for x axis label for multistacked Vertical bar chart
3685
3698
  */
3686
- xAxisPoint: number | string;
3699
+ xAxisPoint: number | string | Date;
3687
3700
  /**
3688
3701
  * Callout data for x axis
3689
3702
  * This is an optional prop, If haven't given, legend will take