Anyone use the excellent
PHP-STATS statistics package ( available here
http://www.php-stats.com/) ?
If so, here are a couple of snippets (written for Etomite, but should work in MODX with some amendment) which display monthly, and the most recent daily visitors and page hits.
See the comments in the attched file. Also you will need the 2 gifs, also attached.
You can see a live working example (with some additional bits and pieces) here http://www.gbtamc.co.uk/et/index.php?id=317