Changing the text colour in the traffic Graphs

Started by marjohn56, January 12, 2018, 09:04:59 PM

Previous topic - Next topic
January 12, 2018, 09:04:59 PM Last Edit: January 12, 2018, 09:10:11 PM by marjohn56
I hate to not be able to work something out, but I have tried various methods and have failed, so need a little pointer.

I am creating a new theme, it's pretty much there, apart from the colour ( color if you're in the U.S. but this side of the pond we use a 'u', and as we invented English we'll stick with it, no matter what Microsoft say. :P ) of the text. I have traced it as far as the nvd3 calls in traffic_graphs widget.php, but i'm unable make the colour change on all of the text no matter how I try.

BTW Red is just for testing. :)

Oh yes, this is what I am using:

d3.select("#traffic_graph_widget_chart_in").style('fill', "red");
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member