Chart Dimensions
18 Nov 20181 minute to read
Size for Container
Chart can render to its container size. You can set the size via inline or CSS as demonstrated below.
Size for Chart
You can also set size for chart directly through width and height properties.
In Pixel
You can set the size of chart in pixel as demonstrated below.
In Percentage
By setting value in percentage, chart gets its dimension with respect to its container. For example, when the height is ‘50%’, chart renders to half of the container height.
NOTE
When you do not specify the size, it takes
450pxas the height and window size as its width.