chart clickable, react