This repository contains the source code of the examples of usage Stimulsoft Dashboards.PYTHON analytics tool in the Python applications, using Python code and JavaScript analytics engine. The embedded dashboard components is fully compatible with Python 3.10 and higher. Full support for Flask, Django and Tornado frameworks, as well as work on any other frameworks.
This repository has a Flask web project with a set of examples, each of which is in a separate .py file:
- Changing an Export Settings on the Server-Side
- Changing the Designer Theme
- Configuring and Installing Node.js
- Editing a Dashboard Template in the Designer
- Editing a Dashboard Template in the Designer in an HTML template
- Exporting a Dashboard from Code
- Exporting a Dashboard from Code on the Server-Side
- How to Activate the Product
- Loading Scripts in Part to Minify Project
- Localizing the Designer
- Registering a Data from Code
- Registering Data when Creating a New Dashboard
- Saving a Dashboard Template on the Server-Side
- Sending an Exported Dashboard to the Server-Side
- Showing a Dashboard in the Viewer
- Showing a Dashboard in the Viewer in an HTML template
- Using a Handler in a Separate Function
- Using Parameters in SQL Query
- Working with onDesign and onExit events
Also, these examples are available for Django and Tornado frameworks. They have the same code for deploying and using components. They differ only in the functions used for a specific framework:
Before starting, you should install the framework and component libraries used in your working environment. To do this, run the install.cmd
script file, or manually install the modules specified in this file. Each web project is configured for use in Visual Studio Code. You just need to start the project. To run the project from the command line, use the run.cmd
script file.
After that, in your browser, you can navigate to the following address:
http://127.0.0.1:8040/
Introducing Dashboards.PYTHON - a fast and powerful tool for creating analytical dashboards in services and projects written in Python. The product includes a JavaScript data processing engine, a designer component for creating dashboards, and a fully interactive viewer for viewing ready-made dashboards on the screen of any device.