Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Changing the text colour in the traffic Graphs
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing the text colour in the traffic Graphs (Read 4942 times)
marjohn56
Hero Member
Posts: 1701
Karma: 179
Changing the text colour in the traffic Graphs
«
on:
January 12, 2018, 09:04:59 pm »
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.
) 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");
«
Last Edit: January 12, 2018, 09:10:11 pm by marjohn56
»
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Changing the text colour in the traffic Graphs