Use a timer to limit the number of calls to the chart context onbrush event.