plotAreaLeave

Fired when the cursor leaves the plotArea.

Event Data

e.sender kendo.dataviz.ui.Chart

Example - use plotAreaHover and plotAreaLeave to add hover fill

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [
      { data: [1, 2] }
    ],
    plotAreaHover: function(e) {
      this.plotArea().backgroundVisual.fill('red', 0.5);
    },
    plotAreaLeave: function(e) {
      this.plotArea().backgroundVisual.fill('#fff', 0);
    }
  });
</script>
In this article
Not finding the help you need? Improve this article