/*
 *  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;

/**
 * @author Joe Hendrix
 */
public class XAxis extends Axis
{
    private boolean localTime;

    /**
     *
     */
    public XAxis()
    {
        super("x");
    }

    /**
     * @param label
     */
    public XAxis(String label)
    {
        this();
        setLabel(new XLabel(label));
    }

    /**
     * @return
     */
    @Override
    public XLabel getLabel()
    {
        return (XLabel) super.getLabel();
    }

    /**
     * @param label
     */
    public void setLabel(XLabel label)
    {
        super.setLabel(label);
    }
    
    /**
     * @param label
     */
    public void setLabel(String label)
    {
        if(getLabel() != null)
        {
            super.setLabel(label);
        }
        else
        {
            super.setLabel(new XLabel(label));
        }
    }
}

@@ -1101,10 +1101,282 @@
 %7D%0A    %7D%0A
+    %0A    /**%0A     * @return%0A     */%0A    @Override%0A    public XPadding getPadding()%0A    %7B%0A        return (XPadding) super.getPadding();%0A    %7D%0A%0A    /**%0A     * @param padding%0A     */%0A    public void setPadding(XPadding padding)%0A    %7B%0A        super.setPadding(padding);%0A    %7D%0A
 %7D%0A

Update XAxis.java