Open JbfGod opened 1 month ago
@JbfGod 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. 🤗
first - your Minimal Reproduction code is too large, not minimal. Please try to simplify. second - the sample pictures do not correspond to the code output, they show more data. third - the code creates already the bottom two rectangles, they are just not well visible
🚩 Please follow Official posting guidelines (below). Note that questions about usage, "how to" or extensive debugging shouldn't be addressed here.
The issue list is reserved exclusively for bug reports and feature requests. For usage questions, please use the following resources:
Another good resource is website makeapie.cn with many code examples.
first - your Minimal Reproduction code is too large, not minimal. Please try to simplify. second - the sample pictures do not correspond to the code output, they show more data. third - the code creates already the bottom two rectangles, they are just not well visible
🚩 Please follow Official posting guidelines (below). Note that questions about usage, "how to" or extensive debugging shouldn't be addressed here.
The issue list is reserved exclusively for bug reports and feature requests. For usage questions, please use the following resources:
- Read the docs
- Find in examples
- Look for / ask questions on Stack Overflow
Another good resource is website makeapie.cn with many code examples.
我已按照你的要求,尝试简化了代码和问题的叙述,你可以在codesandbox中复现我所说的问题
Version
5.5.1
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/echart-custom-vpz6xs?file=%2Fpackage.json
Steps to Reproduce
Current Behavior
当我在自定义组件中,添加了文本组件,初始化的时候图表的渲染是正常的,但是当我尝试移动x轴,图表渲染会出现混乱。 如下图: 【初始化的时候,正常显示】
【当我移动x轴时,原本应该绘制在坐标轴内的矩形,出现在了外面】
【当我注释掉绘制的文本组件的代码,图表会正常的渲染,绘制的矩形不会出现在坐标轴外】
Expected Behavior
我不明白为什么我添加一个简单的文本组件后,它会让原本正常绘制的矩形出现在坐标轴外
Environment
Any additional comments?
No response