JSFiddle - React, Tailwind, and code Playground

Basic Column Chart

HTML

<script src="https://cdn.canvasjs.com/canvasjs.min.js"></script>

<br/><!-- Just so that JSFiddle's Result label doesn't overlap the Chart -->
<div id="chartContainer" style="height: 360px; width: 100%;"></div>

JavaScript

var hoveredSeries = null;
var chart = new CanvasJS.Chart("chartContainer", {
  theme: "light2",
  title: {
    text: "Highlight Hovered Over Dataseries in Shared Tooltip"
  },
  toolTip: {
    shared: true,
    contentFormatter: (e) => {
      var content = " ";
      for (var i = 0; i < e.entries.length; i++) {
        content +=
          (hoveredSeries === i ? "<strong>" : "") +
          e.entries[i].dataSeries.name +
          ": " +
          e.entries[i].dataPoint.y +
          (hoveredSeries === i ? "</strong>" : "");
        content += "<br/>";
      }

      return content;
    },
  },
  data: [
    {
      type: "stackedColumn",
      mouseover: (e) => {
        hoveredSeries = e.dataSeriesIndex;
      },
      dataPoints: [
        { x: 10, y: 71 },
        { x: 20, y: 55 },
        { x: 30, y: 50 },
        { x: 40, y: 65 },
        { x: 50, y: 95 },
        { x: 60, y: 68 },
        { x: 70, y: 28 },
        { x: 80, y: 34 },
        { x: 90, y: 14 },
      ],
    },
    {
      type: "stackedColumn",
       mouseover: (e) => {
        hoveredSeries = e.dataSeriesIndex;
      },
      dataPoints: [
        { x: 10, y: 171 },
        { x: 20, y: 155 },
        { x: 30, y: 150 },
        { x: 40, y: 165 },
        { x: 50, y: 195 },
        { x: 60, y: 168 },
        { x: 70, y: 128 },
        { x: 80, y: 134 },
        { x: 90, y: 114 },
      ],
    },
  ],
});

chart.render();