Skip to main content

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)

Release files for reflex-highchart 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reflex-highchart 0.0.1
File Size Uploaded
reflex_highchart-0.0.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reflex-highchart 0.0.1
File Interpreter ABI Platform
reflex_highchart-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / reflex_highchart-0.0.1.tar.gz

Download URL reflex_highchart-0.0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7d90b91ca1a26226ab25d552a3f55d1f32e89876099ebe59384822903e9d1daa
BLAKE2b-256 checksum
How to use checksums
57202d97793a469ae3a980830723cc26eb231dbd65b375c155ea2f90b2fda752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.2

Release files / reflex_highchart-0.0.1-py3-none-any.whl

Download URL reflex_highchart-0.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
898d13a374aa01c5bcacef29bd41210f71c5972244689dc2873b4292504b76d5
BLAKE2b-256 checksum
How to use checksums
b4d6e088e4bc71d8973b63d54218d01d854df763b20887654e0f6bc82e0f12ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page