Long Time Statistics not showing up in Graph (BAR CARD etc)

I have the problem that the long time date from my humidty sensor arent use to calculate humidity plus they dont show up in any lovelace card - the graph simply starts when lts data ends - but it is visible here:

Any clue why this happens?!

Whatever lovelace graph card you are using, it must have explicit support for long-term statistics.

apexchart, history-explorer, plotly custom cards all do.
The builtin “History graph card” doesn’t, afaik, paradoxically.

ahh ok that sounds good - will try with plotly thanks

Ok…I now tried with apex card ….vut got the problem again the graph doesn’t start when it should….
28days offset…
There are more then enough data points…
Any clue why?



Here is my config: type: custom:apexcharts-card
graph_span: 30d
span:
start: day
offset: ‘-28d’
header:
show: true
title: ApexCharts-Card
show_states: true
colorize_states: true
series:

  • entity: sensor.average_humidity_7_days
    name: 7days
    type: line
    show:
    extremas: true
    statistics:
    period: day
  • entity: sensor.average_humidity_14_days
    name: 14days
    type: line
    statistics:
    period: day
    show:
    extremas: true
  • entity: sensor.average_humidity_21_days
    name: 21days
    type: line
    show:
    extremas: true
    statistics:
    period: day
  • entity: sensor.average_humidity_28_days
    name: 28days
    type: line
    show:
    extremas: true
    statistics:
    period: day

this is how it looks

but when i create an ordinary statistics graph card - all values are there but i need more…

Looks like you’re mixing pears and apples.

So that tells you have data up to the 10th June, and the apexchart version seems to show the same.
I suspect no statistics are generated for that sensor. It must have a proper state_class for statistics to be generated (measurement, total or total_increasing)

That’s for another sensor, which has statistics, apparently.

no it ist just for testing purposes i exchanged sensors to see if it works…
if I use the SWITCHBOT BANDED LUFFEUCHTIGKEIT in the APEX chart - data graph doesnt go back until 14th of may…
I have to sensors => Switchbot and Govee - the switchbot uses LTS DATA when longer than 7days the govee always declares any data as HISTORY data…
But none of them works for a correct graph in apex…
Also it doestn using plotly…
I use average sensors which are correctly configured:


in purple you see that when using the “real” sensor it does show the graph…