100pah commented on issue #9181: xAxis.axisTick.interval设置为0、1、2无效,xAxis.axisLabel.interval设置有效 URL: https://github.com/apache/incubator-echarts/issues/9181#issuecomment-428885255 在 4.2.0 版本中测试。这样设置 axisTick.interval 是有效的。 ```js var data = []; for (var i = 0; i < 100; i++) { data.push([ i, Math.random() ]); } option = { tooltip: { trigger: 'axis', }, xAxis: [{ type: 'category', axisTick: { interval: 5 } }], yAxis: { }, series: [{ type: 'line', data: data }] }; ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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]
