reflex-highcharts is a powerful component designed to integrate the popular charting library,
Project description
reflex-highchart
reflex-highcharts is a powerful component designed to integrate the popular charting library, Highcharts, into your Reflex web applications. This integration allows you to create visually appealing and interactive charts with ease.
Installation
pip install reflex-highchart
Example
import reflex as rx
from reflex_highchart import reflex_highchart
def highchart_example():
return {
"title": {
"text": "Sales by Month"
},
"xAxis": {
"title": {
"text": "Month",
},
"categories": ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
},
"yAxis": {
"title": {
"text": "Total Sales"
}
},
"series": [
{"type": "column",
"name": "Total Sales",
"data": [
[0, 30],
[1, 17],
[2, 20],
[3, 12],
[4, 23],
[5, 14],
[6, 16],
[7, 19],
[8, 22],
[9, 13],
[10, 16],
[11, 15]
]}
]
}
def index() -> rx.Component:
return rx.center(
rx.vstack(
reflex_highchart(
options=highchart_example(),
)
)
)
# Add state and page to the app.
app = rx.App()
app.add_page(index)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file reflex_highchart-0.0.1.tar.gz
.
File metadata
- Download URL: reflex_highchart-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d90b91ca1a26226ab25d552a3f55d1f32e89876099ebe59384822903e9d1daa |
|
MD5 | 013b9d1d065a8711eddcae6f2d625b6a |
|
BLAKE2b-256 | 57202d97793a469ae3a980830723cc26eb231dbd65b375c155ea2f90b2fda752 |
File details
Details for the file reflex_highchart-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: reflex_highchart-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898d13a374aa01c5bcacef29bd41210f71c5972244689dc2873b4292504b76d5 |
|
MD5 | 95bc59369b0eb3087ac830aada26c25d |
|
BLAKE2b-256 | b4d6e088e4bc71d8973b63d54218d01d854df763b20887654e0f6bc82e0f12ac |