public void Test()
        {
            LimitsWithStep limitsWithStep = new LimitsWithStep(
                new Limits{Min =1, Max = 2}, 3);

            Assert.AreEqual(1, limitsWithStep.Min);
            Assert.AreEqual(2, limitsWithStep.Max);
            Assert.AreEqual(3, limitsWithStep.Step);
        }
 public void CalculateLimitsAndStep(double min, double max)
 {
     Limits roundedLimits = new MinMaxRounder(min, max).Limits;
     double step = new ChartAxisIntervalCalculator(roundedLimits).Step.Value;
     YAxis = new LimitsWithStep(roundedLimits, step);
 }