How to integrate pyecharts? #1701
Replies: 2 comments 7 replies
-
https://pyecharts.org/#/en-us/ I'm not sure. At a first glance, pyecharts allows to create charts like this: from pyecharts.charts import Bar
bar = Bar()
bar.add_xaxis(["shirts", "cardigans", "chiffons", "trousers", "heels", "socks"])
bar.add_yaxis("Merchant A", [5, 20, 36, 10, 75, 90])
bar.render()
You can also use |
Beta Was this translation helpful? Give feedback.
-
Since the key is to extract the corresponding options from pyecharts, you might want to try this: from json import loads
ui.echart(options=loads(bar.dump_options_with_quotes()) The variable |
Beta Was this translation helpful? Give feedback.
-
Question
pyecharts:https://github.com/pyecharts/pyecharts-gallery/blob/master/README_EN.md
Beta Was this translation helpful? Give feedback.
All reactions