Home forums Report Bugs Date(time) not correct

This topic contains 3 replies, has 2 voices, and was last updated by  Sunil Urs 2 years, 12 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5559

    stajo917
    Participant

    Hi,

    Thanks for a great lib!

    I’ve some problems with dates though. See : http://jsfiddle.net/QS4eh/2/

    The x-axis is not displayed properly – the 48 datapoints are spread over the last 24 h (1 sample/30min). I have tried using interval and intervalType in axisX but without success. And the tooltip is not behaving as expected either. Is there a way of setting format or do I have to override tooltip:content property to get format timestamp?

    BR
    Staffan

    • This topic was modified 2 years, 12 months ago by  stajo917.
    #5561

    Sunil Urs
    Keymaster

    Staffan,

    TimeStamp should be assigned to x and not to label. Labels are considered as string literals. I’ve fixed the same. Let me know if its working as expected.

    http://jsfiddle.net/QS4eh/3/


    Sunil

    #5562

    stajo917
    Participant

    THANKS!

    I was the bug here apperently =)

    /Staffan

    #5570

    Sunil Urs
    Keymaster

    You are welcome… 🙂

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

You must be logged in to reply to this topic.