Home Forums Chart Support how to set chat areas width 100% to div ?

how to set chat areas width 100% to div ?

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

    I want to set my chat areas width 100% of the its parent div , how do i achieve this ?

    https://prnt.sc/k7e4c8

    • This topic was modified 6 years, 5 months ago by ndnlloner. Reason: image not working
    #21864

    @ndnlloner,

    Charts take chart-container’s width by default. If the width is not set for the chart container, it defaults to 500.

    If you mean removing the extra space between the axisY and the dataPoints towards left and right side of the plotArea, you can achieve that by setting minimum and maximum. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.