Class RevealTheme

Class defining a theme to be used to render RevealView with. When instantiated it has the values for the default reveal theme. Create an instance tune it as you like and then set it to RevealSdkSettings.theme. You should set the theme before RevealView is rendered.

Hierarchy

Index

Constructors

Properties

_contextId: string
accentColor: string = ""

Accent color

backgroundColors: string[] = []

The list of background colors displayed as the palette when selecting the background color for a visualization. This color palette could have any number of elements.

boldFont: string = ""

Font family used for bold font style

boldItalicFont: string = ""

Font family used for bold italic font style

chartColors: string[] = []

The list of chart colors. This color palette could have any number of elements. Once the list is finished, Reveal will start auto generating shade of these colors.

theme.chartColors = ["rgb(255,0,0)","rgb(0,255,0)", "rgb(0,0,255)"];
conditionalFormatting: RVConditionalFormatting = ...

Conditional Formatting set of colors HI, MID, LOW and NONE values.

dashboardBackgroundColor: string = ""

Main background color

fontColor: string = ""

Font color

highlightColor: string = ""

Highlighting color that is used on specific scenarios for dashboards (forecast and outliers).

theme.highlightColor = "rgb(255,0,0)";
italicFont: string = ""

Font family used for italic font style

mediumFont: string = ""

Font family used for medium font style

regularFont: string = ""

Font family used for regular font style

useRoundedCorners: boolean = false

Rounded corners in buttons, tooltips, containers, visualizations, etc. If false, squared corners will be shown

visualizationBackgroundColor: string = ""

Visualizations, modals, list-items... secondary background color

visualizationMargin: number

Gets or sets the margin around the visualization. The space around the visualization. Default is 2.

Methods