:-: ![](https://box.kancloud.cn/c2e904601ac1d4765b5b1e289cad1670_468x312.gif) ## **坐标轴配置** ``` xAxis: { disableGrid:false, type:'grid', gridColor:'#CCCCCC', gridType:'dash', dashLength:8 }, yAxis: { disabled:true, disableGrid:true } ``` ## **完整配置** ``` new uCharts({ $this:_self, canvasId: canvasId, type: 'line', fontSize:11, legend:{show:true}, dataLabel:true, dataPointShape:true, background:'#FFFFFF', pixelRatio:_self.pixelRatio, categories: chartData.categories, series: chartData.series, animation: true, xAxis: { disableGrid:false, type:'grid', gridColor:'#CCCCCC', gridType:'dash', dashLength:8 }, yAxis: { disabled:true, disableGrid:true, }, width: _self.cWidth*_self.pixelRatio, height: _self.cHeight*_self.pixelRatio, extra: { lineStyle: 'straight' } }); ```