在堆积条形图中匹配颜色系列 [英] Match Color series in stacked bar chart

查看:853
本文介绍了在堆积条形图中匹配颜色系列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个堆积的条形图,x轴上有年份,y轴上有销售CY和销售LY,条形图也按公司名称分组(堆叠),如下图所示:



<问题是我想要匹配相同公司的颜色,例如:"united package CY"。和"联合包裹LY"两者都有相同的颜色,因此更容易看到公司和年份之间的比较。


有没有办法实现这个目标?



谢谢!


解决方案

是否可以分组在表格和传奇中,group_id代替?


Hi, I have a stacked bar chart, with year on the x axis, and sales CY and sales LY on the y axis, also the bars are grouped (stacked) by company name, like in the picture below:



The problem is I want to match the colors for the same companies, like: "united package CY" and "united package LY" have the same color for both, so will be easier to see the comparison between companies and years.

Is there any way to achieve this?

Thanks!

解决方案

Is that possible to group in the table and in legend the group_id instead?


这篇关于在堆积条形图中匹配颜色系列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆