Loading...
Loading...

Live Chat Icon For mobile
Hugo Morris

Chat with the Bold BI Sales team now!

Live Chat Icon
DataBinding > Auto Refresh Dashboard
Auto Refresh Dashboard
This sample describes how to schedule auto refresh in the embedded dashboard to reflect the recent updates in the underlying data.
How can you explore?
The Enable Auto Refresh setting lets you enable the auto-refresh functionality in the current dashboard.The Interval Settings lets you define recurring intervals during when auto-refresh should happen in the dashboard.The Event Trace shows the event traces during the auto-refresh process in the dashboard. To explore this functionality, enable the checkbox in the Properties window and click Apply. Now, the auto-refresh gets enabled to occur every 30 seconds in the dashboard fetching the latest data from the data source. During the auto-refresh process, the events triggered will get logged in the trace window.
Properties
hour(s)
minute(s)
second(s)
Apply

Click to apply any setting changes above.

Code snippet that enables this functionality.


    function renderDashboard() {
        var boldbiEmbedInstance = BoldBI.create({
            autoRefreshSettings: {
                enabled: true,
                hourlySchedule: {
                hours: 0 hour(s),
                minutes: 0 minute(s),
                seconds: 30 seconds
                }
            }
        });
        boldbiEmbedInstance.loadDashboard();
    }