# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/zauberzeug/nicegui-highcharts",
"name": "nicegui-highcharts",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "charts,highcharts,gui,ui,web",
"author": "Zauberzeug GmbH",
"author_email": "info@zauberzeug.com",
"download_url": "https://files.pythonhosted.org/packages/a3/5e/09bf4f39b12af632a83a5e00d115db61fbb9b2425f7ba74eded53db8ffd1/nicegui_highcharts-1.0.1.tar.gz",
"platform": null,
"description": "# NiceGUI Highcharts\n\nThis package is an extension for [NiceGUI](https://github.com/zauberzeug/nicegui), an easy-to-use, Python-based UI framework.\nIt provides a `highchart` element based on [Highcharts](https://www.highcharts.com/), the popular JavaScript charting library.\nDue to Highcharts' restrictive license, this element is not part of the NiceGUI package anymore, but can be install separately.\n\n## Installation\n\n```bash\npython3 -m pip install nicegui-highcharts\n```\n\n## Usage\n\nWrite your nice GUI in a file `main.py`:\n\n```py\nfrom nicegui import ui\n\nui.highchart({\n 'title': False,\n 'chart': {'type': 'bar'},\n 'xAxis': {'categories': ['A', 'B']},\n 'series': [\n {'name': 'Alpha', 'data': [0.1, 0.2]},\n {'name': 'Beta', 'data': [0.3, 0.4]},\n ],\n})\n\nui.run()\n```\n\nNiceGUI recognizes the installation of the `nicegui-highcharts` package and adds it to the `ui` namespace.\nFor more information, see https://nicegui.io/documentation/highchart.\n\nLaunch it with:\n\n```bash\npython3 main.py\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Add Highcharts elements to your NiceGUI app.",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/zauberzeug/nicegui-highcharts",
"Repository": "https://github.com/zauberzeug/nicegui-highcharts"
},
"split_keywords": [
"charts",
"highcharts",
"gui",
"ui",
"web"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "377acc5ce54f25808a892931c03aad7c4c45946d2117ba8ed70dbfb73fcda371",
"md5": "8ef153a29251bc3c27ecc6ce5182550c",
"sha256": "7f4aed5146024ddea225bf901d83ee43a1970cc3050516513e74ee8cc3464213"
},
"downloads": -1,
"filename": "nicegui_highcharts-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8ef153a29251bc3c27ecc6ce5182550c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 2175270,
"upload_time": "2023-10-26T11:40:00",
"upload_time_iso_8601": "2023-10-26T11:40:00.131466Z",
"url": "https://files.pythonhosted.org/packages/37/7a/cc5ce54f25808a892931c03aad7c4c45946d2117ba8ed70dbfb73fcda371/nicegui_highcharts-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a35e09bf4f39b12af632a83a5e00d115db61fbb9b2425f7ba74eded53db8ffd1",
"md5": "58e616fc57ca701eda16ab7374d01b53",
"sha256": "810813adbd6dbb7f51d199c016a5d97aa293f16eeb5046574890700cea38924c"
},
"downloads": -1,
"filename": "nicegui_highcharts-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "58e616fc57ca701eda16ab7374d01b53",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 2078330,
"upload_time": "2023-10-26T11:40:02",
"upload_time_iso_8601": "2023-10-26T11:40:02.981585Z",
"url": "https://files.pythonhosted.org/packages/a3/5e/09bf4f39b12af632a83a5e00d115db61fbb9b2425f7ba74eded53db8ffd1/nicegui_highcharts-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-26 11:40:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zauberzeug",
"github_project": "nicegui-highcharts",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "nicegui-highcharts"
}