piechart 散点图做图出现空白


参见:https://blog.51cto.com/u_15353383/3765764





bar2 = (
Scatter()
.add_xaxis(list(trade_time))
.add_yaxis(series_name='指标',
y_axis=integer.tolist(),#这里一定要有tolist
xaxis_index=0,
symbol_size=10,
color='pink',

# symbol='cricle'
)
.set_series_opts(label_opts=opts.LabelOpts(is_show=False))
.set_global_opts(legend_opts=opts.LegendOpts(is_show=False))
.set_global_opts(visualmap_opts=opts.VisualMapOpts(is_show=False),
datazoom_opts=opts.DataZoomOpts(type_="slider", range_start=80, range_end=100))
)
posted @ 2022-07-12 13:03  星涅爱别离  阅读(85)  评论(0编辑  收藏  举报