/** * Constructor. */ public Axis(Base base, int index, String label) { this.base = base; this.index = index; setAxisLabel(label); init(); }
/** * Set the base coordinate space. */ public Axis setBase(Base base) { this.base = base; if (getAxisLabel() != null) { setAxisLabel(getAxisLabel()); } init(); return this; }