BASE DE DADOS DE CONHECIMENTO

How to add "transparent" to the color legend


Publicado: 15 Jun 2022
Data da última modificação: 09 Dec 2022

Pergunta

How to add "transparent" to the color legend
User-added image

Ambiente

  • Tableau Desktop

Resposta

1. Move to the following folder
     C:\Users\User Name\Documents\My Tableau Repository
2. Open the file "Preferences.tps" with a text editor.
3. Add the following XML in between the <workbook> and </workbook> markers:

<preferences>
<color-palette name="Transparent" type="regular">
<color>#FFFFFF00</color>
</color-palette>
</preferences>

4. Start Tableau Desktop and connect to the Sample-Superstore data.
5. Drag Order Date to Columns.
6. Drag Sales to Rows.
7. Drag Profit to Rows as follows:
User-added image
8. Change the bar type of Profit from Bar to Line.
User-added image
9. Click on the legend and select Edit Colors.
10. In Select Color Palette , select Transparent.
11. In Edit Colors, set Profit to the new Transparent color.

User-added image
Este artigo resolveu o problema?