EXTJS - FAILED TO FIND CHARTS ON THE SPECIFIED LOCATION?

Allen Scott

Total Post:46

Points:324
Posted by  Allen Scott
 827  View(s)
Ratings:
Rate this:
I have included the ext-all.js file in our index page, and also in our MyCharts.js file I have included the requires file like this:
requires: [
       'Ext.chart.CartesianChart'
]
but I have getting error like this:
c2000: Requirement had no matching files (Ext.chart.CartesianChart) ... ...
Please tell me how can I solve chart path related issue..!
  1. Tarun Kumar

    Post:214

    Points:1642
    Re: Extjs - Failed to find Charts on the specified location?

    Sencha Charts are not included in the Extjs library by default.
    You can use the sencha charts by uncommenting it in app.json file.
    it looks like this, (search it and uncomment it):
    "requires": [
             "sencha-charts"
    ],
    that's it.
    [Note: there will be only one require field so comment the another require field.]
    now execute the command 'sencha app watch' in the application folder.
    This works for me, I hope it will be helpful for you also.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!