How to customize the JavaScript Chart size?
You can customize the width and height of the JavaScript 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
I hope you enjoyed learning about how to customize the JavaScript Chart size.
You can refer to our JavaScript Chart feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Chart example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!