Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉如何设置图表组件的高度以支持 extjs 中的所有分辨率
谢谢
这完全取决于容器。例如,aviewport将始终填满浏览器窗口。
viewport
所以你可以使用:
new Ext.container.Viewport({ layout: 'fit', items: myChart });
图表将始终与浏览器窗口一样大。