If you're looking to enhance your application dashboards, FusionCharts can be an invaluable tool. In this blog, we show you how to create Fusion charts and add them to your Rollbase applications and dashboards.
Progress Rollbase supports most of the widely used fusion chart types: Area, Bar, Column 2D/3D, Doughnut 2D/3D, Pie 2D/3D, Line and Grid. Please find more details on how to create charts in Rollbase. But you may also need some more chart styles from the FusionCharts library, based on your application context and requirements. And, for dashboards or portal pages, you may want to add some more properties or attributes to your fusion charts. This can be achieved by writing some custom script.
In this blog, we will show you how to write custom code to create Fusion charts and add them to Rollbase application pages and dashboards. Note that with Rollbase you have access to all the powerful features of FusionCharts library without any additional fees.
Let’s see how we can create a fusion doughnut chart that looks like the one below:
You can easily use the FusionCharts libraries from Rollbase sources. You only need to add the below scripts to your script component:
For a grid type fusion chart such as ssgrid, you need to add a separate script from FusionCharts:
The below code block will initialize and render the Fusion chart in the <div> we created in step 2 above. In this sample, we have used some of the most common attributes for a fusion doughnut chart. The brief usage of these attributes is mentioned as a comment above each attribute:
FusionCharts support more than 90 chart types and many other useful configurations that can help you configure the charts best suited for your application. Please note that not all the properties are applicable to all types of charts. For example, there are a few properties like canvas background color that are not applicable to doughnut and pie charts. You can find more details about these chart types and configuration options at Fusion chart types and configurations.
Mayank Kumar is a Software Engineer at Progress, specializing in low-code platforms. In the past, he worked on improving Multilingual and RTL support in Rollbase and is currently working on Rollbase UI.
Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.Learn More
Subscribe to get all the news, info and tutorials you need to build better business apps and sites
You have the right to request deletion of your Personal Information at any time.
You can also ask us not to pass your Personal Information to third parties here: Do Not Sell My Info
We see that you have already chosen to receive marketing materials from us. If you wish to change this at any time you may do so by clicking here.
Thank you for your continued interest in Progress. Based on either your previous activity on our websites or our ongoing relationship, we will keep you updated on our products, solutions, services, company news and events. If you decide that you want to be removed from our mailing lists at any time, you can change your contact preferences by clicking here.