@progress/kendo-charts 2.11.0-develop.2 → 2.11.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.
@@ -490,7 +490,7 @@ class Chart {
490
490
  this._categoryHighlightIndex = index;
491
491
  this._categoryHighlightAxis = categoryAxis;
492
492
 
493
- const highlightOptions = (categoryAxis.options || {}).highlight;
493
+ const highlightOptions = categoryAxis ? (categoryAxis.options || {}).highlight : null;
494
494
 
495
495
  if (!highlightOptions || !highlightOptions.visible || index === null) {
496
496
  if (this._categoryHighlight) {
@@ -490,7 +490,7 @@ class Chart {
490
490
  this._categoryHighlightIndex = index;
491
491
  this._categoryHighlightAxis = categoryAxis;
492
492
 
493
- const highlightOptions = (categoryAxis.options || {}).highlight;
493
+ const highlightOptions = categoryAxis ? (categoryAxis.options || {}).highlight : null;
494
494
 
495
495
  if (!highlightOptions || !highlightOptions.visible || index === null) {
496
496
  if (this._categoryHighlight) {