Fix transX

transX didn't work as it was supposed to because I did `if @options.horizontal` instead of `if not @options.horizontal`. This caused issues with line charts.