Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Dashboard

  • Button

  • Chart Panel

  • Chart

  • Table

  • Card

  • PDF

  • Login Screen

  • Config Screens

  • Mobile

Each of these options is covered in more detail in the Dashboard CSS Tags section. Prior knowledge of CSS and HTML is useful but not essential. 

...

Changing the colour from #000000 to #d80751 for example changes the colour of the sample text.

...

Rather than using hex codes, you can also enter a new colour choice by typing the name of the colour e.g. red or blue.

...

To see how this change might look on the Dashboard, click the ‘Preview’ icon.

...

Click the ‘Remove’ icon next to the relevant colour.

...

...

Configuration

This section allows users to define additional aspects associated with the stylistic parts of the dashboard, over and above the CSS tags.

...

Dashboard

Always Show Logo – When ticked, this will force the logo to always be displayed on the category. Un-ticking it will hide the logo when the category list isn’t displayed.

...

Info

The optimum size for a logo is around 100px X 50px.

After adding the relevant images into the correct folders, ensure that you type the name of the image into the relevant sections.

...

Fonts

Custom Font URLs This allows you to configure Custom Fonts to be utilised in piDashboard. The URL specified needs to contain the @Font_Face rules, for example: https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap ). 

...

You could then use .pi-style__body with font-family: 'Red Hat Text' to apply to everywhere in the dashboard. 

Charts

Lightbulb Chart Border Display - when ticked; a border will be displayed around the edge of a light bulb chart type. 

Example

This shows how a lightbulb looks with a border.

...

Example

This shows how a lightbulb looks without a border.

...

Turn Off Tooltips – if this box is ticked, tooltips will not be displayed when you hover charts. The following screenshot shows how tooltips are displayed.

...

Show Line Dots - this is used to show line dots on Spline and Line charts. By default, this option is not selected.

...

Chart Grid Line Colour. – this is used to set the colour of the gridlines used in a chart. To specify a colour, enter a HEX code into this field.

...

Example

This example shows how the grid lines will look on a chart.

...

Info

If a colour is not entered here, the standard dashboard grid colours will be used. Certain named colours can also be used, please see https://www.w3schools.com/cssref/css_colors.asp for more information.

Tables

Adding a numerical value to ‘Minimum Column Width’ field will restrict all table columns so that they don’t fall below the specified width. This value will be respected even if width values have been applied to individual columns in the Edit Chart screen.

Adding a numerical value to ‘Row Height’ will fix the height of all table body rows to the specified height. Setting this value will also overwrite line-height in .pi-style__table-body-cell, to use this property the !important tag needs to be added to line-height in .pi-style__table-body-cell.

Info

Row height does not apply to header rows, which can already be adjusted in the tables styles tab with .pi-style__table-header-cell using the line-height property.

...

Login Page

Login Screen Background Image - the background ‘splash’ screen is displayed when the login window is presented. This field supports the same image types as Login Screen Logo.

...

Images in Card chart types. You can embed an image inside a card chart by using the Image box on a card. Tick the ‘Image’ box and enter the name of the image into the Image field in Content section on the right-hand side of the screen.

...

Example

This is how the image will appear when used on a Card chart type.

...

Info

The images need to be placed in this folder: …\tomcat\webapps\panMISDashboardResources\images

...

<span class= "THE NAME OF THE FONT ICON"style="color:#ffffff; font-size:0.8em;"></span>

 Example

In the following example an image has been concatenated with the Gender object.

...

When this is used in a table, the image and the gender will appear together in the same column.

...

This will extend the height of the “page” allowing you to scroll up/down the dashboard, rather than the vertical size being decided by the monitor.

Elementor macro
rowWidth100
title81fro
content[{"id":"0wqic","order":1662550887672,"background":{"source":"color","value":"#ffffff","id":""},"backgroundOverlay":{"isActive":false,"color":"#000000","opacity":0.5},"rows":[{"id":"tdsmx","order":1662550887672,"type":"one","columns":[{"id":"wjnfxs","order":1,"alignment":{"vertical":"center","horizontal":"center"},"macro":{"id":"pagedivider","dividerColor":"#8d135bff","text":"Related Topics","fontSize":24,"textAlignment":"center","dividerWidth":100,"dividerWeight":3,"dividerType":"text-only","dividerIcon":"atlaskit/StarFilledIcon","textColor":"#8d135bff","iconColor":"#000","labelPosition":"middle","emojiEnabled":"false","emoji":{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}}},{"id":"rps25r","order":2,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"2g2hks","order":3,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"u4av8l","order":4,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}}]},{"id":"cowdu","order":1662550927327,"type":"one","columns":[{"id":"g1gzyg","order":1,"alignment":{"vertical":"center","horizontal":"center"},"macro":{"id":"pages","type":"list","layout":"four","loadType":"manual","parentPage":"","manualPages":[{"id":"4bz14n","position":0,"contentId":"293634107"},{"id":"f9owm","position":1,"contentId":"923238401"},{"id":"d5laye","position":2,"contentId":"1247870977"}],"labels":[],"spaces":[],"contributors":[],"numberOfItems":8,"pagination":"infinite"}},{"id":"v95bzf","order":2,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"s6qds","order":3,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}},{"id":"g24p6n","order":4,"alignment":{"vertical":"center","horizontal":"center"},"macro":{}}]}]}]