maicWorkGithub commented on issue #12205: yAxis 宽度无效 URL: https://github.com/apache/incubator-echarts/issues/12205#issuecomment-592324086 还是不对,看这个示例,这俩宽度明显不一样 ``` option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' }, formatter: '{b}: <br/>{c}人' }, grid: { left: 0, right: 0, top: '9%', bottom: 0, containLabel: true }, yAxis: { type: 'value', show: true, axisLine: { show: true, lineStyle: { color: '#36445f', width: 8 } }, splitLine: { show: false }, axisTick: { show: false }, axisLabel: { show: false } }, xAxis: { type: 'category', data: ['a', 'b', 'c'], splitLine: { show: false }, axisTick: { show: false, }, axisLine: { show: true, lineStyle: { color: '#36445f', width: 8 } } }, series: [ { name: '', type: 'bar', barWidth: 30, itemStyle: { color: new echarts.graphic.LinearGradient( 0, 0, 0, 1, [ { offset: 0, color: '#51baf5' }, { offset: 1, color: '#5173f5' }, ] ), }, label: { normal: { show: true, position: 'top', color: '#eaa24e' } }, data: [1, 2, 3] }, ] }; ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
