@progress/kendo-charts 1.31.0-dev.202308280454 → 1.31.0

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.
@@ -81,4 +81,4 @@ function preventDefault() {
81
81
  this._defaultPrevented = true;
82
82
  }
83
83
 
84
- export default Highlight;
84
+ export default Highlight;
@@ -225,7 +225,7 @@ var ChartElement = (function (Class) {
225
225
 
226
226
  ChartElement.prototype.hasHighlight = function hasHighlight () {
227
227
  var options = (this.options || {}).highlight;
228
- return !(!this.createHighlight || (options && options.visible === false));
228
+ return !(!this.createHighlight || (options && options.visible === false) || this.visible === false);
229
229
  };
230
230
 
231
231
  ChartElement.prototype.toggleHighlight = function toggleHighlight (show, opacity) {
@@ -71,4 +71,4 @@ function preventDefault() {
71
71
  this._defaultPrevented = true;
72
72
  }
73
73
 
74
- export default Highlight;
74
+ export default Highlight;
@@ -218,7 +218,7 @@ class ChartElement extends Class {
218
218
 
219
219
  hasHighlight() {
220
220
  const options = (this.options || {}).highlight;
221
- return !(!this.createHighlight || (options && options.visible === false));
221
+ return !(!this.createHighlight || (options && options.visible === false) || this.visible === false);
222
222
  }
223
223
 
224
224
  toggleHighlight(show, opacity) {