Skip to content

Instantly share code, notes, and snippets.

@jacaetevha
Created September 22, 2011 14:06
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 jacaetevha/1234854 to your computer and use it in GitHub Desktop.
Save jacaetevha/1234854 to your computer and use it in GitHub Desktop.
Highcharts without markers
<html>
<head>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js'>
</script>
<script type="text/javascript" src="http://highcharts.com/js/highcharts.js"></script>
<script type="text/javascript" src="http://highcharts.com/js/modules/exporting.js"></script>
<script type='text/javascript'>
var chart;
$(document).ready(function() {
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
defaultSeriesType: 'line'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
plotOptions: {
series: {
marker: {
fillColor: 'none',
lineColor: null
}
}
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
});
</script>
</head>
<body>
<div id="container" style="height: 400px"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment