title: How to access value on dataPointSelection function of Apexchart
body: <p>How can i access the data value of a Apex Chart by clicking the tooltip?</p>
  
  <p>I dont want the index. i need the value. How can i access the value?</p>
  
  <pre><code>&lt;script&gt;
  var options = {
      chart: {
          type: 'line',
          events: {
              dataPointSelection: function (event, chartContext, config) {
                  console.log(config);
                  var ix = config.dataPointIndex;
  
                  alert(ix);
  
              }
          }
      },
      series: [{
          name: 'TEST',
          data: [[1324508400000, 34], [1324594800000, 54], [1325604800000, 39] , [1326236400000, 43]]
      }],
      xaxis: {
  
      },
      tooltip: {
          intersect: true,
          shared: false
      },
      markers: {
          size: 6,
      }
  }
  
  var chart = new ApexCharts(document.querySelector("#chart"), options);
  
  chart.render();
  &lt;/script&gt;
  </code></pre>