If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
I am wondering about this same thing. The graphs all default to 1hr, and can be changed manually when you are viewing the graph.
I want to default the graphs to something else (say 24 hours). This setting also impacts the screens. IMO, 1 hour graphs don't mean too much to me (network admin), and currently there doesn't seem to be a way to change what the screens show.
The bigger issue is that this information isn't stored in the database, so it's the PHP frontends job to determine the range.
However, maybe it would make sense to create another field in the graphs table to store the default time range? This field could default to 1hr, and it wouldn't be any different than it is now. The PHP frontend would then pull that value from the database, and it could be overwritten by the frontend if another range is chosen?
In the meantime, I think I will just hardcode the time range to 8 hours (86400 seconds). This is from charts.php in 1.1alpha2.
Comment