diff --git a/src/Chart.StackedBar.js b/src/Chart.StackedBar.js index a452f04..0d51eeb 100644 --- a/src/Chart.StackedBar.js +++ b/src/Chart.StackedBar.js @@ -358,31 +358,6 @@ return this; }, update : function(){ - - //Iterate through each of the datasets, and build this into a property of the chart - helpers.each(this.datasets,function(dataset,datasetIndex){ - - helpers.extend(this.datasets[datasetIndex], { - label : dataset.label || null, - fillColor : dataset.fillColor, - strokeColor : dataset.strokeColor, - }); - - helpers.each(dataset.data,function(dataPoint,index){ - helpers.extend(this.datasets[datasetIndex].bars[index], { - value : dataPoint, - label : this.data.labels[index], - datasetLabel: dataset.label, - strokeColor : dataset.strokeColor, - fillColor : dataset.fillColor, - highlightFill : dataset.highlightFill || dataset.fillColor, - highlightStroke : dataset.highlightStroke || dataset.strokeColor - }); - },this); - - },this); - - this.scale.update(); // Reset any highlight colours before updating. helpers.each(this.activeElements, function(activeElement){