Can someone pls illustrate the correct way to extend the Category class?

I created a new class (Category1) and gave it a new 'type:category1'.

I get an error when the app is trying to load Ext.chart.axis.Category1.