Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With the showExport parameter is set to false, the export icon in the toolbar will be removed:

...

Determines whether or not to show the reports chart/table options in the reports toolbar. Default is true.

If this option is set to false:

Image Added

//Load the report with this option set to false
yellowfin.loadReport({
         reportId: '9617ada1-28bc-42ef-9c3f-8b40d3d1ae61',
         element: document.querySelector('div#reportDiv'),
         showReportDisplayToggle: false
});

...

//Load the dashboard with showToolbar not defined
yellowfin.loadDashboard({
         reportId:'1e68d9cc-fa5a-44e2-816d-782aa40ceeae',
         element: document.querySelector('div#dashboardDiv');
});
//Load the dashboard with showToolbar set to true
yellowfin.loadDashboard({
         reportId: '1e68d9cc-fa5a-44e2-816d-782aa40ceeae',
         element: document.querySelector('div#dashboardDiv'),
         showToolbar: true
});

The following is a dashboard with the toolbar showing:

Or set But if the showToolbar property is set to false:

//Load the dashboard with showToolbar set to false
yellowfin.loadDashboard({
         reportId: '1e68d9cc-fa5a-44e2-816d-782aa40ceeae',
         element: document.querySelector('div#dashboardDiv'),
         showToolbar: false
});

...