@Override public int getAxisIndex(final AxisType axis) { for (int i = 0; i < m_axes.length; i++) { if (m_axes[i].getLabel().equals(axis.getLabel())) return i; } return -1; }