Add xaxis and yaxis options for disabling axes individually

I need to hide only the y axis labels. I tried setting `yLabelFormat` to a function that returns the empty string, but that broke the number displayed in the hover popup.

This patch replaces the `axes` option with separate `xaxis` and `yaxis` options for disabling axes separately.