Home Forums Chart Support Date offset in rangeArea Chart

Date offset in rangeArea Chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • #29493

    I have noticed that when I create a RangeArea chart with a date as data that it can show up with an offset.
    If the date is stored. YYYY-MM-DD the tooltip shows the date as one day earlier.

    I made a jsFiddle file to show this https://jsfiddle.net/willpickens/n51t4q2m/8/

    Are others having a similar problem?

    #29501

    @willpickens,

    JavaScript outputs the time according to the local timezone of the machine it’s running on. Setting JavaScript Date to your particular time zone should work fine in your case. Please refer this Stack Overflow thread for more information.

    —–
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.