RahulVishK opened a new issue, #17654:
URL: https://github.com/apache/echarts/issues/17654

   ### What problem does this feature solve?
   
   when there are mutiple Series , markline should start from center of axis 
Tick of category axis , even there are mu;tiple series 
   
   
![image](https://user-images.githubusercontent.com/97290751/190402709-7cbe0e6e-ec2b-4473-a9cf-abcb33eebe20.png)
   
   
   option = {
     title: {
       text: 'World Population'
     },
     tooltip: {
       trigger: 'axis',
       axisPointer: {
         type: 'shadow'
       }
     },
     legend: {},
     grid: {
       left: '3%',
       right: '4%',
       bottom: '3%',
       containLabel: true
     },
     xAxis: {
       type: 'value',
       boundaryGap: [0, 0.01]
     },
     yAxis: {
       type: 'category',
       data: ['Brazil', 'Indonesia', 'USA', 'India', 'China', 'World'],
       axisTick:{
         alignWithLabel :true
       }
     },
     series: [
       {
         name: '2011',
         type: 'bar',
         data: [18203, 23489, 29034, 104970, 131744, 630230],
         markLine: {
           data: [
             {
               yAxis: 'World',
               lineStyle: {
                 color: 'red',
                 width: 5,
                 type: 'solid'
               }
             }
           ]
         }
       },
       {
         name: '2012',
         type: 'bar',
         data: [19325, 23438, 31000, 121594, 134141, 681807],
         markLine: {
           data: [
             {
               yAxis: 'World',
               lineStyle: {
                 color: 'red',
                 width: 5,
                 type: 'solid'
               }
             }
           ]
         }
       }
     ]
   };
    
   
   
   
   
   ### What does the proposed API look like?
   
   
![image](https://user-images.githubusercontent.com/97290751/190403077-8f804440-84f5-4003-8cda-7178aeb4f1ed.png)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to