Add option to disable 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 extends the `axes` option to allow `true`, `false`, `'both'`, `'x'`, or `'y'`