$(function () {
$('#Line_<%=index.getIndex_set_id()%>').highcharts({
title: {
text: '<%=showName%>',
align: 'left',
x: 0
},
chart:{
backgroundColor: '#eee', //设置图表背景色为白色
height:180,
width:285
},
xAxis: {
categories: [<%=categories%>],
tickWidth:0, //设置刻度标签宽度
lineColor:'#ffffff',//设置坐标颜色
lineWidth:0, //设置坐标宽度
labels:{
enabled:false
}
},
yAxis: {
title:'',
gridLineWidth: 1, //设置横向分区线宽度
lineColor:'#ffffff',//设置y轴颜色
labels:{
enabled:false
}
},
Highcharts折线图,去掉x轴y轴刻度与刻度名称
最新推荐文章于 2024-04-12 16:24:28 发布