Closed Jasmine-dudu closed 5 years ago
@Jasmine-dudu , here is the solution:
When you initialise the pyecharts object, give it a relative width/ height number, e.g.
chart = pyecharts.Bar(width='100%', height='90vh')
The HTML files rendered in this way can fit into Big Road responsive chart area easily.
Troubleshooting
Describe your environment
Describe your question
We want to display a dynamic chart related to "Type top 10 apps" (the link: https://github.com/Jasmine-dudu/Big-Road/blob/master/Type%20top10%20Apps.html ) in the web page. However, we fail to show it completely like a static chart.
How to solve the problem?😣Great thx!🙇♀️
The web page can be found via the link: https://github.com/Jasmine-dudu/Big-Road/blob/master/index.html