I am using the Chart.js library to build a chart. Consider the following Chart.js line graph :
So, there are 2 datasets that are being used here, one for the red line and one for the green line. I want to hide one of these datasets e.g. the red one. This will result in the red line not showing which is what I want.
However, what I also want is that the tooltip should show data for both the datasets (including the hidden dataset).
Is that possible?
