@fluentui/react-charting 5.24.3 → 5.24.5

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 (170) hide show
  1. package/CHANGELOG.json +85 -1
  2. package/CHANGELOG.md +29 -2
  3. package/config/tests.js +0 -12
  4. package/dist/react-charting.d.ts +38 -1
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/etc/react-charting.api.md +8 -1
  8. package/lib/components/AreaChart/AreaChart.base.d.ts +1 -0
  9. package/lib/components/AreaChart/AreaChart.base.js +4 -1
  10. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  11. package/lib/components/CommonComponents/CartesianChart.base.js +14 -13
  12. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  13. package/lib/components/CommonComponents/CartesianChart.styles.js +41 -37
  14. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  15. package/lib/components/CommonComponents/CartesianChart.types.d.ts +12 -2
  16. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  17. package/lib/components/DeclarativeChart/DeclarativeChart.js +38 -16
  18. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  19. package/lib/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
  20. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +9 -1
  21. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  22. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +13 -3
  23. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +276 -199
  24. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  25. package/lib/components/DonutChart/DonutChart.base.js +1 -0
  26. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  27. package/lib/components/DonutChart/DonutChart.styles.js +18 -0
  28. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
  29. package/lib/components/DonutChart/DonutChart.types.d.ts +4 -0
  30. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  31. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
  32. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +25 -4
  33. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  34. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
  35. package/lib/components/HeatMapChart/HeatMapChart.base.js +95 -37
  36. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  37. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
  38. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +24 -3
  39. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  40. package/lib/components/ScatterChart/ScatterChart.base.js +84 -55
  41. package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
  42. package/lib/components/ScatterChart/ScatterChart.styles.js +12 -0
  43. package/lib/components/ScatterChart/ScatterChart.styles.js.map +1 -1
  44. package/lib/components/ScatterChart/ScatterChart.types.d.ts +5 -0
  45. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  46. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  47. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +30 -7
  48. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  49. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
  50. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +51 -32
  51. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  52. package/lib/index.d.ts +1 -1
  53. package/lib/index.js.map +1 -1
  54. package/lib/types/IDataPoint.d.ts +18 -0
  55. package/lib/types/IDataPoint.js.map +1 -1
  56. package/lib/utilities/SVGTooltipText.js +3 -3
  57. package/lib/utilities/SVGTooltipText.js.map +1 -1
  58. package/lib/utilities/utilities.d.ts +6 -3
  59. package/lib/utilities/utilities.js +58 -29
  60. package/lib/utilities/utilities.js.map +1 -1
  61. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +1 -0
  62. package/lib-amd/components/AreaChart/AreaChart.base.js +4 -1
  63. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  64. package/lib-amd/components/CommonComponents/CartesianChart.base.js +14 -13
  65. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  66. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +41 -37
  67. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  68. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +12 -2
  69. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  70. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +37 -15
  71. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  72. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
  73. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js +11 -2
  74. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  75. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +13 -3
  76. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +276 -199
  77. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  78. package/lib-amd/components/DonutChart/DonutChart.base.js +1 -0
  79. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  80. package/lib-amd/components/DonutChart/DonutChart.styles.js +17 -1
  81. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -1
  82. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +4 -0
  83. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  84. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
  85. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +24 -3
  86. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  87. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
  88. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +94 -36
  89. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  90. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
  91. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +23 -2
  92. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  93. package/lib-amd/components/ScatterChart/ScatterChart.base.js +83 -54
  94. package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
  95. package/lib-amd/components/ScatterChart/ScatterChart.styles.js +12 -1
  96. package/lib-amd/components/ScatterChart/ScatterChart.styles.js.map +1 -1
  97. package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +5 -0
  98. package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -1
  99. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  100. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +29 -6
  101. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  102. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
  103. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +50 -31
  104. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  105. package/lib-amd/index.d.ts +1 -1
  106. package/lib-amd/index.js.map +1 -1
  107. package/lib-amd/types/IDataPoint.d.ts +18 -0
  108. package/lib-amd/types/IDataPoint.js.map +1 -1
  109. package/lib-amd/utilities/SVGTooltipText.js +3 -3
  110. package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
  111. package/lib-amd/utilities/utilities.d.ts +6 -3
  112. package/lib-amd/utilities/utilities.js +59 -30
  113. package/lib-amd/utilities/utilities.js.map +1 -1
  114. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +1 -0
  115. package/lib-commonjs/components/AreaChart/AreaChart.base.js +4 -1
  116. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  117. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +14 -13
  118. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  119. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +41 -37
  120. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  121. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +12 -2
  122. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  123. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +37 -15
  124. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  125. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.d.ts +2 -1
  126. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +11 -2
  127. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  128. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +13 -3
  129. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +276 -198
  130. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  131. package/lib-commonjs/components/DonutChart/DonutChart.base.js +1 -0
  132. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  133. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +18 -0
  134. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
  135. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +4 -0
  136. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  137. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +2 -0
  138. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +24 -3
  139. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  140. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +7 -0
  141. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +94 -36
  142. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  143. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +3 -0
  144. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +23 -2
  145. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  146. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +83 -54
  147. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
  148. package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js +12 -0
  149. package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js.map +1 -1
  150. package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +5 -0
  151. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  152. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +2 -0
  153. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +29 -6
  154. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  155. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +3 -0
  156. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +50 -31
  157. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  158. package/lib-commonjs/index.d.ts +1 -1
  159. package/lib-commonjs/index.js.map +1 -1
  160. package/lib-commonjs/types/IDataPoint.d.ts +18 -0
  161. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  162. package/lib-commonjs/utilities/SVGTooltipText.js +3 -3
  163. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  164. package/lib-commonjs/utilities/utilities.d.ts +6 -3
  165. package/lib-commonjs/utilities/utilities.js +59 -30
  166. package/lib-commonjs/utilities/utilities.js.map +1 -1
  167. package/package.json +2 -2
  168. package/src/components/CommonComponents/CartesianChart.types.ts +20 -1
  169. package/src/components/DonutChart/DonutChart.types.ts +5 -0
  170. package/src/components/ScatterChart/ScatterChart.types.ts +7 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,91 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 12 Jun 2025 07:19:48 GMT",
5
+ "date": "Tue, 17 Jun 2025 07:20:06 GMT",
6
+ "tag": "@fluentui/react-charting_v5.24.5",
7
+ "version": "5.24.5",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "0e2b75a2b9f3108726359976929d2224e989689c",
14
+ "comment": "fix(react-charting): Support axis tick formatting and y axis range"
15
+ },
16
+ {
17
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "c47fda213ca7f4b7fc81298a59cc19180408dad5",
20
+ "comment": "chore(react-charting): Remove enzyme react 17 test adapter"
21
+ },
22
+ {
23
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
24
+ "package": "@fluentui/react-charting",
25
+ "commit": "342462151232a909b98d049ec70e356b7470780b",
26
+ "comment": "feat(react-charting): Support non plot and composite multiplots"
27
+ },
28
+ {
29
+ "author": "98592573+AtishayMsft@users.noreply.github.com",
30
+ "package": "@fluentui/react-charting",
31
+ "commit": "654d9e63cf2ea8cda5279677b5535c047a5a0de4",
32
+ "comment": "fix(react-charting): Fix svg tooltip background alignment"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-charting",
37
+ "comment": "Bump @fluentui/chart-utilities to v1.1.18",
38
+ "commit": "654d9e63cf2ea8cda5279677b5535c047a5a0de4"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Fri, 13 Jun 2025 07:21:01 GMT",
45
+ "tag": "@fluentui/react-charting_v5.24.4",
46
+ "version": "5.24.4",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "120183316+srmukher@users.noreply.github.com",
51
+ "package": "@fluentui/react-charting",
52
+ "commit": "fc903495e657ec509ad87d4139c259e3ca9c9071",
53
+ "comment": "fix(react-charting): Support for using opacity provided in schema for decalarative charts"
54
+ },
55
+ {
56
+ "author": "kumarkshitij@microsoft.com",
57
+ "package": "@fluentui/react-charting",
58
+ "commit": "116903a192cd16054d2ca2a8f18d6d623fed5384",
59
+ "comment": "feat: add support for ordering string tick labels on x and y axes"
60
+ },
61
+ {
62
+ "author": "120183316+srmukher@users.noreply.github.com",
63
+ "package": "@fluentui/react-charting",
64
+ "commit": "a73394f7914fc6051e0e6567caa89b6ff6c9799d",
65
+ "comment": "fix(react-charting): Fixing color, marker size, yaxis issues for Scatter chart"
66
+ },
67
+ {
68
+ "author": "120183316+srmukher@users.noreply.github.com",
69
+ "package": "@fluentui/react-charting",
70
+ "commit": "e5291abb46493301e00b72a3c65694e21a6f8793",
71
+ "comment": "fix(react-charting): Fixing resolve color issue"
72
+ },
73
+ {
74
+ "author": "120183316+srmukher@users.noreply.github.com",
75
+ "package": "@fluentui/react-charting",
76
+ "commit": "1023a785befbd8f6e2b20b133e7f4a2e1d5ee639",
77
+ "comment": "fix(react-charting): Fixing color issue for GVBC"
78
+ },
79
+ {
80
+ "author": "beachball",
81
+ "package": "@fluentui/react-charting",
82
+ "comment": "Bump @fluentui/chart-utilities to v1.1.17",
83
+ "commit": "116903a192cd16054d2ca2a8f18d6d623fed5384"
84
+ }
85
+ ]
86
+ }
87
+ },
88
+ {
89
+ "date": "Thu, 12 Jun 2025 07:20:13 GMT",
6
90
  "tag": "@fluentui/react-charting_v5.24.3",
7
91
  "version": "5.24.3",
8
92
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,39 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Thu, 12 Jun 2025 07:19:48 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 17 Jun 2025 07:20:06 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.24.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.5)
8
+
9
+ Tue, 17 Jun 2025 07:20:06 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.4..@fluentui/react-charting_v5.24.5)
11
+
12
+ ### Patches
13
+
14
+ - fix(react-charting): Support axis tick formatting and y axis range ([PR #34653](https://github.com/microsoft/fluentui/pull/34653) by 98592573+AtishayMsft@users.noreply.github.com)
15
+ - chore(react-charting): Remove enzyme react 17 test adapter ([PR #34595](https://github.com/microsoft/fluentui/pull/34595) by 98592573+AtishayMsft@users.noreply.github.com)
16
+ - feat(react-charting): Support non plot and composite multiplots ([PR #34652](https://github.com/microsoft/fluentui/pull/34652) by 98592573+AtishayMsft@users.noreply.github.com)
17
+ - fix(react-charting): Fix svg tooltip background alignment ([PR #34663](https://github.com/microsoft/fluentui/pull/34663) by 98592573+AtishayMsft@users.noreply.github.com)
18
+ - Bump @fluentui/chart-utilities to v1.1.18 ([PR #34663](https://github.com/microsoft/fluentui/pull/34663) by beachball)
19
+
20
+ ## [5.24.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.4)
21
+
22
+ Fri, 13 Jun 2025 07:21:01 GMT
23
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.3..@fluentui/react-charting_v5.24.4)
24
+
25
+ ### Patches
26
+
27
+ - fix(react-charting): Support for using opacity provided in schema for decalarative charts ([PR #34635](https://github.com/microsoft/fluentui/pull/34635) by 120183316+srmukher@users.noreply.github.com)
28
+ - feat: add support for ordering string tick labels on x and y axes ([PR #34623](https://github.com/microsoft/fluentui/pull/34623) by kumarkshitij@microsoft.com)
29
+ - fix(react-charting): Fixing color, marker size, yaxis issues for Scatter chart ([PR #34628](https://github.com/microsoft/fluentui/pull/34628) by 120183316+srmukher@users.noreply.github.com)
30
+ - fix(react-charting): Fixing resolve color issue ([PR #34636](https://github.com/microsoft/fluentui/pull/34636) by 120183316+srmukher@users.noreply.github.com)
31
+ - fix(react-charting): Fixing color issue for GVBC ([PR #34637](https://github.com/microsoft/fluentui/pull/34637) by 120183316+srmukher@users.noreply.github.com)
32
+ - Bump @fluentui/chart-utilities to v1.1.17 ([PR #34623](https://github.com/microsoft/fluentui/pull/34623) by beachball)
33
+
7
34
  ## [5.24.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.3)
8
35
 
9
- Thu, 12 Jun 2025 07:19:48 GMT
36
+ Thu, 12 Jun 2025 07:20:13 GMT
10
37
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.2..@fluentui/react-charting_v5.24.3)
11
38
 
12
39
  ### Patches
package/config/tests.js CHANGED
@@ -1,16 +1,4 @@
1
1
  /** Jest test setup file. */
2
2
 
3
- const { setIconOptions } = require('@fluentui/react/lib/Styling');
4
- const { configure } = require('enzyme');
5
- const Adapter = require('@wojtekmaj/enzyme-adapter-react-17');
6
-
7
- // Suppress icon warnings.
8
- setIconOptions({
9
- disableWarnings: true,
10
- });
11
-
12
- // Configure enzyme.
13
- configure({ adapter: new Adapter() });
14
-
15
3
  const env = 'PROD';
16
4
  module.exports = env;
@@ -28,6 +28,25 @@ import { TimeLocaleDefinition } from 'd3-time-format';
28
28
  */
29
29
  export declare const AreaChart: React_2.FunctionComponent<IAreaChartProps>;
30
30
 
31
+ /**
32
+ * Specifies the ordering options for axis categories in Cartesian charts.
33
+ *
34
+ * - `'default'`: Uses the original order before custom ordering was supported.
35
+ * In some charts, this behaves the same as `'data'`.
36
+ * - `'data'`: Preserves the order of categories as provided in the input data.
37
+ * - `string[]`: Explicitly defines the custom order of categories as an array of category names.
38
+ * - `'category ascending' | 'category descending'`: Orders categories alphanumerically.
39
+ * - `'total ascending' | 'total descending'`: Orders categories by the total of their associated values.
40
+ * - `'min ascending' | 'min descending'`: Orders by the minimum value within each category.
41
+ * - `'max ascending' | 'max descending'`: Orders by the maximum value within each category.
42
+ * - `'sum ascending' | 'sum descending'`: Orders by the sum of values for each category (same as 'total').
43
+ * - `'mean ascending' | 'mean descending'`: Orders by the average of values in each category.
44
+ * - `'median ascending' | 'median descending'`: Orders by the median value of each category.
45
+ *
46
+ * {@docCategory CartesianChart}
47
+ */
48
+ export declare type AxisCategoryOrder = 'default' | 'data' | string[] | 'category ascending' | 'category descending' | 'total ascending' | 'total descending' | 'min ascending' | 'min descending' | 'max ascending' | 'max descending' | 'sum ascending' | 'sum descending' | 'mean ascending' | 'mean descending' | 'median ascending' | 'median descending';
49
+
31
50
  /**
32
51
  * Cartesian Chart component
33
52
  * {@docCategory CartesianChart}
@@ -647,6 +666,16 @@ export declare interface ICartesianChartProps {
647
666
  * @default undefined
648
667
  */
649
668
  yAxisAnnotation?: string;
669
+ /**
670
+ * Specifies the ordering logic for categories (or string tick labels) on the x-axis.
671
+ * @default 'default'
672
+ */
673
+ xAxisCategoryOrder?: AxisCategoryOrder;
674
+ /**
675
+ * Specifies the ordering logic for categories (or string tick labels) on the y-axis.
676
+ * @default 'default'
677
+ */
678
+ yAxisCategoryOrder?: AxisCategoryOrder;
650
679
  }
651
680
 
652
681
  /**
@@ -1232,6 +1261,10 @@ export declare interface IDonutChartStyles {
1232
1261
  * Style for the legend container.
1233
1262
  */
1234
1263
  legendContainer: IStyle;
1264
+ /**
1265
+ * styles for axis annotation
1266
+ */
1267
+ axisAnnotation?: IStyle;
1235
1268
  }
1236
1269
 
1237
1270
  declare interface IEventAnnotation {
@@ -2974,7 +3007,7 @@ export declare interface IModifiedCartesianChartProps extends ICartesianChartPro
2974
3007
  /**
2975
3008
  * Get the min and max values of the y-axis
2976
3009
  */
2977
- getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
3010
+ getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[] | IScatterChartDataPoint[], yAxisType: YAxisType | undefined, useSecondaryYScale?: boolean) => {
2978
3011
  startValue: number;
2979
3012
  endValue: number;
2980
3013
  };
@@ -3604,6 +3637,10 @@ export declare interface IScatterChartStyleProps extends ICartesianChartStylePro
3604
3637
  * {@docCategory ScatterChart}
3605
3638
  */
3606
3639
  export declare interface IScatterChartStyles extends ICartesianChartStyles {
3640
+ /**
3641
+ * Style for the marker label
3642
+ */
3643
+ markerLabel?: IStyle_2;
3607
3644
  }
3608
3645
 
3609
3646
  export declare interface IShapeProps {