RomRider / apexcharts-card

📈 A Lovelace card to display advanced graphs and charts based on ApexChartsJS for Home Assistant
MIT License
1.16k stars 78 forks source link

Extend_to: end changing the end of another series #712

Closed i00 closed 1 month ago

i00 commented 4 months ago

Checklist

Describe the bug When I extend a series to the end it "closes" another series: In this the series that is the horizontal line in the following graph (Backup) it is extended to end - as can be seen it also affects Charge: image This is without the extend_to: image

Version of the card Version: 2.0.4

To Reproduce This is the configuration I used:

type: custom:apexcharts-card
span:
  start: day
graph_span: 24h
all_series_config:
  extend_to: false
  group_by:
    func: avg
    duration: 15m
  yaxis_id: Power
series:
  - entity: sensor.my_home_charge
    yaxis_id: Battery
    name: Charge
    color: var(--energy-battery-in-color)
    opacity: 1
    type: line
    stroke_width: 4
    show:
      in_header: true
  - entity: sensor.my_home_backup_reserve
    yaxis_id: Battery
    name: Backup
    type: line
    stroke_width: 2
    color: var(--energy-battery-in-color)
    opacity: 0.5
    extend_to: end
  - entity: sensor.myenergi_bowler_power_charging
    name: EV Load
    color: var(--energy-battery-out-color)
    invert: true
yaxis:
  - max: 100
    min: 0
    id: Battery
    decimals: 0
  - id: Power
    opposite: true

Expected behavior The Charge should not be affected.

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 10 days with no activity.