Posted 12 February 2020, 2:54 am EST
Hi Richard,
We can easily add this feature with a bar chart. Just add a CSS rule on the rect element of the series with the hover pseudo-selector:
.wj-series-group rect:hover {
stroke-width: 4px;
stroke: aqua;
}
But, this is not possible in the Line chart because the whole Line is created using a single polyline element so we cannot add a hover effect for a single data. But, you can use the LineSymbol chart and add the effect on the symbols the same way as the bar chart:
.wj-series-group ellipse:hover {
stroke-width: 4px;
stroke: aqua
}
You may refer to the following sample:
https://stackblitz.com/edit/js-bj2pnq
Regards,
Ashwin