CnBDM-Su commented on issue #19259:
URL: https://github.com/apache/echarts/issues/19259#issuecomment-1790250982

   > ah, **now** you have a point. Y-axis type _category_ does not allow 
[xAxis.axisLine.onZero](https://echarts.apache.org/en/option.html#xAxis.axisLine.onZero)
 to be set, so Y-axis zero lines won't be visible. I think the closest to what 
you want is this - [Demo 
Code](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMgL4A0asA5gE4QAmhA2uekrNgKYBmYhADCbADudMAAtCAcgAsAVgCkEgQGMYYAIYRoAGTUAjdtkJgqAV3axSzZGy49YEmbwUDhtMZNnPYK6Os079QwxTdiJyAF0ydFo1dQBndjtUdHQ44BMqJXZGK3QGCTUAD0UJXTUqEuxNdglI3NgGAFoARgFeADpW2A7mupSUpoAmNvbh7tHI2HqAemmGXlgBAUnZtVpaWAB-eoYAZhH98d2-_oapEfPxqRP-hhkR-_HB8KsX9Et0QoBBQog4xiQRT-WmqhFYMAAWuwqMAjCELKRkNQ6ABJaC0diFfDNIgnACePz-ALAeJA2XsSli7AowCoeIkiKQJLJkkpYGptPpAmRtDRGKxOJOCRo7H-DSsTNJ5NK5QkFiiKUlLPsVWgNQE31-cT5mOxAgJWp1AuUMDVSjAADkTNhsP9jGYLBEUEQANxAA).
 See also [this 
example](https://echarts.apache.org/examples/en/editor.html?c=bar-histogram). 
![image](https://user-images.githubusercontent.com/13038071/279785218-88ab9fc6-4119-4c
 c3-99c1-f9328d9a7a2c.png)
   
   @helgasoft 
   Thanks for your help. Yes, I know if both plot is category axis, it can do 
like this. However, in my case, the both y axis is value type. I know the 
category axis can be pretended as a continuous axis, but it takes a lot of work 
to align the axis ticks and change barwidth. So I am asking a easy way to share 
axis. 


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