1

In a flot graph depending on the viewers timezone setting the points may or may not fall on vertical grid bars. Actually, only when the local timezone is set to utc the points are on the date bars. This does make sense as the time the sample refers to is not the same clock-time in all timezones.

However, for an application I want to turn this behavior off and display the same graph whatever the local machine's timezone is.

For that I thought I might be somehow able to set the timezone for the script to UTC (not changing the setting in Windows. Is this possible?

asked Mar 12, 2011 at 1:01

1 Answer 1

1

The API documentation may be of help, scroll down to the section "Time series data". I think that this may help you to solve your problem:

http://people.iola.dk/olau/flot/API.txt

answered Mar 12, 2011 at 1:12
Sign up to request clarification or add additional context in comments.

4 Comments

A RTFM type of answer, but fair enough.
@Majid Sorry it wasn't intended that way, the third paragraph seems to address your question.
I know, don't worry; I didn't find it insulting. Besides, the address you provided, did help. Thanks.
The documentation is pretty good once you find the section you need.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.