Multiple tooltip is not displayed when adding dynamic points in charts

I have a quick chartjs tooltip to display the X and Y axis values ​​in the tooltip. But when data points are added dynamically, the tooltip is not visible.

Any help would be appreciated.

Html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <script src="//www.chartjs.org/assets/Chart.min.js"></script>
</head>
<body>
  <canvas id="updating-chart" width="500" height="300"></canvas>

</body>
</html>

      

JS bin link

+3


source to share





All Articles