It looks like this should be done with the Custom settings option under Advanced, but I can not get this to take anything without it saying "Syntax error"
Totara Learn Open Discussions
How to change the color of a graph
Hi Billy
That is right the custom settings option should be used - the format of this should be for example colours=#ff0000 - the hexadecimal value for red
There are also other graph settings that can be changed in SVG graph (which is what Totara uses to create the graphs) as described here
Regards
Hi Craig,
Thank you for your reply.
That worked in T12 but I believe that the code has changed in T13?
Trying colours=#ff0000 in T13 gives me "Syntax error"
~Billy
Hi Billy
It looks like this has changed in version 13 and requires JSON format as Chart JS is also being used .
The new format is explained in the public dev docs so something like "color": "#ff0000", is required
Regards
Hi Craig,
Unfortunately the code from the public dev docs "color": "#ff0000", is also giving me "Syntax error"
Any other ideas or suggestions Craig?
~Billy