Chartjs-How to conserve user setting for hidden dataset for update?

0👍

This can be done through chart.getDatasetMeta(index) as follows:

let chart = new Chart(ctx, {...});
...
let hidden = chart.getDatasetMeta(datasetIndex).hidden;

Leave a comment