Skip to main content

streamlit_apexcharts React component for Streamlit

Project description

Streamlit - ApexCharts ReactJS

A Streamlit simple component to display ApexChart.

Install

pip install streamlit_apexjs

Usage

from streamlit_apexjs import st_apexcharts
options = {
    "chart": {
        "toolbar": {
            "show": False
        }
    },

    "labels": [1991, 1992, 1993, 1994, 1995]
    ,
    "legend": {
        "show": True,
        "position": "bottom",
    }
}

series = [44, 55, 41, 17, 15]

st_apexcharts(options, series, 'donut', '600', 'title')

st_apexcharts params

st_apexcharts(
    options: Dict
    series: List
    type: str
    width: str, number
    title: str
)

Credit

Thank you for inspiration :) andfanilo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit_apexjs-0.0.3.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

streamlit_apexjs-0.0.3-py3-none-any.whl (1.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page