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

Wrong color in header value when using header_color_threshold and radialBar #683

Open
regystro opened this issue Mar 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@regystro
Copy link

Describe the bug
The header value is using gradient when chart_type: radialBar, and should use absolute color, to match the radialBar

Version of the card
Version: v2.0.4

To Reproduce

type: custom:apexcharts-card
experimental:
  color_threshold: true
header:
  show: true
  show_states: true
  colorize_states: true
chart_type: radialBar
series:
  - entity: sensor.memory_use_percent
all_series_config:
  show:
    header_color_threshold: true
  color_threshold:
    - value: 66
      color: green
    - value: 69
      color: red

Screenshots
image

Expected behavior
The header value 68.6% should be rendered green, with absolute threshold value color instead of the reddish coming from applying the linear gradient green -> red of the defined color_threshold

@regystro regystro added the bug Something isn't working label Mar 26, 2024
@brynyneuadd
Copy link

Yes, I've encountered the same bug - color thresholds don't appear to work with radialbar charts at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants