Allow -1 to retrieve all visits and set number to -1 for visits graph. Solves #221
Formatting