Ext JS 6 - No charts found despite including ext-all.js
Even though I have included the file ext-all.js
in my index page; getting error like below when i try this online Guage chart example provided by Sencha
http://myapp.com/widget/polar.js?_dc=1436970370848 404 (Not Found)
Uncaught Error: [Ext.create] Unrecognized class name / alias: widget.polar
+3
source to share
4 answers
Charts are in a separate package:
Sencha charts are not included by default in Ext JS library. To include the charts package, simply add "charts" ( "sencha-charts" if you are working with Ext JS 5.x) in the required block in the generated applications Sencha Cmd file {appRoot} /app.json. Adding the package name to the required array directs Cmd to make the package available to your application.
https://docs.sencha.com/extjs/5.1/components/introduction_to_charting.html
+4
source to share