In this article you will learn about how to resize the charts.
First, Login to the Helical Insight with the required credentials. Then, open or create a chart report. Also, you can create your own customized chart report using your data. For your understanding, we have used a bar chart.
Default size of a Bar Chart
The size of the chart is by default set by the Adhoc editor.
Try Free Trial for one month : Open Source Business Intelligence - Helical Insight
To resize current chart, Go to Editor Tab, click on JS Editor Add, then click on Inject to execute the entered code.
You can specify the height and width in numbers. Similarly, you can apply same process to other charts as well.
Javascript Code:
hi_container.set("postExecution", function () {
Hdi.c3chart.resize({ // code for chart resize
Height: 380, // Height & Width size can be customizable.
width: 800 // We can also mention the Height & width in percentage
});
});
In addition to it, you can add other CSS and Javascripts code for customizations. How To Add Styles And Scripts In Helical Insight
For more info, contact us at support@helicalinsight.com