Multiple charts with same series color

原创 2016年08月31日 11:35:04

业务背景

部门A和部门B各做了一张图表,格式一模一样。但是由于部门B在月没有数据,导致两张表的配色方案不一样。(Mth列)



解决方案有两个

1.使图表属性Series Color的值为Match. 

此方法有个先决条件,所有相关图表所使用的query都必须是同一个。而各张图表显示的内容又往往是需要带有不同的筛选条件,如何共用同一个query呢?

解决方法也很简单,不直接在query filter做过滤,而是新增一些带有过滤条件的data item例如“部门A销售额”,“部门B销售额”.替代默认的“销售额”来使用,

2.为每一张图表设置Conditional pallette



最后看效果



版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

how to prevent multiple login for same user in asp.net

http://bytes.com/topic/asp-net/answers/890252-how-prevent-multiple-login-same-user-asp-netThis answe...
  • lJean
  • lJean
  • 2011年05月05日 13:32
  • 1015

Spark 2.1 , Method used to prevent multiple SparkContexts from being active at the same time

SparkContect.scala // In order to prevent multiple SparkContexts from being active at the same time...

Problem C: The Same Color

Problem C: The Same Color Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 983  Solved: 595 [Submi...

Unable to start MySQL service. Another MySQL daemon is already running with the same UNIX socket

Unable to start MySQL service. Another MySQL daemon is already running with the same UNIX socket ...
  • vicklin
  • vicklin
  • 2014年12月22日 15:56
  • 1062

How to Backup Different Release Databases with the Same Catalog Database

The purpose of this article is to explain how to set up different catalogs in the same database an...

This Vuser already started a transaction with the same name...解决方法

在做性能测试的时候,有时候会遇到下面的错误: This Vuser already started a transaction with the same name, and has not yet...

org.springframework.dao.DuplicateKeyException: a different object with the same identifier value....

org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was...

SpringMVC中类名重名(SpringMVC conflicts with existing, non-compatible bean definition of same name )

SpringMVC conflicts with existing, non-compatible bean definition of same name

Unity错误——1.error CS1704: An assembly with the same name `UnityEngine.UI' has already been imported.

今天在使用Unity5.5.0时,开启昨天的Unity 工程出现如下错误: 1.error CS1704: An assembly with the same name `UnityEngine.U...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Multiple charts with same series color
举报原因:
原因补充:

(最多只允许输入30个字)