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 ✅

## But not when deployed to production ❌

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

## Prod ❌

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