Nothing is âwrongâ with your configuration, and it is not showing âone valueâ but rather the extension of the last plotted point until the end of the graph .
Time is a continuum that starts at the Big Bang and ends at the End Of All Time, with Now being somewhere in âthe middleâ.
A time-graph plots data over a range of time starting at a given time.
ApexCharts has three settings of importance for you - the graph-span (how wide the graph window), the span start (the time axis anchor) and the span-offset (shift of the view-window from ânowâ).
All ApexCharts time graphs will default to plotting ânowâ (today) and for today.
All Line series will default to automatically extending from the last point to the end of the graph. This leaves a flat line from the last point onwards (forever).
Your data points are all from 6 days ago.
Your graph is plotting all three data points, for 6 days ago.
You graph viewing window is for the last 2 days.
You will therefore see just the last data point extension.
All of your data points are plotted four days before the graph view. If you want to see the actual graph, you need the span - offset to shift the graph view window by, in this case, 6 days.
Working Thankâs!
I didnât catch that