Skip to main content

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

nicegui_highcharts-2.0.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

nicegui_highcharts-2.0.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file nicegui_highcharts-2.0.0.tar.gz.

File metadata

  • Download URL: nicegui_highcharts-2.0.0.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

Hashes for nicegui_highcharts-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f1d040072d129d09bb0577a9e6ad167c79ca2a430b4e1b2b27140dc84a2a5988
MD5 c323db4832c163f90a29307e223d7b46
BLAKE2b-256 76a7ec27b0214daadc810bcb3e7baf2a4337f30f669f353d117124a2dc1fe689

See more details on using hashes here.

File details

Details for the file nicegui_highcharts-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nicegui_highcharts-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01d540701aa8b63111e4e49a5af467040b8b38e70b793aa9476e88176002ed7f
MD5 087899492da8daa1bbf7a624f85bcb07
BLAKE2b-256 1cd2109e237d678b3dd6d4c70c261d0b70fd1ffbf11384e6b79552a8eef46ebe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page