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 2021/03/12 17:52:54 UTC

[GitHub] [echarts] dzik1331 opened a new issue #14462: Invisible y axis

dzik1331 opened a new issue #14462:
URL: https://github.com/apache/echarts/issues/14462


   ### Version
   5.0.2
   
   ### Steps to reproduce
   https://echarts.apache.org/v4/examples/en/editor.html?c=line-simple
   
   https://echarts.apache.org/examples/en/editor.html?c=line-simple
   
   ### What is expected?
   This is basic example from v4 https://echarts.apache.org/v4/examples/en/editor.html?c=line-simple and there y axis line is visible but in all examples from latest version y axis line is invisible
   https://echarts.apache.org/examples/en/editor.html?c=line-simple.
   
   What to do to get the line back?
   
   ### What is actually happening?
   I updated my project from version 4 to the latest and now there is no Y-axis line in the charts
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14462: Invisible y axis

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14462:
URL: https://github.com/apache/echarts/issues/14462#issuecomment-797654660


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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



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


[GitHub] [echarts] ssthouse commented on issue #14462: Invisible y axis

Posted by GitBox <gi...@apache.org>.
ssthouse commented on issue #14462:
URL: https://github.com/apache/echarts/issues/14462#issuecomment-860647282


   @dzik1331 Hi, this seems to be the expected result. The y-axis is hidden when x-axis's type is `value` or `log` by default.
   
   you can check this commit which introduces this logic: https://github.com/apache/echarts/commit/4acb689f0b28f42165e99e5c9c148def12d29b2a
   
   ---
   
   Also, you can force the y-axis to show by implicity setting `axisTick.show` and `axisLine.show` to true. like this:
   
   ```
   option = {
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           show:true,
           type: 'value',
           axisTick:{
             show:true,  
           },
           axisLine:{
               show: true
           },
       },
       series: [{
           data: [150, 230, 224, 218, 135, 147, 260],
           type: 'line'
       }]
   };
   ```
   
   ![image](https://user-images.githubusercontent.com/10973821/121892565-8573c780-cd4f-11eb-93a9-f653ae497fa5.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.

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



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