xxxxxxxxxx
%%javascript
Highcharts.chart('container',{
xAxis:{categories:['Jan','Feb','Mar','Apr','May','Jun',
'Jul','Aug','Sep','Oct','Nov','Dec']},
yAxis:{max:150,title:{text:'Temperature'}},
title:{style:{'color':'#aa36aa','fontSize':'24px'},
text:'Global Station Temperature'},
series:[{name:'2017',color:'#aa3636',
data:[113,141,137,115,122,76,108,110,96,115,105,115]},
{name:'2018',color:'#3636aa',
data:[103,114,121,120,100,86,106,90,89,111,97,121]}]
},function(chart){
var point=chart.series.data,
text=chart.renderer.text(point.plotX+chart.plotLeft+10,
point.plotY+chart.plotTop-10).add(),
box=text.getBBox();});
<script src='https://code.highcharts.com/highcharts.js'> </script> was added in the page head.
highcharts.js is launching here...
No comments:
Post a Comment