为什么保存图表功能不起作用?甚至在官方的例子中?
http://examples.ext.net/Examples/Chart/Area/Basic/
它的javascript代码示例我使用它已经工作了6个月,现在它已重定向到
带有空白页的<script>
var saveChart = function (btn) {
Ext.MessageBox.confirm('Confirm Download', 'Would you like to download the chart as an image?', function (choice) {
if (choice == 'yes') {
btn.up('panel').down('chart').save({
type: 'image/png'
});
}
});
}
<script>
答案 0 :(得分:1)