Setting up “zoomed” event to only fire when actual zoom finishes

When you drag chart's scrollbar, you will get multiple triggers to zoomed event as the actual chart is zooming in the process.

This demo shows how you can use generic JavaScript mousedown and mouseup events to trigger your code that should be executed only when zoom ends. (user releases mouse coursor)