Allow charts to be chosen via config as well as ac-chart attribute