[Calc] Using two columns to generate X axis

I have two columns: one describing “category” and the second one “subcategory” like on this picture: http://oi68.tinypic.com/331og9f.jpg

How can I create X axis accordingly to this arrangment. Currently I have axis like this:
http://oi64.tinypic.com/34e6jxh.jpg