Home Forums Feature Requests & Feedback How to set the viewing a Full Screen

How to set the viewing a Full Screen

Viewing 3 posts - 1 through 3 (of 3 total)
  • #11388

    Hi i set the div in index.html in this way: <div id=”chartContainer” style=”height: 100%; width: 100%;”></div> but the chart no display in full height. Thanks.

    #11391

    Here it is a generic case to set height of any HTML div 100%. By setting height to 100% chart will take immediate parent container’s height, in this case you have to specify height of the parent container. Still if you want to show the chart with 100% height of the window with responsiveness you can try by setting the attribute <div id="chartContainer" style="height: 100%; width: 100%; position: absolute"></div>.

    Please take a look at this JSFiddle for complete code.

    Chart with full screen width and height

    Please refer these threads for more information

    1. thread-1
    2. thread-2
    #11394

    Thanks i must add “position: absolute”!

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

You must be logged in to reply to this topic.