Skip to content

[codex] clarify tree emptyCircle itemStyle docs#506

Merged
Justin-ZS merged 1 commit intomasterfrom
codex/fix-tree-emptycircle-docs
Apr 21, 2026
Merged

[codex] clarify tree emptyCircle itemStyle docs#506
Justin-ZS merged 1 commit intomasterfrom
codex/fix-tree-emptycircle-docs

Conversation

@Justin-ZS
Copy link
Copy Markdown
Contributor

Summary

  • clarify that series.tree uses 'emptyCircle' by default and that its inner fill is reserved for collapsed-state indication
  • document that, with the default hollow symbol, itemStyle.color affects the outer ring while borderColor / borderWidth do not behave like they do on solid symbols
  • add the same clarification to both English and Chinese docs

Why

The current series-tree.itemStyle docs say that itemStyle.color is the node fill color. That is misleading for the default 'emptyCircle' symbol, and it makes issue reports like apache/echarts#21582 look like runtime bugs when the actual mismatch is in documentation.

Validation

  • npm run build
    • doc generation completed successfully
    • the build also reported a local asset-copy warning for missing public/js/doc-bundle.js, which is unrelated to these markdown changes

@Justin-ZS Justin-ZS marked this pull request as ready for review April 21, 2026 01:56
@Justin-ZS Justin-ZS merged commit 8cb1409 into master Apr 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant