What does this error mean and how can i avoid it?

Uncaught Attempting to create a component with an xtype that has not been registered: chart

It has been thrown while trying to create a simple pie chart.