Closed town3r closed 2 years ago
@zelrone Can you take a look at it.
Is there a specific file that has the configuration of how things are displayed on the graph that I could test a few things?
@town3r I tried a few things but the current one is the best I could do.
I am making a new standalone version with better graphing libraries.
Guessing no, but is it possible to just copy the graph style of Total Queries & Client activity?
I'm digging into the AdminLTE-master files a bit to see if i can find where you added the Speedtest graph. Was the code to add the speedtest graph just merged with the existing datatables css file or is there a separate new one?
Apologies for all the questions. first time really looking at the files and seeing where things are
@town3r Since there is not date, the Total Queries & Client activity
graph looks nice, I tried the same style the result was not good.
Js file is available here https://github.com/arevindh/AdminLTE/blob/master/scripts/pi-hole/js/speedtest.js
.
If you are successful a pull request is appreciated.
Thank you!
Super new to JS and really Github was well so no idea how to perform a pull request.
Did find removing Do
from the (itemdate).format("Do HH:mm")
line seems to help when viewing on mobile.
and modifying the maxTicksLimit
from 10
to 20
helped as well.
Haven't been able to figure out how to change the color of the text or have them rotate to fit correctly yet.
@town3r now it's missing date right?
Yeah, which I'm ok with.
I was more wanting it to mirror what the other graphs look like & display on the admin dashboard.
When it's only showing the last 24 some hours the date isn't really needed.
When it's only showing the last 24 some hours the date isn't really needed.
But it is not good for more than a day. I will keep it as it since it needs to show more days.
Hit up the discourse.pi-hole.net forum to see if maybe someone knows how the Pihole devs configured their fancy dashboard graphs.
https://discourse.pi-hole.net/t/pihole-dashboard-graph-configuration-file-location/46817
Stale issue message
Can this be reopened?
The time labels of the dashboard graph are not angled like the others resulting in text being covered.