Home forums Report Bugs Rendering messed up when chart is loaded hidden Reply To: Rendering messed up when chart is loaded hidden

#14292

Bivek Singh
Moderator

@gregoff

Since the Container is not displayed initially, chart takes the default values for width and height.
To show the chart with given height and width of the container, just re-render the chart once the chart container is displayed. Here is a jsFiddle for same.

You can also take a look at following examples if you’re working on Bootstrap:
Example 1,
Example 2
Example 3

——
Bivek Singh