You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/07/23 10:26:45 UTC

[GitHub] JackSparrow1937 commented on issue #4678: 关于折线图y轴刻度自定义的问题

JackSparrow1937 commented on issue #4678: 关于折线图y轴刻度自定义的问题
URL: https://github.com/apache/incubator-echarts/issues/4678#issuecomment-407012062
 
 
   yAxis: {
                   type: 'value',
                   min: 0,
                   max: 100,
                   splitLine: { show: false },//去除网格线
                   axisLabel: {
                       formatter: function (value, index) {
                           var Yshat = [0, 20, 40, 60, 80, 100]
                           value = Yshat[index];
                           return value;
                       },
                   },
                   axisLine: {
                       lineStyle: {
                           color: 'white'
                       }
                   }
               },

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org