Chart client-side event handlers fix