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 2022/08/29 21:14:56 UTC

[GitHub] [echarts] FirstVertex opened a new issue, #17591: [Bug] insideBottomLeft label position not work with rich fontSize

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

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/disk-usage-forked-qc81o3?file=/index.js:879-895
   
   ### Steps to Reproduce
   
   1. see the codesandbox index.js
   2. notice the label position is "insideBottomLeft"
   3. see it is using the rich.a for the first line of the label
   4. notice rich.a has the fontSize of 18
   
   ### Current Behavior
   
   Label is displayed in top left
   
   ### Expected Behavior
   
   I asked label to please display in bottom left and she went to the top left instead
   
   ### Environment
   
   ```markdown
   independent of environment: see codesandbox
   ```
   
   
   ### Any additional comments?
   
   try to delete the rich and notice the label went to the right spot


-- 
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.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] [echarts] ZeekoZhu commented on issue #17591: [Bug] insideBottomLeft label position not work with rich fontSize

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

   https://github.com/ZeekoZhu/echarts/blob/81321a63a91d98378114153d446a2713e9c10844/src/chart/treemap/TreemapView.ts#L996-L1009
   
   After debugging, I found out that the above code may be causing this issue. I am still investigating if I can safely remove these lines


-- 
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] [echarts] echarts-bot[bot] commented on issue #17591: [Bug] insideBottomLeft label position not work with rich fontSize

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

   This issue is labeled with `difficulty: easy`.
   @FirstVertex Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓


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