Set type of x axis (timeseries, category, indexed)
external String get type;
external set type(String v);