protected override void RefreshHistogram(IReadOnlyCollection <LapTelemetryDto> loadedLaps, double bandSize, SuspensionVelocityWheelsChartViewModel wheelsChart) { _carProperties.ChartsProperties.SuspensionVelocityHistogram.BandSize = Velocity.FromUnits(wheelsChart.BandSize, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.ChartsProperties.SuspensionVelocityHistogram.Minimum = Velocity.FromUnits(wheelsChart.Minimum, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.ChartsProperties.SuspensionVelocityHistogram.Maximum = Velocity.FromUnits(wheelsChart.Maximum, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.FrontLeftTyre.BumpTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.FrontLeftChartViewModel).BumpTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.FrontLeftTyre.ReboundTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.FrontLeftChartViewModel).ReboundTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.FrontRightTyre.BumpTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.FrontRightChartViewModel).BumpTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.FrontRightTyre.ReboundTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.FrontRightChartViewModel).ReboundTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.RearLeftTyre.BumpTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.RearLeftChartViewModel).BumpTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.RearLeftTyre.ReboundTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.RearLeftChartViewModel).ReboundTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.RearRightTyre.BumpTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.RearRightChartViewModel).BumpTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); _carProperties.RearRightTyre.ReboundTransition = Velocity.FromUnits(((SuspensionVelocityHistogramChartViewModel)wheelsChart.RearRightChartViewModel).ReboundTransition, _suspensionVelocityHistogramDataExtractor.VelocityUnitsSmall); base.RefreshHistogram(loadedLaps, bandSize, wheelsChart); }