Skip to content

[Bug] borderWidth and borderColor in the tree chart doesn't work #21582

@enerit-developer-team

Description

@enerit-developer-team

Version

6.0.0

Link to Minimal Reproduction

https://jsfiddle.net/zhtk7mw1/

Steps to Reproduce

  1. Create a tree chart
  2. Try to set the border color using itemStyle.borderColor

Current Behavior

itemStyle.borderColor and itemStyle.borderWidth is ignored, itemStyle.color is treated as itemStyle.borderColor. Item color in the middle is always white. Interestingly, itemStyle.borderType behaves according to the docs.

Expected Behavior

Properties mentioned above behave according to the documentation.

Environment

- OS:
- Browser: 
- Framework:

Any additional comments?

In Issue: #15578 it has been recommended to set the symbol to circle. This however causes a new bug: this way it is impossible to tell apart a collapsed node with children, and an uncollapsed node without children.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions