Home forums Using CanvasJS How to make data table is aligned chart bar !

This topic contains 3 replies, has 2 voices, and was last updated by  Indranil Deo 8 months, 3 weeks ago.

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

    duongtrunghs
    Member

    now, I’m using Canvasjs, it is greate framework but recently I want make chart also show data table shows value for x axis as image below, I need table column aligned with chart, please help me to do that.
    this link for example I want make
    https://ibb.co/nHPjxx

    #20026

    Indranil Deo
    Member

    @duongtrunghs,

    Please take a look at this jsfiddle.

    ___________
    Indranil Deo,
    Team CanvasJS

    #20027

    duongtrunghs
    Member

    It’s almost sane as what I expected, just one thing is that I want the columns in the table should be aligned with the bars in the chart, for example “W1” in X axis should line up with W1 in the table, if you can do it, that’s great, anyway, I still will use your sample code, thank you very much.

    #20035

    Indranil Deo
    Member

    @duongtrunghs,

    As the table is HTML DOM Object you can apply styles to align it.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.