[Bug] yAxis with max < 1e-19 triggers assertion error in v6.1.0
@100pah がすでに取り組んでいます。
2026年6月11日 から。
評価
この issue はまだ評価されていません。
説明
Version
6.1.0
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/pensive-dewdney-vspmvt
Steps to Reproduce
- Open CodeSandbox link
- See displayed error because chart cannot render
- Change max value in value yAxis from 2.324097633474072e-20 to 2.324097633474072e-19
- Chart renders now
Current Behavior
When yAxis.max is smaller than approximately 1e-19 (for example 2.324097633474072e-20), calling chart.setOption() throws an assertion error and the chart fails to render.
The error originates from IntervalScale.setConfig and propagates through the axis tick calculation (axisNiceTicks / axisHelper).
The same configuration works correctly in ECharts 6.0.0, so this appears to be a regression introduced in 6.1.0.
Expected Behavior
The chart should render successfully regardless of how small the numeric yAxis.max value is, as long as it is a valid finite number.
Very small values (such as 2.324097633474072e-20) should be handled correctly during axis tick calculation without triggering an assertion error or causing chart.setOption() to fail.
Environment
- OS: Ubuntu 22.04.4 LTS
- Browser: Firefox 151.0
- Framework: Angular@21
Any additional comments?
I was initially unable to reproduce the issue in the official ECharts example editor because it currently appears to use ECharts 6.0.0 (or lower?), where the issue does not occur.
The assertion error is reproducible only with ECharts 6.1.0. Therefore, a standalone reproduction (e.g. CodeSandbox using 6.1.0) is required to observe the problem.
- 主要言語
- TypeScript
- スター
- 67.7k
- フォーク
- 19.9k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/echarts のほかの issue
-
[Bug] String formatter templates only replace the first occurrence of `{a}`/`{b}`/`{c}`対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンen pending
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
-
[Bug] Inverse axis collapses the grid with outerBoundsContain when a tick is near the axis edge対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンen pending
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
en pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
en pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
[Bug] The zoom cursor in the toolbox area is incorrect対応中かも @waterWang が 98 日前に担当しました。 オープンbug en pending
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
pollen-robotics/reachy-mini-desktop-app#341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
mike-north/AgentMonitors#648 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/ui#700 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信