Created
December 15, 2016 20:20
-
-
Save drhanlau/02caecfee32b1596da91004cbeea64eb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options = { | |
chart: { | |
renderTo: 'container', | |
type: 'spline', | |
plotBorderWidth: 1, | |
plotBorderColor: '#3F4044', | |
borderColor: '#a1a1a1', | |
borderWidth: 2, | |
borderRadius: 3 | |
}, | |
title: { | |
text: 'Web browsers statistics', | |
}, | |
subtitle: { | |
text: 'From 2008 to present', | |
verticalAlign: 'top', | |
y: 60 | |
}, | |
xAxis: { | |
categories: ['Jan 2008', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', | |
'Jan 2009', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', | |
'Jan 2010', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', | |
'Jan 2011', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', | |
'Jan 2012', 'Feb', 'Mar' | |
], | |
tickInterval: 3 | |
}, | |
plotOptions: { | |
series: { | |
lineWidth: 2 | |
} | |
}, | |
series: [{ | |
name: 'Internet Explorer', | |
data: [54.7, 54.7, 53.9, 54.8, 54.4, 54.2, 52.4, 51.0, 49.0, 47.4, 47.0, 46, | |
44.8, 43.6, 43.3, 42.1, 41.0, 40.7, 39.4, 39.3, 39.6, 37.5, 37.7, 37.2, | |
36.2, 35.3, 34.9, 33.4, 32.2, 31.0, 30.4, 30.7, 31.1, 29.7, 28.6, 27.5, | |
26.6, 26.5, 25.8, 24.3, 24.9, 23.2, 22.0, 22.4, 22.9, 21.7, 21.2, 20.2, | |
20.1, 19.5, 18.9 | |
] | |
}, { | |
name: 'FireFox', | |
data: [36.4, 36.5, 37.0, 39.1, 39.8, 41.0, 42.6, 43.7, 42.6, 44.0, 44.2, 44.0, | |
45.5, 46.4, 46.5, 47.1, 47.7, 47.3, 47.9, 47.4, 46.6, 47.5, 47.0, 46.4, | |
46.3, 46.5, 46.2, 46.4, 46.9, 46.6, 46.4, 45.8, 45.1, 44.1, 44.0, 43.5, | |
42.8, 42.4, 42.2, 42.9, 42.4, 42.2, 42.0, 40.6, 39.7, 38.7, 38.1, 37.7, | |
37.1, 36.6, 36.3 | |
] | |
}, { | |
name: 'Chrome', | |
data: [null, null, null, null, null, null, null, null, 3.1, 3.0, 3.1, 3.6, | |
3.9, 4.0, 4.2, 4.9, 5.5, 6.0, 6.5, 7.0, 7.1, 8.0, 8.5, 9.8, | |
10.8, 11.6, 12.3, 13.6, 14.5, 15.9, 16.7, 17.0, 17.3, 19.2, 20.5, 22.4, | |
23.8, 24.1, 25.0, 25.6, 25.9, 27.9, 29.4, 30.3, 30.5, 32.3, 33.4, 34.6, | |
35.3, 36.3, 37.3 | |
] | |
}, { | |
name: 'Safari', | |
data: [1.9, 2.0, 2.1, 2.2, 2.4, 2.6, 2.5, 2.6, 2.7, 2.8, 2.7, 2.7, | |
3.0, 3.0, 3.1, 3.0, 3.0, 3.1, 3.3, 3.3, 3.6, 3.8, 3.8, 3.6, | |
3.7, 3.8, 3.7, 3.7, 3.5, 3.6, 3.4, 3.5, 3.7, 3.9, 4.0, 3.8, | |
4.0, 4.1, 4.0, 4.1, 4.0, 3.7, 3.6, 3.8, 4.0, 4.2, 4.2, 4.2, | |
4.3, 4.5, 4.4 | |
] | |
}, { | |
name: 'Opera', | |
data: [1.4, 1.4, 1.4, 1.4, 1.5, 1.7, 1.9, 2.1, 2.0, 2.2, 2.3, 2.4, | |
2.3, 2.2, 2.3, 2.2, 2.2, 2.1, 2.1, 2.1, 2.2, 2.3, 2.3, 2.3, | |
2.2, 2.1, 2.2, 2.2, 2.2, 2.1, 2.3, 2.3, 2.2, 2.2, 2.3, 2.2, | |
2.5, 2.5, 2.5, 2.6, 2.4, 2.4, 2.4, 2.3, 2.2, 2.4, 2.4, 2.5, | |
2.4, 2.3, 2.3 | |
] | |
}] | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment