Dashboards.Python is modular: you can load only the script parts your page needs to keep the download small.

Loading the template. Create the dashboard, load the template from the demonstrated source, and pass it to the next rendering, viewing, or export step.
designer = StiDesigner()
designer.javascript.blocklyEditor = False
designer.javascript.reportsChart = True
designer.javascript.reportsExport = True
designer.javascript.usePacked = True

if designer.processRequest(request):
    return designer.getFrameworkResponse()
The javascript object exposes flags for each optional module; turning off the ones you do not use, with usePacked, minimizes the JavaScript sent to the browser.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.