You can customize the width and height of the Chart by using size property of Chart. It has options to specify width and height of the chart. You can also specify chart dimensions in percentage. Refer to Chart Dimensions for more information about different units to specify chart size. The following code example explains how to customize the width and height of the Chart. JS $("#container").ejChart({ size: { width: '500', height: '500' } });
The following screenshot displays the Chart in specified size. Figure: Chart with dimensions 500 X 500 JS Playground sample link: Chart Size |
This page will automatically be redirected to the sign-in page in 10 seconds.