Hello There
I faced a problem implementing “ Bar -Bar-Toolkit” -> https://gallery.pyecharts.org/#/Bar/bar_toolbox , and in particularly the Zoom-out /In button is not working. It is selectable but then no effect into the chart when I try to select an area.
Could you please give me a feedback telling me what is needed to do in order to have a zoom-In/zoom-out chat available?
Many thanks & BR,
Mauro
PS:
Pyechats version : 1.9.1 and here below how I have imported the "ToolBox" :
bar_chart_Cluster_by_RN_calls_HO_att = (
Bar()
.add_xaxis(grouped_by_CLUSTERS_RNCall_HOatt.index.tolist())
.add_yaxis('RN_Calls', grouped_by_CLUSTERS_RNCall_HOatt['RN_Calls'].round(0).tolist())
.add_yaxis('HO_att', grouped_by_CLUSTERS_RNCall_HOatt['HO_att'].round(0).tolist())
.set_global_opts(
datazoom_opts=opts.DataZoomOpts(range_start=0, range_end=100), # zoom dell asse X
title_opts=opts.TitleOpts(title='RNCalls and HOattempts by month', subtitle='Hannover Region'),
toolbox_opts=opts.ToolboxOpts(), # <-------------- it doesn´t work!
legend_opts=opts.LegendOpts(is_show=True),
)
)
bar_chart_Cluster_by_RN_calls_HO_att.render_notebook()
Hello There I faced a problem implementing “ Bar -Bar-Toolkit” -> https://gallery.pyecharts.org/#/Bar/bar_toolbox , and in particularly the Zoom-out /In button is not working. It is selectable but then no effect into the chart when I try to select an area. Could you please give me a feedback telling me what is needed to do in order to have a zoom-In/zoom-out chat available?
Many thanks & BR, Mauro PS: Pyechats version : 1.9.1 and here below how I have imported the "ToolBox" : bar_chart_Cluster_by_RN_calls_HO_att = ( Bar() .add_xaxis(grouped_by_CLUSTERS_RNCall_HOatt.index.tolist()) .add_yaxis('RN_Calls', grouped_by_CLUSTERS_RNCall_HOatt['RN_Calls'].round(0).tolist()) .add_yaxis('HO_att', grouped_by_CLUSTERS_RNCall_HOatt['HO_att'].round(0).tolist()) .set_global_opts( datazoom_opts=opts.DataZoomOpts(range_start=0, range_end=100), # zoom dell asse X title_opts=opts.TitleOpts(title='RNCalls and HOattempts by month', subtitle='Hannover Region'), toolbox_opts=opts.ToolboxOpts(), # <-------------- it doesn´t work! legend_opts=opts.LegendOpts(is_show=True), ) ) bar_chart_Cluster_by_RN_calls_HO_att.render_notebook()