Forum Replies Created by joshuasosa

Viewing 5 posts - 1 through 5 (of 5 total)
  • in reply to: dateTime stamp time zone #33054

    That’s what we currently use for the label and tooltip, but the interval on the plot doesn’t change to UTC when it’s set to 1-day intervals.

    in reply to: Pan instead of zoom by default #32963

    I think I got this functionality by putting this after the render line:

    if (document.querySelector('button[state="pan"]')) {
      document.querySelector('button[state="pan"]').click();
    }
    in reply to: dateTime stamp time zone #32702

    Hello, I have interval set to 1 day, but the tick marks still have an interval of every local day instead of UTC day. How can I change the interval tick to occur on every UTC midnight?

    in reply to: dateTime stamp time zone #32630

    I think I was able to get what I wanted by using labelFormatter and combining it with toLocaleString. Updated example: https://jsfiddle.net/h1movjbe/1/

    in reply to: dateTime stamp time zone #32628

    Hello, can you give an example based on my jsfiddle?

    I tried applying toUTCString to the x datapoints and it didn’t work. For example, in a datapoint pair, “x”: (new Date(1601006400003)).toUTCString() didn’t output anything.

Viewing 5 posts - 1 through 5 (of 5 total)