Jump to content
  • 0

Bandwidth Pie Colour


Question

Posted

Hey,

 

Wondering if one of you can point me to where the client area -> manage service bandwidth/disk usage pie charts get their colour from as the default green doesn't fit in with my design.

 

Guessing it's a JS file somewhere beings as it's using the Canvas and it's not being set with CSS.

 

Nevermind... realised it's in a script at the bottom of the page :)

4 answers to this question

Recommended Posts

  • 0
Posted

Hello mate,

 

I just mucked about with mine to help you and found out how to do this for you.

 

/components/modules/cpanel/views/default/tab_client_stats.pdt

 

You should see this:

seriesColors:  ["#a80000", "#1d80b3"],

 the second value is the green I edited that code to include blue so if your searching it all don't include the last one.

 

 

Now that changes the colour of the background, but the grey text doesn't fit in on there, so go to:

 

/vendors/jqplot/jquery.jqplot.min.css

 

and add this code to the bottom of it.

.jqplot-target .jqplot-data-label {color: #ffffff !important;}

 That makes the font white.

 

 

Preview:

charts.PNG

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...