Showing blank on localhost 4005 #667
Answered
by
withnikhil
withnikhil
asked this question in
Help: Installation & Start
-
Beta Was this translation helpful? Give feedback.
Answered by
withnikhil
Feb 12, 2023
Replies: 1 comment
-
In "controllers\routes\main.py", I changed |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
withnikhil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In "controllers\routes\main.py", I changed
def init_state(at: Atri): at.bar1.custom.data = [{"x":2010, "category1":40, "category2":50}, {"x":2011, "category1":30, "category2":60}]
todef init_state(at: Atri): at.BarChart1.custom.data = [{"x":2010, "category1":40, "category2":50}, {"x":2011, "category1":30, "category2":60}]
and it worked. I changed bar1 to BarChart1. Your name of BarChart1 could be different.