知識庫

How To Customize the Color of the Bar When Marks Are Selected


發佈時間 : 01 Feb 2024
上次修改日期 : 01 Feb 2024

問題

How To Change the Color When Marks Are Selected.

Before selected:

User-added image
After selected:

User-added image

 

環境

  • Tableau Desktop

答案

1. Drag [Category] to [Rows] and [Sales] to [Columns].

2. Drag [Sales] to [Columns] again.

3. In mark card SUM(Sales)(2) drag [Category] to [Color] and configure colors as desired.

4. In mark card SUM(Sales)(2) click on [Color] and set [Opacity] to 0%.

5. Right click on axis Sales and click Dual Axis.

6. Right click on axis Sales and click Synchronize Axis.

6. Change All mark type to Bar.

7. Right click on top axis Sales and uncheck Show Header.

8. In mark card SUM(Sales) click on [Color] and configure color as desired.
這篇文章是否解決了問題?