title: Get Tooltip content from a point from a line/scatter plot in highcharts from javascript
body: <p><br/>
  Can anyone tell me how to get all the values of a line series in a HighChart line plot(<a href="http://www.highcharts.com/demo/" rel="nofollow">http://www.highcharts.com/demo/</a>) through JavaScript? <br/>
  Also, how to get tooltip value of a point of a scatter plot through JavaScript?
  I have tried triggering 'mouseover' using the following code on a basic line chart (above link) to get tooltip.</p>
  
  <pre><code>function simulateMouseOver() {
    var event = new MouseEvent('mouseover', {
      'view': window,
      'bubbles': true,
      'cancelable': true
    });
    var cb = document.querySelector("g.highcharts-tracker:nth-of-type(2)&gt;path:nth-of-type(1)")
    var canceled = !cb.dispatchEvent(event);
    if (canceled) {
      // A handler called preventDefault.
    //  alert("canceled");
    } else {
      // None of the handlers called preventDefault.
   //   alert("not canceled");
    }
  }
  </code></pre>
  
  <p>(ref: <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Events/Creating_and_triggering_events" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Events/Creating_and_triggering_events</a>)
  However this doesn't show the tooltip. Can someone help on this?</p>
  
  <p>Poornima</p>