Home forums Using CanvasJS Chart changing with data size

This topic contains 1 reply, has 2 voices, and was last updated by  Manoj Mohan 2 months, 4 weeks ago.

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

    Hello,

    It is my first time to try CanvasJS, I am wondering if there is any way to change the chart size according to data size?
    For example, a bar chart with 4 categories, and then change to 6 categories, but the bar keep same size(chart needs to be bigger).

    Thanks

    #26543

    @vb123er951,

    Please take a look at this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.