@tetacom/svg-charts 1.2.27 → 1.2.28
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/esm2020/chart/chart-container/series/line/line-series.component.mjs +19 -3
- package/fesm2015/tetacom-svg-charts.mjs +18 -2
- package/fesm2015/tetacom-svg-charts.mjs.map +1 -1
- package/fesm2020/tetacom-svg-charts.mjs +18 -2
- package/fesm2020/tetacom-svg-charts.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1451,16 +1451,32 @@ class LineSeriesComponent extends LinearSeriesBase {
|
|
|
1451
1451
|
point.x = this.x.invert(this.x(this.start.x) + event.deltaX);
|
|
1452
1452
|
point.y = this.y.invert(this.y(this.start.y) + event.deltaY);
|
|
1453
1453
|
this._update.next();
|
|
1454
|
+
const emitEvent = {
|
|
1455
|
+
type: 'end',
|
|
1456
|
+
sourceEvent: event
|
|
1457
|
+
};
|
|
1454
1458
|
this.svc.emitPoint({
|
|
1455
|
-
target:
|
|
1459
|
+
target: {
|
|
1460
|
+
series: this.series,
|
|
1461
|
+
point: point,
|
|
1462
|
+
},
|
|
1463
|
+
event: emitEvent,
|
|
1456
1464
|
});
|
|
1457
1465
|
}
|
|
1458
1466
|
moveProcess(event, point) {
|
|
1459
1467
|
point.x = this.x.invert(this.x(this.start.x) + event.deltaX);
|
|
1460
1468
|
point.y = this.y.invert(this.y(this.start.y) + event.deltaY);
|
|
1461
1469
|
this._update.next();
|
|
1470
|
+
const emitEvent = {
|
|
1471
|
+
type: 'drag',
|
|
1472
|
+
sourceEvent: event
|
|
1473
|
+
};
|
|
1462
1474
|
this.svc.emitPoint({
|
|
1463
|
-
target:
|
|
1475
|
+
target: {
|
|
1476
|
+
series: this.series,
|
|
1477
|
+
point: point,
|
|
1478
|
+
},
|
|
1479
|
+
event: emitEvent,
|
|
1464
1480
|
});
|
|
1465
1481
|
}
|
|
1466
1482
|
startLabel(event, label) {
|