View Full Version : [INFOREQ] Charts with 3dBars doesnt add the require and app after build doesnt work

13 Jun 2017, 3:08 AM

I was adding some charting with 3d Bars in one view and after I built production app.js the app doesnt work, I have figure it out that was that and I had to manually add the require Ext.chart.* after that worked but im assuming this should be caught automatically by Architect right?

13 Jun 2017, 4:01 AM

Yes, it should be handled automatically by SA.
Do you have please full steps to reproduce? Because I can't reproduce it. Would you perhaps be able to reproduce it from the blank project?

Also which framework are you using ?

Thank you

13 Jun 2017, 5:35 AM
Hi Petr,


I have a project and inside one of my views, that is linked to the project i added a new chart bar 3d. After build "production" the app.js generated complains about grid/horizontal3d , to fix it I had to add requieres Ext.chart.*. Hope htat helps. Im updated to latest version of Architect and cmd is

Sencha Cmd v6.5.0.180

I had to add this var Picked up _JAVA_OPTIONS: -Xms2048m -Xmx4096m because i was reaching the GC limit for Java and was not compiling before. After edit the JAVA options the process finished.

14 Jun 2017, 5:08 AM
Thanks for the additional info but I am not able to reproduce any problems.

My steps:
# Create new ExtJS 6.2 Classic project
# Add panel, add bar chart
# Remove the category axis
# Add 3D Bar Series
# Run production build

Everything works in preview.

14 Jun 2017, 5:18 AM
Steps done:
#Create a new Extjs 6.5 Classic Project
Add panel, Add Column Chart 3D
Run production build.
Tried that?

14 Jun 2017, 5:35 AM
I just tried that and everything works in the production build


In the class requires there are:

requires: [ 'MyApp.view.MyPanelViewModel',

Which should be really all that is needed for charts to work.