Adding inline CSS code to visuals

To add simple formatting to a visual, follow thsese steps:
  1. On the right side of Visual Designer, click the Custom Style menu.
  2. Enter a CSS code snippet under the Enter in-line CSS option. You can select the Autocomplete option, too.

    To apply an inline style to a dashboard, see Adding Inline CSS code to Dashboards.

Inline CSS usage

Under Enter in-line CSS, enter the following code to set the background and font color for table headings:
th{
  background-color: #336699;
  color: #ffffff;
}

After refreshing a table visual, it will look something like this: