Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 399 Bytes

gauge_change_radius.md

File metadata and controls

17 lines (12 loc) · 399 Bytes

pyecharts 代码 / 效果

from pyecharts import options as opts
from pyecharts.charts import Gauge

c = (
    Gauge()
    .add("", [("完成率", 66.6)], radius="50%")
    .set_global_opts(title_opts=opts.TitleOpts(title="Gauge-修改 Radius 为 50%"))
    .render("gauge_change_radius.html")
)
<iframe width="100%" height="800px" src="Gauge/gauge_change_radius.html"></iframe>