added a mutex so that the chart does not get redrawn when the user zooms via the built-in controls (navigator or range selector)