@progress/kendo-charts 1.26.0 → 1.26.1-dev.202210201157
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/dist/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/chart/chart.js +6 -6
- package/dist/es/services/chart-service.js +1 -1
- package/dist/es2015/chart/chart.js +6 -6
- package/dist/es2015/services/chart-service.js +1 -1
- package/dist/npm/main.js +7 -7
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
package/dist/es/chart/chart.js
CHANGED
|
@@ -626,9 +626,9 @@ var Chart = (function (Class) {
|
|
|
626
626
|
this._hoveredPoint = null;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
if (this.
|
|
629
|
+
if (this._plotAreaHovered) {
|
|
630
|
+
this._plotAreaHovered = false;
|
|
630
631
|
this.trigger(PLOT_AREA_LEAVE);
|
|
631
|
-
this._plotArea.hovered = false;
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
634
|
|
|
@@ -1291,12 +1291,12 @@ var Chart = (function (Class) {
|
|
|
1291
1291
|
|
|
1292
1292
|
if (plotArea.hover) {
|
|
1293
1293
|
var overPlotArea = plotArea.backgroundContainsPoint(coords);
|
|
1294
|
-
if (overPlotArea) {
|
|
1295
|
-
|
|
1294
|
+
if (overPlotArea && !this._plotAreaHovered) {
|
|
1295
|
+
this._plotAreaHovered = true;
|
|
1296
1296
|
this._plotArea.hover(this, e);
|
|
1297
|
-
} else if (
|
|
1297
|
+
} else if (this._plotAreaHovered && !overPlotArea) {
|
|
1298
|
+
this._plotAreaHovered = false;
|
|
1298
1299
|
this.trigger(PLOT_AREA_LEAVE);
|
|
1299
|
-
plotArea.hovered = false;
|
|
1300
1300
|
}
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
@@ -613,9 +613,9 @@ class Chart extends Class {
|
|
|
613
613
|
this._hoveredPoint = null;
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
-
if (this.
|
|
616
|
+
if (this._plotAreaHovered) {
|
|
617
|
+
this._plotAreaHovered = false;
|
|
617
618
|
this.trigger(PLOT_AREA_LEAVE);
|
|
618
|
-
this._plotArea.hovered = false;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
|
|
@@ -1258,12 +1258,12 @@ class Chart extends Class {
|
|
|
1258
1258
|
|
|
1259
1259
|
if (plotArea.hover) {
|
|
1260
1260
|
const overPlotArea = plotArea.backgroundContainsPoint(coords);
|
|
1261
|
-
if (overPlotArea) {
|
|
1262
|
-
|
|
1261
|
+
if (overPlotArea && !this._plotAreaHovered) {
|
|
1262
|
+
this._plotAreaHovered = true;
|
|
1263
1263
|
this._plotArea.hover(this, e);
|
|
1264
|
-
} else if (
|
|
1264
|
+
} else if (this._plotAreaHovered && !overPlotArea) {
|
|
1265
|
+
this._plotAreaHovered = false;
|
|
1265
1266
|
this.trigger(PLOT_AREA_LEAVE);
|
|
1266
|
-
plotArea.hovered = false;
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
1269
|
|