diff --git a/bench/Chart.js-next.html b/bench/Chart.js-next.html index b1a7e31a..1897f78a 100644 --- a/bench/Chart.js-next.html +++ b/bench/Chart.js-next.html @@ -17,10 +17,8 @@

Loading lib....

- - - - + +
@@ -63,13 +61,12 @@

Loading lib....

console.time('chart'); var ctx = document.getElementById('chart1').getContext('2d'); - var color = Chart.helpers.color; var cfg = { data: { datasets: [ { label: 'CPU', - borderColor: window.chartColors.red, + borderColor: 'rgb(255, 99, 132)', data: data[0], type: 'line', pointRadius: 0, @@ -79,7 +76,7 @@

Loading lib....

}, { label: 'RAM', - borderColor: window.chartColors.blue, + borderColor: 'rgb(54, 162, 235)', data: data[1], type: 'line', pointRadius: 0, @@ -89,7 +86,7 @@

Loading lib....

}, { label: 'TCP Out', - borderColor: window.chartColors.green, + borderColor: 'rgb(75, 192, 192)', data: data[2], type: 'line', pointRadius: 0, @@ -103,6 +100,7 @@

Loading lib....

animation: false, maintainAspectRatio: false, parsing: false, + normalized: true, tooltips: { mode: 'index', intersect: false @@ -113,8 +111,7 @@

Loading lib....

}, scales: { x: { - type: 'time', - distribution: 'series', + type: 'timeseries', ticks: { source: 'auto', maxRotation: 0,