basic
by Bhabani Raju
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="height:400px;"></div>
JavaScript
var chart = new Highcharts.Chart({
chart: {
renderTo:'container',
borderWidth:1,
plotBorderWidth:1
},
title:{
text:'chart sdsitle'
},
subtitle:{
text:'chart subtitle'
},
credits:{enabled:false},
legend:{
},
plotOptions: {
series: {
shadow:false,
borderWidth:0,
}
},
xAxis:{
lineColor:'black',
lineWidth:1,
tickColor:'red',
tickLength:3,
title:{
text:'X Axis Title'
}
},
yAxis:{
lineColor:'yellow',
lineWidth:1,
tickColor:'green',
tickWidth:1,
tickLength:3,
gridLineColor:'blue',
color:'red',
title:{
text:'Y Axis Title',
rotation:-15,
margin:5,
}
},
series: [{
data: [7,12,16,32,64]
}]
});