WelloHorld commented on issue #9384: 折线图中根据yAxis 的 max 回调函数动态设置 y 轴无效 URL: https://github.com/apache/incubator-echarts/issues/9384#issuecomment-445425262 > It works for me: > > ```js > option = { > xAxis: { > type: 'category', > data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] > }, > yAxis: { > type: 'value', > max: function (value) { > return value.max * 10; > } > }, > series: [{ > data: [820, 932, 901, 934, 1290, 1330, 1320], > type: 'line' > }] > }; > ``` I had try it,but it also didn't work. Otherwise, I have solved it by other method. Thanks a lot
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org