Customizing the component layout
Each component in a dashboard or low-code app has a number of default options. By default, the configuration of these options is determined by the layout of the dashboard or low-code app on the whole. However, it is possible to override this. The way this can be done depends on the DataMiner version.
Select the component and go to the Layout tab on the right.
In the Styles section, you can then change the component theme in different ways:
To change the component theme to one of the different existing component themes for your current dashboard or low-code app theme, click the current theme and select a different theme in the drop-down list.
To customize the component theme, enable the Customize toggle button to customize the currently selected theme.
In the Title section, specify the following:
Font: Select a font type in the drop-down list
Font size: The size (in pixels) of the title
Alignment: Left, center, right, or justify
You can also further customize your title with Bold, Italics, and Underline.
In the Colors section, specify a custom background color and/or font color, either by specifying the color in RGB format, by entering the hex value or HTML color name, or by using the color picker box on the right.
Under Colors > Data colors or Colors > Color palette (prior to DataMiner 10.3.0 [CU16]/10.4.0 [CU4]/10.4.7), you can customize additional component colors, e.g. for the lines in a line chart.
From DataMiner 10.3.0 [CU16]/10.4.0 [CU4]/10.4.7 onwards, under Colors > Data colors, you can specify conditional colors. If a display label of the data matches the specified text, that data will inherit the conditional color. These conditional colors override the normal data colors.
To add a conditional color:
Expand the Conditional colors section below Data colors.
Select Add conditional color.
Enter a regular expression to match the display label. For example, entering
Tot
will match data labeledTotal
, while entering^Tot$
will only match data labeledTot
.Choose a custom color, either by specifying the color in RGB format, by entering the hex value or HTML color name, or by using the color picker box on the right.
In the Spacing section, specify the following:
Vertical margin: The amount of space (in pixels) above the component.
Horizontal margin: The amount of space (in pixels) next to the component.
Vertical padding: The amount of space (in pixels) that should be left free at the top of the bottom inside the component.
Horizontal padding: The amount of space (in pixels) that should be left free on the left and right side of the component.
Note
If a smaller value than the dashboard's or low code app's default value is configured for these settings, it will not be taken into account.
In the Border section, specify the following:
Roundness: The roundness (in pixels) of the border that should be displayed around the components.
Style:
No border
Line
Dashes
Dots
Sides: Select which sides of the component border should be shown.
Thickness: The thickness (in pixels) of the border that should be displayed around the components.
Color: Specify a custom border color, either by specifying the color in RGB format, by entering the hex value or HTML color name, or by using the color picker box on the right.
In the Shadow section, select the size of the shadow displayed behind the components.
Note
When you have customized a component theme, you can also save it, so that it becomes available with the other component themes for the current dashboard or low-code app theme. To do so, click Save as component theme and specify the name of the theme. However, note that this is only possible if the dashboard or low-code app is currently using a saved theme. If it is not, you will first need to save the dashboard or low-code app theme before you can save the component theme.