mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
update isDatasetVisible call
This commit is contained in:
parent
c5c38de5c3
commit
200abc184b
@ -104,7 +104,7 @@ module.exports = function(Chart) {
|
||||
|
||||
helpers.each(this.chart.data.datasets, function(dataset, datasetIndex) {
|
||||
var momentsForDataset = [];
|
||||
var datasetVisible = helpers.isDatasetVisible(dataset);
|
||||
var datasetVisible = this.chart.isDatasetVisible(datasetIndex);
|
||||
|
||||
if (typeof dataset.data[0] === 'object') {
|
||||
helpers.each(dataset.data, function(value, index) {
|
||||
|
Loading…
Reference in New Issue
Block a user