enhance switcher and easy pie chart directives