How to define a data range for graphing?
| From: | Brian Dunning | Date: | Fri, 17 Dec 2010 19:45:36 +0000 |
| Subject: | How to define a data range for graphing? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-310119@lists.php.net to get a copy of this message | ||
Hey all -
I'm trying to provide reporting to users of our widget. Some may get 0 to 5 hits a day; others
may get up to 10,000 hits a day. I need to define the range of the graph (using one of
Google's). If their max day is 7, I'd like the graph to go from 0 to 10. If their max day
is 5678, I'd probably like it to go from 0 to 6000. I'm guessing the way to do this is
with a ceiling function?
- Brian