:-: ![](https://box.kancloud.cn/fb5323b33c7d5a66d06aae9d001468b6_468x312.gif) ## **基本配置** ``` legend:{show:false} ``` ## **完整配置** ``` new uCharts({ $this:_self, canvasId: canvasId, type: 'line', fontSize:11, legend:{show:false}, 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: { 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' } }); ```