solves chart reRenderiging, introducing interaction on chart