Home forums Using CanvasJS Range Column Chart axisY to be dates

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

    wid

    “Range Column Chart”
    I would like my range data to be dates -axisY
    and axisX be static labels
    how can i make it to work
    thank you very much

    something like this:
    data: [
    {
    type: “rangeColumn”,
    dataPoints: [
    { x: 10, y: [new Date(2000,1,1),new Date(2000,1,10)], label: “cat 1” },
    { x: 20, y: [new Date(2000,1,1),new Date(2000,1,5)], label: “cat 2” }
    ]
    }
    ]

    #28317

    @wid,

    Date-Time values over axisY are not supported as of now. However, you can use this workaround to achieve the same.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.