$(document).ready(function(){
$('#container').highcharts({
data: {
table: document.getElementById('datatable')
},
chart: {
type: 'column'
},
title: {
text: 'Data extracted from a HTML table in the page'
},
yAxis: {
allowDecimals: false,
title: {
text: 'Units',
style:{
color:'red'
},
enabed:true
}
},
tooltip: {
formatter: function() {
return '<b>'+ this.series.name +'</b><br/>'+
this.y +' '+ this.x;
}
},exporting: { enabled: false },//隐藏导出图片
credits: { enabled: false }//隐藏highcharts的站点标志
});
});
更多功能,访问:
http://www.hcharts.cn/demo/index.php?p=28
Highcharts如何隐藏导出按钮和网址脚标
最新推荐文章于 2019-03-27 17:16:35 发布