Add Highcharts elements to your NiceGUI app.
Project description
NiceGUI Highcharts
This package is an extension for NiceGUI, an easy-to-use, Python-based UI framework.
It provides a highchart
element based on Highcharts, the popular JavaScript charting library.
Due to Highcharts' restrictive license, this element is not part of the NiceGUI package anymore, but can be install separately.
Installation
python3 -m pip install nicegui-highcharts
Usage
Write your nice GUI in a file main.py
:
from nicegui import ui
ui.highchart({
'title': False,
'chart': {'type': 'bar'},
'xAxis': {'categories': ['A', 'B']},
'series': [
{'name': 'Alpha', 'data': [0.1, 0.2]},
{'name': 'Beta', 'data': [0.3, 0.4]},
],
})
ui.run()
NiceGUI recognizes the installation of the nicegui-highcharts
package and adds it to the ui
namespace.
For more information, see https://nicegui.io/documentation/highchart.
Launch it with:
python3 main.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nicegui_highcharts-2.0.2.tar.gz
.
File metadata
- Download URL: nicegui_highcharts-2.0.2.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3240790086ce7c87171e8ab1e4e59bb2496ad0028b2b6df8da9961f5f428b5af |
|
MD5 | c12ebcd0d69544fb20c1b4aced1383ba |
|
BLAKE2b-256 | 88b7c93cd6fc56ecc5a9cf44cea7360043decfabc36e2cd97f387af798fbb067 |
File details
Details for the file nicegui_highcharts-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: nicegui_highcharts-2.0.2-py3-none-any.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9004ce220bf24e37064f40fe1da38cfbd905cb92c650f31efa7abdc838c0a805 |
|
MD5 | 3255d18678d895078b516b94a33c5e2b |
|
BLAKE2b-256 | c8a2093606d17b6ba0c7e0e8b64d02d693e27f581ce7b21ac32b5519bd474448 |