Skip to content

Instantly share code, notes, and snippets.

@saurfang
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurfang/294eef26d5102c8145da to your computer and use it in GitHub Desktop.
Save saurfang/294eef26d5102c8145da to your computer and use it in GitHub Desktop.
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='//code.jquery.com/jquery-1.9.1.min.js' type='text/javascript'></script>
<script src='//code.highcharts.com/highcharts.js' type='text/javascript'></script>
<script src='//code.highcharts.com/highcharts-more.js"' type='text/javascript'></script>
<script src='//code.highcharts.com/modules/exporting.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
margin-left: auto;
margin-right: auto;
width: 800px;
height: 400px;
}
</style>
</head>
<body >
<div id = 'chart14ec28cd3009' class = 'rChart highcharts'></div>
<script type='text/javascript'>
(function($){
$(function () {
var chart = new Highcharts.Chart({
"dom": "chart14ec28cd3009",
"width": 800,
"height": 400,
"credits": {
"href": null,
"text": null
},
"exporting": {
"enabled": false
},
"title": {
"text": "top n speakers"
},
"yAxis": [
{
"title": {
"text": "msgCnt"
}
}
],
"series": [
{
"data": [
[
"199324957",
2
],
[
"21248331",
25
],
[
"2317757855",
8
],
[
"2431337263",
10
],
[
"304825802",
64
]
],
"name": " ",
"type": "scatter",
"marker": {
"radius": 3
}
},
{
"data": [
[
"1534574360",
5
]
],
"name": "浼犺",
"type": "scatter",
"marker": {
"radius": 3
}
},
{
"data": [
[
"1060958091",
155
],
[
"11440033",
168
],
[
"1259603175",
1
]
],
"name": "澶х",
"type": "scatter",
"marker": {
"radius": 3
}
},
{
"data": [
[
"107005566",
4
],
[
"1417936287",
2
],
[
"258252204",
6
]
],
"name": "绮捐嫳",
"type": "scatter",
"marker": {
"radius": 3
}
},
{
"data": [
[
"247103527",
39
]
],
"name": "灏忕櫧",
"type": "scatter",
"marker": {
"radius": 3
}
},
{
"data": [
[
"1000000",
1
],
[
"1827292713",
8
],
[
"2649447211",
72
]
],
"name": "鏂颁汉",
"type": "scatter",
"marker": {
"radius": 3
}
},
{
"data": [
[
"10000",
3
],
[
"1126265790",
2
],
[
"1792721412",
1
],
[
"2478272344",
8
]
],
"name": "鍏冭€㠼㸱",
"type": "scatter",
"marker": {
"radius": 3
}
}
],
"xAxis": [
{
"title": {
"text": "id"
},
"categories": [ "10000", "1000000", "1060958091", "107005566", "1126265790", "11440033", "1259603175", "1417936287", "1534574360", "1792721412", "1827292713", "199324957", "21248331", "2317757855", "2431337263", "247103527", "2478272344", "258252204", "2649447211", "304825802" ]
}
],
"subtitle": {
"text": null
},
"id": "chart14ec28cd3009",
"chart": {
"renderTo": "chart14ec28cd3009"
}
});
});
})(jQuery);
</script>
<script></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment