Apexcharts-Card: hide future values

Hi there,

I am building a meaningful energy chart so that we get a good overview of our energy production and consumption in real-time.

To do so, I am using the Apexcharts card and got some good results so far. However, one thing is bothering me.

How do you get the chart to not show the future values (ie. extrapolate)?
Simply put: how do you get rid of the lines after the current time (red arrows in the picture)?

Here is my configuration so far:

type: custom:apexcharts-card
header:
  show: true
  title: ApexCharts-Card
  show_states: true
  colorize_states: true
update_interval: 1m
graph_span: 18h
span:
  start: day
  offset: +5h
now:
  show: true
  label: Echtzeit
series:
  - entity: sensor.solarnet_power_photovoltaics
    name: PV Produktion
    stroke_width: 3
    group_by:
      func: last
      duration: 1m
    show:
      extremas: true
    color: AEF359
  - entity: sensor.solarnet_leistung_netzbezug
    name: Netzbezug
    stroke_width: 3
    group_by:
      func: last
      duration: 3m
    color: fec96e
  - entity: sensor.solarnet_leistung_netzeinspeisung
    name: Einspeisung
    stroke_width: 3
    group_by:
      func: last
      duration: 3m
    color: 767f8e
  - entity: sensor.solarnet_leistung_verbrauch
    name: Verbrauch
    stroke_width: 3
    group_by:
      func: last
      duration: 3m
    show:
      extremas: true
    color: ff4226

Thanks!

Okay, that was easy: simply set the “extend_to” series option to false.