You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/10/21 04:19:05 UTC

[GitHub] [incubator-echarts] JiangYuCoder removed a comment on issue #11438: 柱状图 splitArea areaStye color 未按数组颜色顺序进行渲染

JiangYuCoder removed a comment on issue #11438: 柱状图 splitArea areaStye color 未按数组颜色顺序进行渲染
URL: https://github.com/apache/incubator-echarts/issues/11438#issuecomment-544317735
 
 
   `app.title = '坐标轴刻度与标签对齐';
   
   option = {
       color: ['#3398DB'],
       tooltip : {
           trigger: 'axis',
           axisPointer : {            // 坐标轴指示器,坐标轴触发有效
               type : 'shadow'        // 默认为直线,可选为:'line' | 'shadow'
           }
       },
       grid: {
           left: '3%',
           right: '4%',
           bottom: '3%',
           containLabel: true
       },
       xAxis : [
           {
               type : 'category',
               data : ['1', '2', '3', '4', '5', '6', '7','8'],
               axisTick: {
                   alignWithLabel: true
               },
               splitArea:{
                   show:true,
                   areaStyle:{
                       color:['green','red','red','red','red','red','red','black']
                   }
               }
           }
       ],
       yAxis : [
           {
               type : 'value'
           }
       ],
       series : [
           {
               name:'直接访问',
               type:'bar',
               barWidth: '60%',
               data:[10, 52, 200, 334, 390, 330, 220,100]
           }
       ]
   };
   `

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


With regards,
Apache Git Services

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