Category / Section
How to Hide the "Filters Overview" Option in Embedded Bold BI Dashboards
Published:
When embedding Bold BI dashboards into your applications, you may want to customize the user interface to fit your application’s needs. One such customization could be hiding the “Filters Overview” option to streamline the dashboard view for you.
Hiding the “Filters Overview” Option
To hide the “Filters Overview” option in an embedded Bold BI dashboard, you can utilize the enableFilterOverview
property within the dashboard settings. By setting this property to false
, the “Filters Overview” option will not be displayed to the end-users.
Here is a code snippet that demonstrates how to hide the Filters Overview option:
var dashboard = BoldBI.create({
dashboardSettings: {
enableFilterOverview: false
}
});
dashboard.loadDashboard();
In the above code:
BoldBI.create
is the method used to create a new instance of the Bold BI dashboard.dashboardSettings
is an object that contains various settings to customize the dashboard’s behavior.enableFilterOverview
is a Boolean property withindashboardSettings
. When set tofalse
, it hides the Filters Overview option. When set totrue
, it shows the Filters Overview option.dashboard.loadDashboard()
is the method that loads the dashboard with the specified settings.- This method will be located in the directory
\wwwroot\js\index.js
.
When set to false:
When set to true:
Steps to Implement
- Ensure you have the Bold BI embedded setup ready in your application.
- Follow the steps to generate the embed config file.
- Locate the script where you initialize and load your Bold BI dashboard.
- Within the
dashboardSettings
object, set theenableFilterOverview
property tofalse
. - Save the changes and reload your application to see the effect.