Generalize chart width
Introduce chart selection events