Skip to content

Commit d91e3b6

Browse files
authored
Don't delete dataset._meta (#204)
Don't delete dataset._meta and fix deprecation warning
1 parent f257728 commit d91e3b6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

samples/zoom-time.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
xAxes: [{
8686
type: 'time',
8787
time: {
88-
format: timeFormat,
88+
parser: timeFormat,
8989
// round: 'day'
9090
tooltipFormat: 'll HH:mm'
9191
},

src/plugin.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,6 @@ var zoomPlugin = {
345345
}
346346
});
347347

348-
helpers.each(chartInstance.data.datasets, function(dataset) {
349-
dataset._meta = null;
350-
});
351-
352348
chartInstance.update();
353349
};
354350

0 commit comments

Comments
 (0)