I am using multiseries line chart with live data. here I am using shared tooltip so after deselecting any legend, series is getting disappear but data is coming in tooltip for that series. is there any way to handle this?
try deselecting any legend and see the tooltip data in this example: https://canvasjs.com/javascript-charts/multi-series-line-chart/
Checking visible property while formatting tooltip-content using contentFormatter should work fine in this case. Please take a look at this updated JSFiddle.