evui 3.4.127 → 3.4.128

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.
@@ -11174,7 +11174,7 @@ module.exports = exports;
11174
11174
  /***/ "9224":
11175
11175
  /***/ (function(module) {
11176
11176
 
11177
- module.exports = JSON.parse("{\"a\":\"3.4.127\"}");
11177
+ module.exports = JSON.parse("{\"a\":\"3.4.128\"}");
11178
11178
 
11179
11179
  /***/ }),
11180
11180
 
@@ -42438,13 +42438,23 @@ var element_scatter_Scatter = /*#__PURE__*/function () {
42438
42438
  var ctx = param.ctx,
42439
42439
  axesSteps = param.axesSteps,
42440
42440
  duple = param.duple,
42441
- legendHitInfo = param.legendHitInfo;
42441
+ legendHitInfo = param.legendHitInfo,
42442
+ coordinateDedupe = param.coordinateDedupe;
42442
42443
  var minmaxY = axesSteps.y[this.yAxisIndex]; // Adjusted because Real Time Scatter is drawn from the back.
42443
42444
 
42444
42445
  for (var i = 0; i < this.data.length; i++) {
42445
42446
  var item = this.data[i];
42446
42447
  var idx = i;
42447
- var shouldDraw = legendHitInfo ? legendHitInfo.sId === this.sId : duple.get("".concat(item.x).concat(item.y)) === this.sId;
42448
+ var isDedupeOn = coordinateDedupe !== false;
42449
+ var shouldDraw = void 0;
42450
+
42451
+ if (legendHitInfo) {
42452
+ shouldDraw = legendHitInfo.sId === this.sId;
42453
+ } else if (isDedupeOn) {
42454
+ shouldDraw = duple.get("".concat(item.x).concat(item.y)) === this.sId;
42455
+ } else {
42456
+ shouldDraw = true;
42457
+ }
42448
42458
 
42449
42459
  if (shouldDraw) {
42450
42460
  this.calcItem(item, param);
@@ -42473,7 +42483,8 @@ var element_scatter_Scatter = /*#__PURE__*/function () {
42473
42483
  var ctx = param.ctx,
42474
42484
  axesSteps = param.axesSteps,
42475
42485
  duple = param.duple,
42476
- legendHitInfo = param.legendHitInfo;
42486
+ legendHitInfo = param.legendHitInfo,
42487
+ coordinateDedupe = param.coordinateDedupe;
42477
42488
  var minmaxY = axesSteps.y[this.yAxisIndex];
42478
42489
  var pointStyle = typeof this.pointStyle === 'string' ? this.pointStyle : this.pointStyle.value;
42479
42490
  var pointSize = typeof this.pointSize === 'number' ? this.pointSize : this.pointSize.value;
@@ -42485,7 +42496,16 @@ var element_scatter_Scatter = /*#__PURE__*/function () {
42485
42496
  var _this$data$this$sId2, _this$data$this$sId2$, _this$data$this$sId3, _this$data$this$sId3$;
42486
42497
 
42487
42498
  var item = (_this$data$this$sId3 = this.data[this.sId]) === null || _this$data$this$sId3 === void 0 ? void 0 : (_this$data$this$sId3$ = _this$data$this$sId3.dataGroup[i]) === null || _this$data$this$sId3$ === void 0 ? void 0 : _this$data$this$sId3$.data[j];
42488
- var shouldDraw = legendHitInfo ? legendHitInfo.sId === this.sId : duple.get("".concat(item.x).concat(item.y)) === this.sId;
42499
+ var isDedupeOnRT = coordinateDedupe !== false;
42500
+ var shouldDraw = void 0;
42501
+
42502
+ if (legendHitInfo) {
42503
+ shouldDraw = legendHitInfo.sId === this.sId;
42504
+ } else if (isDedupeOnRT) {
42505
+ shouldDraw = duple.get("".concat(item.x).concat(item.y)) === this.sId;
42506
+ } else {
42507
+ shouldDraw = true;
42508
+ }
42489
42509
 
42490
42510
  if (shouldDraw) {
42491
42511
  this.calcItem(item, param);
@@ -54516,7 +54536,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54516
54536
  var chartType = chartKeys[ix];
54517
54537
  var chartTypeSet = this.seriesInfo.charts[chartType];
54518
54538
 
54519
- if (chartType === 'scatter') {
54539
+ if (chartType === 'scatter' && this.options.coordinateDedupe) {
54520
54540
  this.collectDuplicatePoints(duple, chartTypeSet);
54521
54541
  }
54522
54542
 
@@ -54625,7 +54645,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54625
54645
  series.draw(_objectSpread2({
54626
54646
  legendHitInfo: _legendHitInfo4,
54627
54647
  selectInfo: _selectInfo,
54628
- duple: duple
54648
+ duple: duple,
54649
+ coordinateDedupe: this.options.coordinateDedupe
54629
54650
  }, opt));
54630
54651
  break;
54631
54652
  }
@@ -56270,7 +56291,8 @@ var DEFAULT_OPTIONS = {
56270
56291
  error: '#FF0000',
56271
56292
  decimalPoint: 0
56272
56293
  },
56273
- seriesReverse: false
56294
+ seriesReverse: false,
56295
+ coordinateDedupe: true
56274
56296
  };
56275
56297
  var DEFAULT_DATA = {
56276
56298
  series: {},