Improving Runner::_generate_chart method