title: Chart.js - annotation Vertical line moves with mouse in Angular 6
body: <p>how can add Vertical line moves with mouse, Angular 6 </p>
  
  <pre><code>canvas.onmousemove = function (evt) {
      var points = myChart.getElementsAtXAxis(evt);
      annotation.annotations[0].value = new Date(myChart.config.data.labels[points[0]._index]);
      myChart.update();
  </code></pre>
  
  <p>it not work on angular version, how can change Annotation value dynamic </p>
  
  <p>I want move this line <a href="https://i.stack.imgur.com/kUJ83.png" rel="nofollow noreferrer">enter image description here</a></p>