Ext Js 4 Chart inside viewport
问题 I am trying to build a chart inside a viewport, but can't figure out how. Visit http://13.233.173.7/app2.html to view I have tried importing var chart into overview-generic.js and specify chart as items: chart. It is not working <!DOCTYPE html> <html> <head> <title>Dashboard</title> <!-- ExtJS --> <script type="text/javascript" src="http://cdn.sencha.com/ext/gpl/4.2.1/examples/shared/include-ext.js"></script> <!-- Shared --> <link rel="stylesheet" type="text/css" href="http://cdn.sencha.com