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

Chart header history becomes white. #801

Open
Krolik1988 opened this issue Oct 22, 2024 · 0 comments
Open

Chart header history becomes white. #801

Krolik1988 opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Krolik1988
Copy link

Describe the bug
If I use HTML color code, then header color become white and chart color applies.

Version of the card
Version: 2.1.2

To Reproduce
Try to use HTML color code in series block instead of name "yellow" . As Example:
color: cb7425

This is the configuration I used:

type: custom:apexcharts-card
header:
  show: true
  title: XMR
  show_states: true
  colorize_states: true
update_interval: 2s
graph_span: 3d
experimental:
  brush: true
apex_config:
  tooltip:
    enabled: true
  yaxis:
    - shown: true
      labels:
        style:
          colors: white
          fontSize: 14px
      forceNiceScale: true
    - show: true
      opposite: true
      decimalsInFloat: 0
  xaxis:
    axisBorder:
      show: true
    labels:
      style:
        fontSize: 12px
    chart:
      height: auto
    gird:
      show: false
    legend:
      show: true
    dataLabels:
      enabled: true
    stroke:
      width: 1
series:
  - entity: sensor.xmr_balance
    type: line
    fill_raw: last
    float_precision: 6
    color: cb7425
    data_generator: ""
    group_by:
      duration: 10min
      func: avg
    show:
      in_brush: true
      in_chart: true
  - entity: sensor.xmr_hashrate
    type: line
    fill_raw: last
    data_generator: ""
    show:
      in_brush: false
      in_chart: false
  - entity: sensor.xmr_hashes
    type: line
    fill_raw: last
    data_generator: ""

Screenshots
Screenshot from 2024-10-22 03-56-36
Screenshot from 2024-10-22 03-59-59

Expected behavior
Header legend color changes color to chosen.

Desktop (please complete the following information):

  • Firefox
  • 131.0.3 (64-bit)

Thanks you, and have a good day.

@Krolik1988 Krolik1988 added the bug Something isn't working label Oct 22, 2024
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

1 participant