Created
June 12, 2013 10:26
-
-
Save reinholdsson/5764251 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
<!doctype HTML> | |
<meta charset = 'utf-8'> | |
<html> | |
<head> | |
<script src='http://code.jquery.com/jquery-1.9.1.min.js' type='text/javascript'></script> | |
<script src='http://code.highcharts.com/highcharts.js' type='text/javascript'></script> | |
<script src='http://code.highcharts.com/highcharts-more.js' type='text/javascript'></script> | |
<style> | |
.rChart { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
width: 800px; | |
height: 400px; | |
} | |
</style> | |
</head> | |
<body> | |
<div id='chart1a74677fde0d' class='rChart highcharts'></div> | |
<script type='text/javascript'> | |
(function($){ | |
$(function () { | |
var chart = new Highcharts.Chart({ | |
"dom": "chart1a74677fde0d", | |
"width": 800, | |
"height": 400, | |
"credits": { | |
"href": null, | |
"text": null | |
}, | |
"title": { | |
"text": null | |
}, | |
"yAxis": { | |
"title": { | |
"text": "value" | |
} | |
}, | |
"series": [ | |
{ | |
"data": [ | |
[ | |
1.2, | |
100.6 | |
], | |
[ | |
19.3, | |
107.9 | |
], | |
[ | |
37.3, | |
114.9 | |
], | |
[ | |
48, | |
119 | |
], | |
[ | |
57.6, | |
122.6 | |
], | |
[ | |
67.8, | |
126.6 | |
], | |
[ | |
76.5, | |
129.8 | |
], | |
[ | |
84, | |
130.7 | |
] | |
], | |
"name": "Col2", | |
"type": "line", | |
"marker": { | |
"radius": 3 | |
} | |
}, | |
{ | |
"data": [ | |
[ | |
1.2, | |
63.6 | |
], | |
[ | |
19.3, | |
56.7 | |
], | |
[ | |
37.3, | |
57.2 | |
], | |
[ | |
48, | |
61.5 | |
], | |
[ | |
57.6, | |
70.5 | |
], | |
[ | |
67.8, | |
91 | |
], | |
[ | |
76.5, | |
130 | |
], | |
[ | |
84, | |
207 | |
] | |
], | |
"name": "Col3", | |
"type": "line", | |
"marker": { | |
"radius": 3 | |
} | |
}, | |
{ | |
"data": [ | |
[ | |
1.2, | |
-1.4 | |
], | |
[ | |
19.3, | |
-0.4 | |
], | |
[ | |
37.3, | |
0.4 | |
], | |
[ | |
48, | |
0.9 | |
], | |
[ | |
57.6, | |
1.4 | |
], | |
[ | |
67.8, | |
2 | |
], | |
[ | |
76.5, | |
2.5 | |
], | |
[ | |
84, | |
2.7 | |
] | |
], | |
"name": "Col4", | |
"type": "line", | |
"marker": { | |
"radius": 3 | |
} | |
} | |
], | |
"xAxis": { | |
"title": { | |
"text": "Col1" | |
} | |
}, | |
"subtitle": { | |
"text": null | |
}, | |
"id": "chart1a74677fde0d", | |
"chart": { | |
"renderTo": "chart1a74677fde0d" | |
} | |
}); | |
}); | |
})(jQuery); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment