Adding custom tooltip content functions
Consolidating and refactoring code between chart types