You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "MasterJoyHunan (via GitHub)" <gi...@apache.org> on 2023/10/07 08:28:13 UTC
[I] [Bug] 饼图打包后 item 动画失效 [echarts]
MasterJoyHunan opened a new issue, #19175:
URL: https://github.com/apache/echarts/issues/19175
### Version
5.4.3
### Link to Minimal Reproduction
https://github.com/MasterJoyHunan/echarts-pie
### Steps to Reproduce
`npm run build:prod`之后,dist 目录打开 index.html 饼图动画效果与 `npm run dev` 的效果不一致
### Current Behavior

### Expected Behavior

### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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] 饼图打包后动画不一致 [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #19175:
URL: https://github.com/apache/echarts/issues/19175#issuecomment-1751673110
目前按需引入需要手动导入一下 `LabelLayout` feature,否则 build 时会被 tree-shaking 移除。
```ts
import { use } from 'echarts/core'
import { LabelLayout } from 'echarts/features'
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] 饼图打包后动画不一致 [echarts]
Posted by "MasterJoyHunan (via GitHub)" <gi...@apache.org>.
MasterJoyHunan closed issue #19175: [Bug] 饼图打包后动画不一致
URL: https://github.com/apache/echarts/issues/19175
--
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] 饼图打包后 item 动画失效 [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19175:
URL: https://github.com/apache/echarts/issues/19175#issuecomment-1751650010
@MasterJoyHunan It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] Item animation fails after pie chart is packaged
**BODY**
### Version
5.4.3
### Link to Minimal Reproduction
https://github.com/MasterJoyHunan/echarts-pie
### Steps to Reproduce
After `npm run build:prod`, the pie chart animation effect when opening index.html in the dist directory is inconsistent with the effect of `npm run dev`
### Current Behavior

### Expected Behavior

### Environment
```markdown
- OS:
-Browser:
- Framework:
```
### Any additional comments?
_No response_
</details>
--
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