Stimulsoft Dashboards.Python is a native Python library: the server configures a viewer and dashboard, and the JavaScript viewer is emitted into the page.

Build the viewer in a Flask view.
viewer = StiViewer()

if viewer.processRequest(request):
    return viewer.getFrameworkResponse()

report = StiReport()
report.loadFile(url_for('static', filename='reports/WebsiteAnalytics.mrt'))
viewer.report = report

return viewer.getFrameworkResponse()

How it works. Python configures the component, but the dashboard renders client-side, so the same view both serves the page and answers its callbacks.

Hallo! Brauchen Sie Hilfe?