protected override void CalcMinMax()
        {
            if (FitBars)
            {
                XAxis.Calculate(data.xMin - Data.BarWidth / 2f, data.xMax + data.BarWidth / 2f);
            }
            else
            {
                XAxis.Calculate(data.xMin, data.xMax);
            }

            // calculate axis range (min / max) according to provided data
            AxisLeft.Calculate(data.GetYMin(Components.YAxisDependency.Left), data.GetYMax(Components.YAxisDependency.Left));
            AxisRight.Calculate(data.GetYMin(Components.YAxisDependency.Right), data.GetYMax(Components.YAxisDependency.Right));
        }