jQuery UI Widgets Forums Chart Date Format : Chart with range selector

Tagged: ,

This topic contains 20 replies, has 3 voices, and was last updated by  brogen 9 years ago.

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
  • Date Format : Chart with range selector #75972

    Vladimir
    Participant

    Hi brogen,

    It would seem that the new Date() function doesn’t recognize your date/time string pattern under internet explorer (whereas Chrome does).
    If you want to support it, you would need to write some more code to properly convert your object to a Date Object.

    Probably this topic could help you.

    Best Regards,
    Vladimir

    jQWidgets Team
    http://www.jqwidgets.com

    Date Format : Chart with range selector #75975

    brogen
    Participant

    Oh, it’s really strange.

    One more time, you’re right. On my phone, it looks correct.

    With all other charts, i see the line, but with this one, no. As you said, it’s a javascript object, and it’s possible that our proxy at work blocks such code…
    I’ll have a look, still with firefox, but at home. It’s sad if I can’t see the line when I’m at work, but it’s only a little problem

    One more time, I thank you for all 🙂

    Date Format : Chart with range selector #76041

    brogen
    Participant

    Hello Vladimir.

    When I posted my last answer, I didn’t see your answer on September 18, 2015 at 9:02 am.

    So, i confirm. It looks that Chrome reconize data, but IE or Firefox can’t.

    So, I read the post, but I can’t find solution to resolve this…

    Thanks

    Date Format : Chart with range selector #76046

    Peter Stoev
    Keymaster

    Hi brogen,

    The solution is:

    1. Use jqxDataAdapter.
    2. Set type: “date” to your Date field.
    3. Set format: “…” where “…” is your Date format.

    By doing that, your Date Strings will be parsed to JavaScript Date objects by jqxDataAdapter.

    Another option is to parse these with some custom code written by you.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Date Format : Chart with range selector #76059

    brogen
    Participant

    Hi Peter !

    I say : YES YES YES !!! It’s was so easy, and it’s finaly WORKING ! Thanks for all.

    Now, I just have a little problem. The zoom doesn’t work properly for me. When I move the range selector, before datas, the line stay in the middle of the chart. But, when I move the range selector into datas, zoom is working.
    If you know the problem, maybe you can help me. If you want to see code and other, you can have a look here

    Thanks again to the team 🙂

    Date Format : Chart with range selector #76063

    brogen
    Participant

    I found my problem. I just had to change the “base unit” of my range selector from “day” to “hour”.

Viewing 6 posts - 16 through 21 (of 21 total)

You must be logged in to reply to this topic.