bar = Bar()
bar.add_xaxis(["连衣裙", "T恤", "短裤", "九分裤", "半身裙", "高跟凉鞋", "丝袜"])
bar.add_yaxis("商家A", [114, 55, 27, 101, 125, 27, 105])
bar.add_yaxis("商家B", [57, 134, 137, 129, 145, 60, 49])
bar.add_yaxis("商家C", [97, 11, 55, 88, 99, 60, 98])
bar.set_global_opts(title_opts=opts.TitleOpts(title="某商场销售情况"))
bar.render("bar.html")