Home forums Using CanvasJS datetime format

This topic contains 2 replies, has 2 voices, and was last updated by  Daniel Silva 2 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6297

    Daniel Silva
    Participant

    Hi,

    Currently the only way I found to send datetime x values from PHP to canvasjs is converting all in PHP to timeStamps.
    Is possible to use other format like ‘yyyy-mm-dd’ or ‘yyyy-mm-dd hh:mm’?
    Something like:

    xValueType: “dateTime”,
    xValueFormat:”YYYY-MM-DD”,

    Br,
    Daniel

    • This topic was modified 2 years, 6 months ago by  Daniel Silva.
    • This topic was modified 2 years, 6 months ago by  Daniel Silva.
    #6300

    Sunil Urs
    Keymaster

    As of now only timestamps or date objects can be assigned to x. Other formats are not supported yet.


    Sunil Urs

    #6302

    Daniel Silva
    Participant

    Ok, I can work with that.
    thanks

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

You must be logged in to reply to this topic.