Skip to main content

Dashboard Widget Types

In Holistics's dashboard, there are two types of widgets: Report widget and Text widget.

Report widget

Report widgets are used to visualize your data. Since Report widgets are backed by datasets, you can freely explore the underlying data:

Text widget

On the other hand, Text widgets are used to provide additional instructions, context, warnings... directly in your dashboard. The widget supports Markdown, which should serve your most common formatting requirements.

For example, adding dashboard section header:

Using HTML

Since markdown accepts HTML, you can use the HTML in Text widget to have Holistics render HTML instead of just showing a text value, such as:

  • Use HTML to create some inline CSS to style the text
  • use HTML's img/video tag to embed videos and images in your dashboard.

Here is an example code of how to add an image/video into Holistics dashboard:

<img src="insert-link" width="50%" height="50%"/>;

<video width="290" height="130" controls autoplay> <controls> <source src="insert-link" type="video/mp4"> </video>

Markdown inside HTML block

Since our markdown engine follow the CommonMark convention if the content has markdown inside an HTML block you need to specify HTML (followed by start condition and end condition as described here) to ensure the content renders correctly.

Here is an example of text widget content that has markdown inside HTML:

<div style="width: 500px; height: 500px; background-color: pink">;

# Heading level 1
</div>

Let us know what you think about this document :)