chartjs-plugin-streaming icon indicating copy to clipboard operation
chartjs-plugin-streaming copied to clipboard

I want to set the minimum and maximum values of the x-axis to the server time. Is there a way?

Open JangCool opened this issue 2 years ago • 1 comments

I think, the local function Date.now() is used to set the x-axis time range. Is that right?

I want to set the minimum and maximum values of the x-axis to the server time. Is there a way?

@nagix I need your help.

image

JangCool avatar Dec 06 '21 09:12 JangCool

Setting the x-axis time range to match server time seems to be impossible as of today.

As a solution, I shifted the time of my data to fit the client's local time. The downside of this solution is that the x-axis doesn't represent the actual server time.

dorianbayart avatar Aug 25 '22 10:08 dorianbayart