fixed display of distancesChart