@fluentui/react-charting 5.24.37 → 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.
@@ -874,11 +874,11 @@ define(["require", "exports", "tslib", "react", "d3-selection", "d3-array", "../
874
874
  // Always add the highlight circle for large dataset hover
875
875
  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 }));
876
876
  // Add individual markers if mode includes 'markers'
877
- var showMarkers = (lineMode === null || lineMode === void 0 ? void 0 : lineMode.includes('markers')) || !lineMode; // Show markers by default if no mode specified
877
+ var showMarkers = !!(lineMode === null || lineMode === void 0 ? void 0 : lineMode.includes('markers'));
878
878
  if (showMarkers) {
879
879
  for (var k = 0; k < this_1._points[i].data.length; k++) {
880
880
  var _29 = this_1._points[i].data[k], x = _29.x, y = _29.y;
881
- var xPoint = this_1._xAxisScale(x instanceof Date ? x.getTime() : x);
881
+ var xPoint = this_1._xAxisScale(x);
882
882
  var yPoint = yScale(y);
883
883
  if ((0, index_3.isPlottable)(xPoint, yPoint)) {
884
884
  var markerSize = this_1._points[i].data[k].markerSize;