Configuring Colours

The default 'named' colours used by charts etc. and the order in which they are displayed can be defined in the dashboard.config file. See your system administrator for mare details on how to change these settings.

Default Colours and Order of Allocation

There are fourteen 'named' default colours used by charts. 

Each 'named' colour has three possible hex codes associated with it. The primary colour is used as standard, the Dark colour is used with the Dark Colour Scheme and the Light colour used with the Light Colour Scheme (Menu->Colour Scheme when viewing a dashboard). The allocation of colours to series on charts is automatic as standard.

Example dashboard.config Code Snippet.

DashboardConfigSnippetColoursPiePivotIndex

Ordering Colour Allocation

Standard charts

By Default, chart series will be allocated in the order as defined above. In this case, if there were three series placed on a chart, the colours would be shown as Red, Orange and Yellow. This default order can be changed by re-arranging the order of the colours defined in the dashboard.config. For standard charts and measures these colours can also be changed at component design time using 'display options'.

Pie Charts (V6.1 onwards).

Generally, Pie charts are dynamic by their nature and the colours auto-allocated to each segment follow the standard order above. If a different order is required, an index (PieIndex) can be defined to change the order of colours allocated. In the above example if a pie chart generated three segments they would be coloured Blue (PieIndex="0"), Red (PieIndex="1") and Pink (PieIndex="2")

Pivoted measures on Charts

Generally, pivoted measures are dynamic by their nature and the colours auto-allocated to each series generated follow the standard order above. If a different order is required, an index (PivotIndex) can be defined to change the order of colours allocated. In the above example if a chart with a pivoted measure generated three series they would be coloured Blue (PivotIndex="0"), Green (PivotIndex="1") and Yellow (PivotIndex="2")

Other colour settings

In addition to the standard colours used by charts etc. the default dashboard header and dashboard background colour can be set here. In each case two hex colours can be provided and the colour gradient specified will be shown on the dashboards. for example, use this if you would like to show a colour transition from light grey to dark grey.

The default colours for Breadcrumbs and Filter text can also be set here.