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))
)
风雨兼程,前程可待!