var myChart;function initProfile(e){$("#submitquery").click(function(e){location.href="#mainblock";myChart.clear();refreshBoard()});initDevices();$("#datetimepicker").datetimepicker({minView:2,pickerPosition:"top-right",format:"yyyy-mm-dd",todayHighlight:true,autoclose:true,todayBtn:true,startDate:defdate,language:"zh-CN"});$("#datetimepicker").val(defdate);refreshBoard();return"统计图表"}