@fluentui/react-charting 5.24.23 → 5.24.25

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 (86) hide show
  1. package/CHANGELOG.json +37 -1
  2. package/CHANGELOG.md +21 -2
  3. package/dist/react-charting.d.ts +59 -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 +10 -0
  7. package/lib/components/CommonComponents/CartesianChart.base.js +11 -5
  8. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  9. package/lib/components/CommonComponents/CartesianChart.types.d.ts +16 -1
  10. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  11. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
  12. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +167 -30
  13. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  14. package/lib/components/GaugeChart/GaugeChart.base.d.ts +1 -1
  15. package/lib/components/ScatterChart/ScatterChart.base.js +66 -13
  16. package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
  17. package/lib/components/ScatterChart/ScatterChart.types.d.ts +4 -0
  18. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  19. package/lib/index.d.ts +1 -1
  20. package/lib/index.js.map +1 -1
  21. package/lib/types/IDataPoint.d.ts +37 -0
  22. package/lib/types/IDataPoint.js.map +1 -1
  23. package/lib/utilities/utilities.d.ts +17 -13
  24. package/lib/utilities/utilities.js +131 -17
  25. package/lib/utilities/utilities.js.map +1 -1
  26. package/lib-amd/components/CommonComponents/CartesianChart.base.js +11 -5
  27. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  28. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +16 -1
  29. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  30. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
  31. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +171 -35
  32. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  33. package/lib-amd/components/FunnelChart/funnelGeometry.js +5 -6
  34. package/lib-amd/components/FunnelChart/funnelGeometry.js.map +1 -1
  35. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +1 -1
  36. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +1 -2
  37. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
  38. package/lib-amd/components/SankeyChart/SankeyChart.base.js +4 -4
  39. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
  40. package/lib-amd/components/ScatterChart/ScatterChart.base.js +64 -11
  41. package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
  42. package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +4 -0
  43. package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -1
  44. package/lib-amd/index.d.ts +1 -1
  45. package/lib-amd/index.js.map +1 -1
  46. package/lib-amd/types/IDataPoint.d.ts +37 -0
  47. package/lib-amd/types/IDataPoint.js.map +1 -1
  48. package/lib-amd/utilities/image-export-utils.js +2 -3
  49. package/lib-amd/utilities/image-export-utils.js.map +1 -1
  50. package/lib-amd/utilities/scatterpolar-utils.js +2 -3
  51. package/lib-amd/utilities/scatterpolar-utils.js.map +1 -1
  52. package/lib-amd/utilities/utilities.d.ts +17 -13
  53. package/lib-amd/utilities/utilities.js +170 -54
  54. package/lib-amd/utilities/utilities.js.map +1 -1
  55. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +11 -5
  56. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  57. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +16 -1
  58. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  59. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
  60. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +171 -34
  61. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  62. package/lib-commonjs/components/FunnelChart/funnelGeometry.js +5 -6
  63. package/lib-commonjs/components/FunnelChart/funnelGeometry.js.map +1 -1
  64. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +1 -1
  65. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +1 -2
  66. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
  67. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +4 -4
  68. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  69. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +64 -11
  70. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
  71. package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +4 -0
  72. package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -1
  73. package/lib-commonjs/index.d.ts +1 -1
  74. package/lib-commonjs/index.js.map +1 -1
  75. package/lib-commonjs/types/IDataPoint.d.ts +37 -0
  76. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  77. package/lib-commonjs/utilities/image-export-utils.js +2 -3
  78. package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
  79. package/lib-commonjs/utilities/scatterpolar-utils.js +2 -3
  80. package/lib-commonjs/utilities/scatterpolar-utils.js.map +1 -1
  81. package/lib-commonjs/utilities/utilities.d.ts +17 -13
  82. package/lib-commonjs/utilities/utilities.js +170 -55
  83. package/lib-commonjs/utilities/utilities.js.map +1 -1
  84. package/package.json +2 -2
  85. package/src/components/CommonComponents/CartesianChart.types.ts +19 -0
  86. package/src/components/ScatterChart/ScatterChart.types.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-charting",
3
- "version": "5.24.23",
3
+ "version": "5.24.25",
4
4
  "description": "React web charting controls for Microsoft fluentui system.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -39,7 +39,7 @@
39
39
  "jest-canvas-mock": "2.4.0"
40
40
  },
41
41
  "dependencies": {
42
- "@fluentui/chart-utilities": "^1.1.27",
42
+ "@fluentui/chart-utilities": "^1.1.28",
43
43
  "@fluentui/react-focus": "^8.9.25",
44
44
  "@fluentui/theme-samples": "^8.7.213",
45
45
  "@microsoft/load-themed-styles": "^1.10.26",
@@ -7,6 +7,7 @@ import { ICalloutProps } from '@fluentui/react/lib/Callout';
7
7
  import { ILegendsProps } from '../Legends/index';
8
8
  import {
9
9
  AxisCategoryOrder,
10
+ AxisProps,
10
11
  AxisScaleType,
11
12
  IAccessibilityProps,
12
13
  IChart,
@@ -532,6 +533,24 @@ export interface ICartesianChartProps {
532
533
  * @default 'default'
533
534
  */
534
535
  secondaryYScaleType?: AxisScaleType;
536
+
537
+ /**
538
+ * Explicit set of tick values for the y-axis.
539
+ * If provided, these values override automatic tick generation.
540
+ */
541
+ yAxisTickValues?: number[] | Date[] | string[];
542
+
543
+ /**
544
+ * Configuration for the x-axis.
545
+ * Use this to control `tickStep`, `tick0`, etc.
546
+ */
547
+ xAxis?: AxisProps;
548
+
549
+ /**
550
+ * Configuration for the y-axis.
551
+ * Use this to control `tickStep`, `tick0`, etc.
552
+ */
553
+ yAxis?: AxisProps;
535
554
  }
536
555
 
537
556
  export interface IYValueHover {
@@ -47,6 +47,11 @@ export interface IScatterChartProps extends ICartesianChartProps {
47
47
  * The prop used to define the culture to localized the numbers
48
48
  */
49
49
  culture?: string;
50
+
51
+ /**
52
+ * The prop used to define the y axis labels tooltip visibility
53
+ */
54
+ showYAxisLablesTooltip?: boolean;
50
55
  }
51
56
 
52
57
  /**