Custom Offset/end time for ApexCharts

First off, I’m not 100% sure which would be the right section for this, none of them seem to fit, if there’s a more appropriate one let me know.

So I’ve got Apex Charts graphing my Solar panels on a dashboard.

I’m currently using:

graph_span: 14h
span:
start: day
offset: +6h

That gets me from 6am to 8pm.

What I’m curious about is if I could use a variable from a sensor, along with some Helpers probably to get the graph to be more like:

graph_span: ( - )h
span:
start: day
offset: +h

That’d make each day unique to the predicted hours of sunlight, which tend to be broadly accurate.