take a more functional approach to label and tooltip generators

- XYChart label generator now deals in functions
- XYChart tooltip generator now deals in functions
- provide appropriate aliases in TypeImports
functional approach for pie chart labels and tooltips
add missing tests for the new chart factories
functional approach for category chart labels and tooltips