Created
August 5, 2014 11:23
-
-
Save nyilmaz/3a3cfa3a074028811187 to your computer and use it in GitHub Desktop.
This file contains 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Mailing</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script src="http://code.highcharts.com/highcharts.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
var options = { | |
chart: { | |
renderTo: 'container', | |
type: 'spline' | |
}, | |
series: [{}] | |
}; | |
var data = [7,4,2,8,4,1,9,3,2,16,7,12]; | |
// $.getJSON('http://10.10.11.130:4848/metrics', function(data) { | |
options.series[0].data = data; | |
var chart = new Highcharts.Chart(options); | |
// }); | |
}); | |
</script> | |
</head> | |
<body> | |
<div id="container"></div> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment