Metadata-Version: 2.1
Name: nicegui-highcharts
Version: 2.0.2
Summary: Add Highcharts elements to your NiceGUI app.
Home-page: https://github.com/zauberzeug/nicegui-highcharts
License: MIT
Keywords: charts,highcharts,gui,ui,web
Author: Zauberzeug GmbH
Author-email: info@zauberzeug.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: docutils (==0.20.1)
Requires-Dist: nicegui (==2.*)
Project-URL: Repository, https://github.com/zauberzeug/nicegui-highcharts
Description-Content-Type: text/markdown

# NiceGUI Highcharts

This package is an extension for [NiceGUI](https://github.com/zauberzeug/nicegui), an easy-to-use, Python-based UI framework.
It provides a `highchart` element based on [Highcharts](https://www.highcharts.com/), 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

```bash
python3 -m pip install nicegui-highcharts
```

## Usage

Write your nice GUI in a file `main.py`:

```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:

```bash
python3 main.py
```

