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.1.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicegui_highcharts-2.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 03e0c06689c1aa5d267723d5b1193286781d07b1576f00aff5fc3832a0aabb39
MD5 9429897dc4df03094bb59a6315bd778b
BLAKE2b-256 987a64afdca5f9659bc5c120cc2580bdb82e3f366677ab3af4280a919f4af429

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicegui_highcharts-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25a273c22187fdfe9f6683de0face03d239d4ccb8b7594560c7fb5107d216954
MD5 4b36803d6a10b52eee3f5919a598e10b
BLAKE2b-256 9c5fdb862ddc419a40ec4f15ac370ade9fd95eaaa3a699d4140e990892b4b3b0

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