rebind x and y axis on the fly.  redefine class attribute on the fly