Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Format Interactive Elements

Learning Objectives

After completing this unit, you’ll be able to:

  • Format interactive controls.
  • Format marks.
  • Format tooltips.
  • Format animations.

Format Interactive Controls 

You can format all of your interactive controls—including legends, filters, highlighters, and parameters—at the same time using the Interactive Controls section of the worksheet format pane.

To access these settings, go to Format, then select Worksheet and Interactive Controls.

The Interactive Controls formatting menu shows the option to apply formatting to Legends, Filters, Highlighters, and Parameters at once, with the options to tailor Fonts and Style.

If you'd like these controls to have consistent formatting, formatting at this level saves you time. If you want your Interactive Controls to have a different look, you can format legends, filters, highlighters, or parameters on their own. 

There are several ways to format the Interactive Controls individually. When you click the legend card itself, the formatting pane updates with the options for that specific control. You can also click the menu on the control card to access formatting options or click Format on the toolbar and choose the control (Legends, Filters, Highlighters, or Parameters) from the list. 

Format Marks

When you drag fields from your data source onto the Marks card, you add visual detail to your data with size, shape, text, color, and other properties that can add meaning to the data points on your viz. You can assign colors to marks, show and hide the mark labels, change the size of the marks, and even change the shape or type of marks displayed on your view.

The formatting options for Marks are on the Marks card. 

Edit Colors 

Here’s how to change the color palette or customize how color is applied to your marks.

  1. On the Marks card, select Color then Edit Colors.The Edit Colors dialog box shows a menu of 12 available color palettes in a dropdown menu.
  2. Select the Color Palette you'd like to use.
  3. Select the Data Item you'd like to change.
  4. Choose a color for the data item from the menu.

In this example, the palette is set to Traffic Light and the color red is assigned to the Unprofitable data item.

The Edit Colors dialog box shows the Traffic Light palette selected.

Edit Size

To change the size of marks, on the Marks card, click Size, and then move the slider to the left or right.The Marks Size slider is found on the Size box on the Marks card.

Note

The size of your data view isn’t modified when you change marks using the Size slider. However, if you change the view size, the mark size might change to accommodate the new formatting. For example, if you make the table bigger, the marks might become bigger as well.

Edit Shape

Here’s how to change the shapes of marks.

  1. In the Mark type dropdown menu, select Shape.
  2. From the Data pane, drag a field to Shape on the Marks card.
  3. Click the Shape box, and choose a shape.

The Shape menu found on the Size box on the Marks card offers 20 different shapes to choose from.

Format Tooltips

Tooltips are details that appear when you hover over one or more data points, or marks, in your view. Like most other interactive elements, you can format them to look the way you want them to. You can customize the font type, size, and color. You can also choose if you'd like your font to be centered, aligned left, or aligned right.

  1. On the Marks card, select Tooltip.
  2. Highlight the text you'd like to format.
  3. Use the formatting tools along the top of the Edit Tooltip dialog box.
  4. Make your selections and click OK.

The Edit Tooltip dialog box shows formatting options, including font, size, type, color, and justification, along with the OK button at the bottom right of the box.

To reset your custom formatting, click Clear Formatting.

Format Animations

When you create a workbook, Tableau enables animations for your viz by default. You can turn animations on or off at the workbook or the worksheet level.

  1. Go to Format and select Animations.
  2. Decide if you want your formatting to apply to all sheets within a workbook or just an individual worksheet.
    • If you want to animate every sheet, under Workbook Default, click On.
    • If you want to animate an individual sheet, make sure that the sheet you want to animate is shown under Selected Sheet.
  3. Then choose from these options:
    • Duration: You can choose a preset time duration or specify a custom duration of up to 10 seconds.
    • Style: You can choose Simultaneous, which will play all animations at once; or Sequential, which will fade out marks, move and sort them, and then fade them in.

The Format Animations dialog box shows options to apply formatting at the workbook level or an individual sheet. Each section has menus to format the duration or style. In the middle of the box is a Reset All Defaults button.

To reset your animation formatting, click Reset All Sheets, located in the middle of the Format Animations menu. Note that this will reset the animation formatting for all sheets in the workbook.

Tableau provides you with the tools to take your viz from good to great. As you learned, you can customize almost every element of your viz so that you can tell your story the way that's the most meaningful for your analysis and presentation.

Resources 

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈