You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "nikeshparajuli (via GitHub)" <gi...@apache.org> on 2024/07/02 17:19:24 UTC

[I] [Bug] Series label overlap does not work as expected [echarts]

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

   ### Version
   
   5.4.1
   
   ### Link to Minimal Reproduction
   
   NA
   
   ### Steps to Reproduce
   
   NA
   
   ### Current Behavior
   
   ## In the following, I'm using a graph chart with the `hideOverlap` set to `true` in `labelLayout` setting. This works as expected in local dev environment ✅
   ![CleanShot 2024-07-02 at 13 09 12](https://github.com/apache/echarts/assets/47485043/6c903c84-3547-4ec5-b257-b81826535796)
   
   ## But not when deployed to production ❌
   ![CleanShot 2024-07-02 at 13 09 37](https://github.com/apache/echarts/assets/47485043/086bad18-b94a-4bff-b267-b4f47174a445)
   
   ## Am I missing something here?
   
   ### Expected Behavior
   
   The label overlap should work as expected when deployed to production
   
   ### Environment
   
   ```markdown
   - OS: macOS Sonoma
   - Browser: Brave
   - Framework: Nuxt 3
   ```
   
   
   ### Any additional comments?
   
   This also happens on pie charts:
   ## Local Dev ✅
   ![CleanShot 2024-07-02 at 13 13 07](https://github.com/apache/echarts/assets/47485043/97ce0ece-4a57-4e40-b813-00ac9d9d0b94)
   
   ## Prod ❌
   ![CleanShot 2024-07-02 at 13 14 06](https://github.com/apache/echarts/assets/47485043/b3a765ac-4c0e-4233-859e-aabdf5be8250)
   


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


Re: [I] [Bug] Series label overlap does not work as expected [echarts]

Posted by "nikeshparajuli (via GitHub)" <gi...@apache.org>.
nikeshparajuli commented on issue #20108:
URL: https://github.com/apache/echarts/issues/20108#issuecomment-2205055544

   @plainheart THANK YOU! This solved it. I owe you a beer.


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


Re: [I] [Bug] Series label overlap does not work as expected [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #20108:
URL: https://github.com/apache/echarts/issues/20108#issuecomment-2204859856

   I'm afraid you didn't import and use the `LabelLayout` feature.
   
   ```js
   import * as echarts from 'echarts/core';
   import { LabelLayout } from 'echarts/features';
   
   echarts.use([
     // ...
     LabelLayout,
     // ...
   ])
   ```


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


Re: [I] [Bug] Series label overlap does not work as expected [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #20108: [Bug] Series label overlap does not work as expected
URL: https://github.com/apache/echarts/issues/20108


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