1. add function to draw total app user and traffic distribution;
2. minor refactoring;