update isDatasetVisible call

This commit is contained in:
Lighnat0r 2016-04-27 23:18:03 +02:00
parent c5c38de5c3
commit 200abc184b

View File

@ -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) {