Timeseries Panel Hide Graph 0 value Sum ELasticsearch


I have a Time Series Panel with data from Elasticsearch and I use the Sum function but Grafana shows also a Graph with the value “0” when there is no data available for the time.
If the data is available then the graph is correct again.
I have added also a Screenshot how it looks like when there is currently for the time no data available.
Is there a way that Grafana only displays an graph when there is data available?
When I sue for example the Average function then everything is correct shown also when there is no data available yet.
I use Grafana Version v10.2.3.
Please let me know if more input is needed.
Thank you.