Totara Learn Open Discussions

Graphical Reporting

 
Lynsey Strydom
Graphical Reporting
by Lynsey Strydom - Tuesday, 7 July 2020, 7:27 AM
Group PartnersGroup TXP Site AdministratorGroup V18 Program Complete

Hi

Are there any CSS experts out there who could help with Graphical Reporting. 

I have set up my reports, and managed to set the colours - is there anyway I can set the colours per 'label'

e.g. Green - Not due for renewal, Orange - Due for renewal, Red - Renewal expired

The graph does this in percentage order from high to low. But it then confuses people as it would be better if it always displayed the same colour per label. Or are there any suggestions of how I could display this graphically which would work like this?



Hope that makes sense! Any help would be greatly appreciated. 

Craig Eves
Re: Graphical Reporting
by Craig Eves (Totara Support) - Tuesday, 7 July 2020, 4:06 PM
Group Totara

Hi Lynsey

The settings for graph colours are controlled through the parameters added into the graphing tool rather than through changing CSS.

The setting you want to input should be added to the custom setting in the report builder graph area

Depending on the data and type of graph you can change the colours of each data item by adding the string listing the colours required separated by a comma e.g.

 colours = #ff0000,#00ff00,#0000ff

regards