Home forums Using CanvasJS New dates added in graph via button

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 1 month, 1 week ago.

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


    it has been a while since last time. But i need your help again.
    Iam trying to replace the flat numbers on the x axes with specific dates. Everything works fine except the button.
    Probably a typecasting mistake again but i can’t see why it won’t work either with ” date(document.getElementById(“date”).value)” or “object(document.getElementById(“date”).value)”

    I hope you can help me again



    Vishwas R


    In JavaScript, date object is created using new Date() but you are trying it using date(). Please refer this tutorial for the same. Here is the updated jsfiddle.

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

You must be logged in to reply to this topic.