window.area = chanxian;window.temp = 0;var len = window.area.length;var temp = 0;var temp11;setTimeout(function() { setInterval(function() { /*刷新饼图*/ FR.Chart.WebUtils.changeParameter( '饼图', { "chanxian": window.area } ); /*刷新柱形图*/ FR.Chart.WebUtils.changeParameter( '柱形图', { "chanxian": window.area } ); this.options.form.getWidgetByName('report0').gotoPage(1,"{}",true); if (window.temp == (window.area.length - 1)) { window.temp = 0; } else { window.temp = window.temp + 1; } }, 5000);},5000);