highcharts中设置被x轴和y轴围在里面的背景色

来源:互联网 发布:龙江网络 客服电话多少 编辑:程序博客网 时间:2024/05/17 22:12

highcharts中设置被x轴和y轴围在里面的背景色


如果y轴标签单位被覆盖,则设置margintop和marginright

在charts属性中设置,如下

 chart: {        marginRight: 20,            marginTop: 20,            type: 'spline',            zoomType: 'xy' ,          backgroundColor: 'transparent',          plotBackgroundColor: '#052808',}




原创粉丝点击