1 thought on “Allow animation to/from hidden datasets

  1. a workaround:

    self.graph.datasets[0].hidden = true;
    self.graph.datasets[0].hidden = true;


    use the update() method on the chart to change the state..

    also, to tie it to a checkbox (as i am doing currently):

    self.graph.datasets[0].hidden = document.getElementById('seriesHide').checked; self.chart.update();
    note, i am using knockout.js for my backend data binding, so you may find the self. unnecessary.

Comments are closed.