pyecharts一般的な構成

データ視覚化pyecharts

公式ドキュメント

init_opts一般的な構成

長さと幅を設定します

c=Map(init_opts=opts.InitOpts(width=wid,height=hei))

共通の属性をc.set_global_opts

設定されたタイトル

title_opts=opts.TitleOpts(title=a+"XXX")

提供されるすべてのx軸のラベル

c.set_global_opts(xaxis_opts=opts.AxisOpts(axislabel_opts=opts.LabelOpts(font_size=10,interval=0)))

伝説は立ち上がってます

c.set_global_opts(
            title_opts=opts.TitleOpts(title=""),
            datazoom_opts=opts.DataZoomOpts(),
            legend_opts=opts.LegendOpts(
                type_="scroll", pos_left="80%", orient="vertical"
            )
        )

伝説は、ラジオだけに設定されています

legend_opts=opts.LegendOpts(selected_mode='single'),

x軸を設定し、引っ張っ

datazoom_opts=opts.DataZoomOpts() 

おすすめ

転載: www.cnblogs.com/yyjjtt/p/11287291.html