Category / Section
How to Use Syncfusion Chart in Bold BI?
Published:
Bold BI allows the use of Syncfusion charts in its platform. This can be achieved by downloading the necessary supporting dependent file and following a few simple steps.
Steps to Use Syncfusion Chart in Bold BI
- Refer to the UG documentation link to know how to create a new custom widget template.
- Download the necessary component from the Syncfusion Component Repository. Click on the download option for the required component.
- After downloading, extract the file. Open the
ej2.min.js
file which is located in the scripts folder.
- Scroll down to the last line of the
ej2.min.js
file and renamewindow.ejs
andwindow.ej
to a different name. This is to avoid namespace issues with built-in widgets available in the Bold BI application.
- Now, use the
ejCustomChart
namespace to render the chart. Here is a sample code:
new ejCustomChart.charts.Chart({
primaryXAxis: {
//...
},
primaryYAxis: {
//...
}
});
- After completing the code changes in the custom widget you can pack the custom widget file with the use of help link.
- Then publish the implemented custom widget to the Bold BI application with the use of help link.
By following these steps, you can successfully use Syncfusion charts in Bold BI.