Joanna - 2016-07-14

I noticed that the API doesn't support passing a null value as categories parameter to XAxis/YAxis#setCategories() metod (e.g. chart.getXAxis().setCategories((String[]) null)). This is useful when we want to switch the axis type from CATEGORY to e.g. DATE_TIME. Without setting this (even when we set empty categories array), the axis displays the milisecond representation of date for each point instead of showing axis labels as usual for the DATE_TIME type.
The only change required, I suppose, is to check the 'categories' parameter for being null, and, if it is, passing null instead of constructing the JsArrayString object (Highcharts supports this and makes the chart display as expected).

PS. This is rather an issue report than a discussion topic, but I haven't found any issue tracker (here creating issues is blocked) - is there any?