Home › forums › Feature Requests & Feedback › How to set the viewing a Full Screen
This topic contains 2 replies, has 2 voices, and was last updated by jproduction 2 years, 4 months ago.
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.
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>
<div id="chartContainer" style="height: 100%; width: 100%; position: absolute"></div>
Please refer these threads
Thanks i must add “position: absolute”!
You must be logged in to reply to this topic.