Replies: 1 comment 5 replies
-
Not sure exactly what you mean by only importing -2h until +32h
This takes data all the way to the top but adds a 5 unit gap |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
does anyone have any idea, how to set the Apexcharts data_generator to import only hours -2h until +32h?
I know, I can adjust the graph_span and offset, which shows me the data I want, but unfortuntely the scaling in Apexcharts is wrong then.
Here the y-axis is up to 32cent, while the max shown data value is just 26cent. Thats becaue there is data close to 32cent in the data generator, that is filtered out by the graph_span and offset but still affecting the max displayed value on y-axis. By limiting the data_importer to just import the timeframe I want to display, this could be worked around.
Current:

Wanted:

data_generator: >
return entity.attributes.data.map((entry, index) => { return [new
Date(entry.start_time).getTime(), entry.price_ct_per_kwh]; });
Thank you
Oliver
Beta Was this translation helpful? Give feedback.
All reactions