-fixed bug: there was a problem with endless calls of "renderChart"
under certain conditions, which slowed down the performance and in worst
case blocked the browser