# 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": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "charts, highcharts, gui, ui, web",
"author": "Zauberzeug GmbH",
"author_email": "info@zauberzeug.com",
"download_url": "https://files.pythonhosted.org/packages/88/b7/c93cd6fc56ecc5a9cf44cea7360043decfabc36e2cd97f387af798fbb067/nicegui_highcharts-2.0.2.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": "2.0.2",
"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": "c8a2093606d17b6ba0c7e0e8b64d02d693e27f581ce7b21ac32b5519bd474448",
"md5": "3255d18678d895078b516b94a33c5e2b",
"sha256": "9004ce220bf24e37064f40fe1da38cfbd905cb92c650f31efa7abdc838c0a805"
},
"downloads": -1,
"filename": "nicegui_highcharts-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3255d18678d895078b516b94a33c5e2b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 2196109,
"upload_time": "2024-08-31T19:53:00",
"upload_time_iso_8601": "2024-08-31T19:53:00.565590Z",
"url": "https://files.pythonhosted.org/packages/c8/a2/093606d17b6ba0c7e0e8b64d02d693e27f581ce7b21ac32b5519bd474448/nicegui_highcharts-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "88b7c93cd6fc56ecc5a9cf44cea7360043decfabc36e2cd97f387af798fbb067",
"md5": "c12ebcd0d69544fb20c1b4aced1383ba",
"sha256": "3240790086ce7c87171e8ab1e4e59bb2496ad0028b2b6df8da9961f5f428b5af"
},
"downloads": -1,
"filename": "nicegui_highcharts-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "c12ebcd0d69544fb20c1b4aced1383ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 2098919,
"upload_time": "2024-08-31T19:53:02",
"upload_time_iso_8601": "2024-08-31T19:53:02.692097Z",
"url": "https://files.pythonhosted.org/packages/88/b7/c93cd6fc56ecc5a9cf44cea7360043decfabc36e2cd97f387af798fbb067/nicegui_highcharts-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-31 19:53:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zauberzeug",
"github_project": "nicegui-highcharts",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nicegui-highcharts"
}