public LabelsComponent(SplitsSettings settings, IEnumerable <ColumnData> columns)
        {
            Settings      = settings;
            MinimumHeight = 31;

            MeasureTimeLabel   = new SimpleLabel();
            MeasureDeltaLabel  = new SimpleLabel();
            TimeFormatter      = new RegularSplitTimeFormatter(Settings.SplitTimesAccuracy);
            DeltaTimeFormatter = new DeltaSplitTimeFormatter(Settings.DeltasAccuracy, Settings.DropDecimals);

            Cache      = new GraphicsCache();
            LabelsList = new List <SimpleLabel>();

            IEnumerable <ColumnData> splitsLabel = new ColumnData[] { new ColumnData(Settings.SplitsLabel, ColumnType.SplitsLabel, null, null) };

            ColumnsList = splitsLabel.Concat(columns);
        }