add x-axis support, fixes #1