@fluentui/react-charting 5.24.15 → 5.24.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 (34) hide show
  1. package/CHANGELOG.json +22 -1
  2. package/CHANGELOG.md +12 -2
  3. package/dist/react-charting.d.ts +1 -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 +1 -1
  7. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +2 -0
  8. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  9. package/lib/components/ScatterChart/ScatterChart.base.js +15 -9
  10. package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
  11. package/lib/types/IDataPoint.d.ts +1 -1
  12. package/lib/types/IDataPoint.js.map +1 -1
  13. package/lib/utilities/utilities.d.ts +6 -0
  14. package/lib/utilities/utilities.js +10 -0
  15. package/lib/utilities/utilities.js.map +1 -1
  16. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +2 -0
  17. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  18. package/lib-amd/components/ScatterChart/ScatterChart.base.js +14 -8
  19. package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
  20. package/lib-amd/types/IDataPoint.d.ts +1 -1
  21. package/lib-amd/types/IDataPoint.js.map +1 -1
  22. package/lib-amd/utilities/utilities.d.ts +6 -0
  23. package/lib-amd/utilities/utilities.js +12 -1
  24. package/lib-amd/utilities/utilities.js.map +1 -1
  25. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +2 -0
  26. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  27. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +14 -8
  28. package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
  29. package/lib-commonjs/types/IDataPoint.d.ts +1 -1
  30. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  31. package/lib-commonjs/utilities/utilities.d.ts +6 -0
  32. package/lib-commonjs/utilities/utilities.js +12 -1
  33. package/lib-commonjs/utilities/utilities.js.map +1 -1
  34. package/package.json +2 -2
@@ -1138,7 +1138,7 @@ export interface ILineChartLineOptions extends React_2.SVGProps<SVGPathElement>
1138
1138
  curve?: 'linear' | 'natural' | 'step' | 'stepAfter' | 'stepBefore' | CurveFactory;
1139
1139
  lineBorderColor?: string;
1140
1140
  lineBorderWidth?: string | number;
1141
- mode?: 'lines' | 'markers' | 'text' | 'lines+markers' | 'text+markers' | 'text+lines' | 'text+lines+markers' | 'none' | 'gauge' | 'number' | 'delta' | 'number+delta' | 'gauge+number' | 'gauge+number+delta' | 'gauge+delta' | 'markers+text' | 'lines+text';
1141
+ mode?: 'lines' | 'markers' | 'text' | 'lines+markers' | 'text+markers' | 'text+lines' | 'text+lines+markers' | 'none' | 'gauge' | 'number' | 'delta' | 'number+delta' | 'gauge+number' | 'gauge+number+delta' | 'gauge+delta' | 'markers+text' | 'lines+text' | 'lines+markers+text';
1142
1142
  strokeDasharray?: string | number;
1143
1143
  strokeDashoffset?: string | number;
1144
1144
  strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
@@ -450,12 +450,14 @@ export var transformPlotlyJsonToScatterChartProps = function (input, isMultiPlot
450
450
  var transformPlotlyJsonToScatterTraceProps = function (input, isMultiPlot, chartType, colorMap, colorwayType, isDarkTheme) {
451
451
  var _a, _b, _c, _d;
452
452
  var isScatterMarkers = [
453
+ 'text',
453
454
  'markers',
454
455
  'text+markers',
455
456
  'markers+text',
456
457
  'lines+markers',
457
458
  'markers+line',
458
459
  'text+lines+markers',
460
+ 'lines+markers+text',
459
461
  ].includes((_a = input.data[0]) === null || _a === void 0 ? void 0 : _a.mode);
460
462
  var isAreaChart = chartType === 'area';
461
463
  var isScatterChart = chartType === 'scatter';