Skip to content

Commit

Permalink
chore: app theme
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 committed Dec 21, 2023
1 parent 70167fa commit f7b9f99
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,6 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
pnpm-lock.ymal
pnpm-lock.ymal
streamlit_charts.egg-info
build
14 changes: 14 additions & 0 deletions example/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"""

options = {
"theme": "dark",
"data": [
{ "genre": "Sports", "sold": 275 },
{ "genre": "Strategy", "sold": 115 },
Expand All @@ -38,6 +39,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": [
{ "genre": "Sports", "sold": 275 },
{ "genre": "Strategy", "sold": 115 },
Expand All @@ -61,6 +63,7 @@
"""

options = {
"theme": "dark",
"data": [
{ "genre": "Sports", "sold": 275 },
{ "genre": "Strategy", "sold": 115 },
Expand All @@ -82,6 +85,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": [
{ "genre": "Sports", "sold": 275 },
{ "genre": "Strategy", "sold": 115 },
Expand All @@ -105,6 +109,7 @@
"""

options = {
"theme": "dark",
"data": {
"type": "fetch",
"value": "https://gw.alipayobjects.com/os/bmw-prod/551d80c6-a6be-4f3c-a82a-abd739e12977.csv",
Expand All @@ -122,6 +127,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": {
"type": "fetch",
"value": "https://gw.alipayobjects.com/os/bmw-prod/551d80c6-a6be-4f3c-a82a-abd739e12977.csv",
Expand All @@ -141,6 +147,7 @@
"""

options = {
"theme": "dark",
"data": {
"type": "fetch",
"value": "https://gw.alipayobjects.com/os/bmw-prod/551d80c6-a6be-4f3c-a82a-abd739e12977.csv",
Expand All @@ -158,6 +165,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": {
"type": "fetch",
"value": "https://gw.alipayobjects.com/os/bmw-prod/551d80c6-a6be-4f3c-a82a-abd739e12977.csv",
Expand All @@ -177,6 +185,7 @@
"""

options = {
"theme": "dark",
"data": [
{ "id": "c", "value": 526 },
{ "id": "sass", "value": 220 },
Expand Down Expand Up @@ -215,6 +224,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": [
{ "id": "c", "value": 526 },
{ "id": "sass", "value": 220 },
Expand Down Expand Up @@ -255,6 +265,7 @@
"""

options = {
"theme": "dark",
"data": [
{
"Month": "Jan",
Expand Down Expand Up @@ -408,6 +419,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": [
{
"Month": "Jan",
Expand Down Expand Up @@ -562,6 +574,7 @@
"""

options = {
"theme": "dark",
"data": {
"type": "fetch",
"value": "https://gw.alipayobjects.com/os/basement_prod/6b4aa721-b039-49b9-99d8-540b3f87d339.json",
Expand All @@ -581,6 +594,7 @@
from streamlit_charts import charts
options = {
"theme": "dark",
"data": {
"type": "fetch",
"value": "https://gw.alipayobjects.com/os/basement_prod/6b4aa721-b039-49b9-99d8-540b3f87d339.json",
Expand Down

0 comments on commit f7b9f99

Please sign in to comment.