/*
 *  The MIT License (MIT)
 *
 *  View the full license at:
 *  https://github.com/hendrixjoseph/FamilyTree/blob/master/LICENSE.md
 *
 *  Copyright (c) 2015 Joseph Hendrix
 *
 *  Hosted on GitHub at https://github.com/hendrixjoseph/FamilyTree
 *
 */

package edu.wright.hendrix11.d3.chart.axis;

/**
 * The padding for the y-axis will create more space on the edge of the axis. 
 * Top and bottom will be treated as pixels.
 */
public class YPadding
{
    int top;
    int bottom;

    /**
     * @param top the padding on the top, in pixels
     * @param  the padding on the bottom, in pixels
     */
    public YPadding(int top, int bottom)
    {
        this.top = top;
        this.bottom = bottom;
    }

    @Override
    public String toString()
    {
        return "{top:" + top + ",bottom:" + bottom + "}";
    }
}

@@ -444,16 +444,35 @@
 YPadding
+ implements Padding
 %0A%7B%0A    i

Update YPadding.java