To add simple formatting to all the visuals in the dashboard, navigate to the Custom Style menu, and enter a CSS code snippet under the Enter in-line CSSoption. You can select the Autocomplete option, too.
To apply this operation at the level of a specific visual, see Adding Inline CSS code to Visuals.