Added a 'beforeUpdate' dispatch event to the discreteBarChart