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

@@ -843,10 +843,268 @@
 ;%0A    %7D%0A
+    %0A    /**%0A     * @param label%0A     */%0A    public void setLabel(String label)%0A    %7B%0A        if(getLabel() != null)%0A        %7B%0A            super.setLabel(label);%0A        %7D%0A        else%0A        %7B%0A            super.setLabel(new XLabel(label));%0A        %7D%0A    %7D%0A
 %7D%0A

Update XAxis.java