echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] In dark mode, the graph-circular's nodes do not use `option.color` for rendering colors.

Open thep0y opened this issue 2 years ago • 3 comments

Version

5.4.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=graph-circular-layout

Steps to Reproduce

  1. Add a color array:

    var color = [
      "#E91E63", 
      "#03A9F4",
      "#4CAF50",
      "#9C27B0",
      "#FFC107",
      "#673AB7",
      "#009688",
      "#FF5722",
      "#795548",
      "#607D8B",
      "#FFEB3B",
      "#2196F3",
      "#8BC34A",
      "#CDDC39",  
      "#FF9800",
      "#9E9E9E",
      "#de7a74",
      "#00BCD4",
      "#3F51B5"
    ]
    
  2. Set option.color to color:

    option.color = color
    
  3. Switch to dark mode

Current Behavior

In dark mode, the node colors does not use the custom option.color.

Expected Behavior

In both dark mode and light mode, the nodes should use the colors from option.color.

Environment

- OS: macOS Ventura
- Browser: Safari 16.5.2, Firefox 102.13.0esr, and Edge 114.0.1823.82
- Framework: React@18

Any additional comments?

No response

thep0y avatar Jul 19 '23 05:07 thep0y

I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.

Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.

A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.

Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.

echarts-bot[bot] avatar Jul 19 '23 05:07 echarts-bot[bot]

any updates about this issue ? it's still reproduceable with v5.5.1

Nabeeh-AlSawaf avatar Aug 15 '24 09:08 Nabeeh-AlSawaf

any updates about this issue ? it's still reproduceable with v5.5.1

The maintainers of this project aren't very active in maintaining it anymore, so I've switched to antv.

thep0y avatar Aug 16 '24 00:08 thep0y