Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
report = StiReport()
report.engine = StiEngineType.SERVER_NODE_JS
report.loadFile(current_app.static_folder + '/reports/WebsiteAnalytics.mrt')
result = report.render()
if result:
buffer = report.exportDocument(StiExportFormat.HTML)
# or save to a file:
# report.exportDocument(StiExportFormat.PDF, filePath)
else:
message = report.nodejs.errorreport.engine = StiEngineType.SERVER_NODE_JS — render on the server with Node.js instead of the browser.report.exportDocument(format) — returns the document bytes; pass a path to save it to a file instead.