update benchmark html

This commit is contained in:
c9s 2014-05-16 18:37:07 +08:00
parent 869e8c6d01
commit b90f575a0a

View file

@ -14,7 +14,6 @@
data: { data: {
csv: data, csv: data,
parseDate: function (s) { parseDate: function (s) {
console.log( arguments );
var match = s.match(/^([0-9]{1,2})\/([0-9]{1,2})\/([0-9]{2})$/); var match = s.match(/^([0-9]{1,2})\/([0-9]{1,2})\/([0-9]{2})$/);
if (match) { if (match) {
return Date.UTC(+('20' + match[3]), match[1] - 1, +match[2]); return Date.UTC(+('20' + match[3]), match[1] - 1, +match[2]);
@ -23,16 +22,16 @@
}, },
title: { title: {
text: 'Daily visits at www.highcharts.com' text: 'Matching Speed'
}, },
subtitle: { subtitle: {
text: 'Source: Google Analytics' text: 'Library: r3'
}, },
xAxis: { xAxis: {
type: 'datetime', type: 'datetime',
tickInterval: 7 * 24 * 3600 * 1000, // one week // tickInterval: 7 * 24 * 3600 * 1000, // one week
tickWidth: 0, tickWidth: 0,
gridLineWidth: 1, gridLineWidth: 1,
labels: { labels: {