Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radar chart: area style color #576

Open
RKonstantinR opened this issue Oct 9, 2023 · 0 comments
Open

radar chart: area style color #576

RKonstantinR opened this issue Oct 9, 2023 · 0 comments

Comments

@RKonstantinR
Copy link

How can I set a different color for an areaStyle for each series?

I try this code, but for each graph one color is set:

df <- data.frame(
  x = LETTERS[1:5],
  y = runif(5, 1, 5),
  z = runif(5, 3, 7)
)

df |>
  e_charts(x) |>
  e_radar(y, max = 7, 
          itemStyle=list(color="green"),
          areaStyle = list()) |>
  e_radar(z,
          itemStyle=list(color="red"),
          areaStyle = list()) |>
  e_tooltip(trigger = "item")

изображение

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

No branches or pull requests

1 participant