scaled axis refactor