@fluentui/react-charting 5.24.36 → 5.24.38
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.
- package/CHANGELOG.json +61 -1
- package/CHANGELOG.md +25 -2
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +107 -53
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js +2 -2
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +107 -53
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.js +2 -2
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +107 -53
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +2 -2
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/package.json +5 -5
|
@@ -885,11 +885,11 @@ var LineChartBase = /** @class */ (function (_super) {
|
|
|
885
885
|
// Always add the highlight circle for large dataset hover
|
|
886
886
|
pointsForLine.push(React.createElement("circle", { id: "".concat(this_1._staticHighlightCircle, "_").concat(i), key: "".concat(this_1._staticHighlightCircle, "_").concat(i), r: 5.5, cx: 0, cy: 0, fill: theme.semanticColors.bodyBackground, strokeWidth: DEFAULT_LINE_STROKE_SIZE, stroke: lineColor, visibility: isPointHighlighted ? 'visibility' : 'hidden', onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight, yScale), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight, yScale), onMouseOut: this_1._handleMouseOut }));
|
|
887
887
|
// Add individual markers if mode includes 'markers'
|
|
888
|
-
var showMarkers = (lineMode === null || lineMode === void 0 ? void 0 : lineMode.includes('markers'))
|
|
888
|
+
var showMarkers = !!(lineMode === null || lineMode === void 0 ? void 0 : lineMode.includes('markers'));
|
|
889
889
|
if (showMarkers) {
|
|
890
890
|
for (var k = 0; k < this_1._points[i].data.length; k++) {
|
|
891
891
|
var _29 = this_1._points[i].data[k], x = _29.x, y = _29.y;
|
|
892
|
-
var xPoint = this_1._xAxisScale(x
|
|
892
|
+
var xPoint = this_1._xAxisScale(x);
|
|
893
893
|
var yPoint = yScale(y);
|
|
894
894
|
if (isPlottable(xPoint, yPoint)) {
|
|
895
895
|
var markerSize = this_1._points[i].data[k].markerSize;
|