I’d like to order the legends in my own way. I’m plotting a stacked bar chart and legends are shown according to ‘y’ column in same order they are plotting. I want to show legend in my order…
Below is the code of stacked bar chart that is using their way to do legend displaying.
plot = Bar(df, values='same_number', label=CatAttr(columns=['x'], sort=False), title="Stacked chart ", stack='y', legend='top_left', plot_width=700, plot_height=300, color=color( columns='colors', palette=palettes, sort=False))
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.