Home forums Using CanvasJS Chart width

This topic contains 1 reply, has 2 voices, and was last updated by  Shashi Ranjan 4 months, 1 week ago.

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

    Hi,
    I am using canvasJs Chart in my application. chart is rendering properly. chart width reducing in normal mode, if i go to browsers full screen mode its showing fine.

    following is chart HTML code,

    <tr style=”height: 85%;width: 100%;”>
    <td>
    <div id=”chartContainer” style=”height:80%; width: 100%;” />
    </td>
    </tr>

    From debugging, the div have a 100% width, but not a chart.

    Please help me how to set width.

    Thanks
    Harikrishna

    #23998

    @sajjaharikrishna,

    Can you kindly create a JSFiddle with sample data, so that we can look into your code understand your issue better and help you out?

    ____
    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.