Simple wrapper for Highcharts JS libs
Project description
streamlit-highcharts
Simple wrapper for Highcharts JS libs
Installation instructions
pip install streamlit-highcharts
Usage instructions
import streamlit as st
from streamlit_highcharts import streamlit_highcharts
chart_def={
"title":{
"text":"Sales of petroleum products March, Norway",
"align":"left"
},
"xAxis":{
"categories":["Jet fuel","Duty-free diesel"]
},
"yAxis":{
"title":{"text":"Million liter"}
},
"series":[
{"type":"column",
"name":"2020",
"data":[59,83]},
{"type":"column",
"name":"2021",
"data":[24,79]
},
{"type":"column",
"name":"2022",
"data":[58,88]
},
{"type":"spline",
"name":"Average",
"data":[47,83.33],
"marker":{
"lineWidth":2,
"fillColor":"black",
}
}
]
}
value = streamlit_highcharts(chart_def,640) #640 is the chart height
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
streamlit-highcharts-0.1.0.tar.gz
(13.6 kB
view hashes)
Built Distribution
Close
Hashes for streamlit-highcharts-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a876cd9c68d314f8a43eb8304d0936031eee8b03d45a4e3a42d06fa9f0c4bf8 |
|
MD5 | f7401a2257296c9c3d6f3753db9f9943 |
|
BLAKE2b-256 | e197f0baa64b958f2cc56b6c227539902d127943d475c139815221f5c1edff48 |
Close
Hashes for streamlit_highcharts-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f95e3e941e4d2a5f531ed3357219c22774464dc5dbf31bc8c30d23709bbfc8 |
|
MD5 | 59991ac8325d8ccb9d32376257fb4107 |
|
BLAKE2b-256 | 54bcd9272c39e8970c01b424ba1bb5481ad0b82455f649cfd479af01f05b3f80 |