:-: ![](https://box.kancloud.cn/e1edec1ebb127d78c67b1882f91a82a3_468x312.gif) ## **坐标轴配置** ``` yAxis: { disabled: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: { type:'grid', gridColor:'#CCCCCC', gridType:'dash', dashLength:8 }, yAxis: { disabled:true, gridType:'dash', gridColor:'#CCCCCC', dashLength:8, splitNumber:5, min:10, max:180, format:(val)=>{return val.toFixed(0)+'元'} }, width: _self.cWidth*_self.pixelRatio, height: _self.cHeight*_self.pixelRatio, extra: { lineStyle: 'straight' } }); ```