Ovilia commented on issue #18826:
URL: https://github.com/apache/echarts/issues/18826#issuecomment-1619442049

   I can't think of how to force using `-2` as the origin of yAxis. You can 
only do this (which is probably not what you want):
   
   ```
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
       axisLine: {
         onZero: false,
       }
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         data: [150, -230, 224, 218, 135, 147, 260],
         type: 'line'
       }
     ]
   };
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to