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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicegui_highcharts-2.1.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

File hashes

Hashes for nicegui_highcharts-2.1.0.tar.gz
Algorithm Hash digest
SHA256 343833f508304cd5df938cffc35fc6f2340d4250b50f2a7be5161469f5429a58
MD5 c311f92c12c8ade4e815b0ce0be529e7
BLAKE2b-256 9f966a6fa65dac8b5e958f10cadd49327990fab76ca0677f4d50a57086ea44d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nicegui_highcharts-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

File hashes

Hashes for nicegui_highcharts-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09e437caa31a434497b6b82cd0d9c1100982fca87549182a4b853f0e98c9c95b
MD5 1aaf78bc905509fc8b6f1085fb81140b
BLAKE2b-256 61ea679748a949cd25c58005cdbeb180160d5cdc1f19b0e207282496cb30fc0f

See more details on using hashes here.

Supported by

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