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 2020/04/11 05:43:49 UTC

[GitHub] [incubator-echarts] ihakh opened a new issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'

ihakh opened a new issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'
URL: https://github.com/apache/incubator-echarts/issues/12415
 
 
   ### Version
   4.7.0
   
   ### Steps to reproduce
   in this example https://echarts.apache.org/examples/en/editor.html?c=watermark
   add these lines to yAxis:
   ```
           name:'some longe name',
           nameLocation:'center',
   ```
   ![image](https://user-images.githubusercontent.com/45719816/79036389-0b8cff00-7bdd-11ea-85f1-31ae93e7c463.png)
   
   ### What is expected?
   the name comes after the longest label name automatically
   
   ### What is actually happening?
   the name and label overlaps
   
   ---
   we can fix it by nameGap for a certain resolution
   but it is not dynamic and on different resolution the it may be wrong
   besides when using a dynamic charts when the label length is unknown we can not be sure how much nameGap  we must consider
   
   <!-- 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


With regards,
Apache Git Services

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


[GitHub] [echarts] locinus commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'

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


   Same here. Any development?
   That renders terribly, and calculating manually nameGap is quite error-prone.
   ![image](https://user-images.githubusercontent.com/29314302/159970953-76882265-cdef-4c42-950c-15905d196ac3.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-unsubscribe@echarts.apache.org

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] [incubator-echarts] echarts-bot[bot] commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'
URL: https://github.com/apache/incubator-echarts/issues/12415#issuecomment-612335683
 
 
   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 questions.
   
   If you are interested in the project, you may also subscribe our [mail 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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] yufeng04 commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'

Posted by GitBox <gi...@apache.org>.
yufeng04 commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'
URL: https://github.com/apache/incubator-echarts/issues/12415#issuecomment-612920704
 
 
   This configuration item should be enhanced. Maybe you can use [nameGap](https://echarts.apache.org/en/option.html#yAxis.nameGap) temporarily.

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


[GitHub] [incubator-echarts] ArturMiszkowicz commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'

Posted by GitBox <gi...@apache.org>.
ArturMiszkowicz commented on issue #12415:
URL: https://github.com/apache/incubator-echarts/issues/12415#issuecomment-692669973


   i have same issue, i think if `nameLocation: middle`, it should automatically calculate axis longest label and place `name` accordingly


----------------------------------------------------------------
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] [incubator-echarts] tsanie commented on issue #12415: axis name and label overlaps when the nameLocation is 'center' or 'middle'

Posted by GitBox <gi...@apache.org>.
tsanie commented on issue #12415:
URL: https://github.com/apache/incubator-echarts/issues/12415#issuecomment-647347786


   I have the same issue, waiting for an option like [grid.containLabel](https://echarts.apache.org/en/option.html#grid.containLabel).


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