react-chartjs icon indicating copy to clipboard operation
react-chartjs copied to clipboard

Hidden datasets

Open nicolashWebikeo opened this issue 7 years ago • 1 comments

I try to hide one of my datasets but it doesn't work

datasets: [ { ...this.state.dataRate.datasets[0], label: 'hello', hidden: true, } ]

nicolashWebikeo avatar Apr 27 '18 15:04 nicolashWebikeo

Hidden is an option of chartjs version 2 https://www.chartjs.org/docs/latest/configuration/legend.html?h=hidden This library support version 1.1.1 https://github.com/chartjs/Chart.js/tree/v1.1.1/docs

agent3bood avatar Nov 12 '18 14:11 agent3bood