Home forums Using CanvasJS how to set chat areas width 100% to div ?

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 4 months ago.

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

    ndnlloner
    Member

    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 4 months ago by  ndnlloner. Reason: image not working
    #21864

    Vishwas R
    Keymaster

    @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.