You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
628 B

$(function() {
//两种方式
/* $.getJSON('line.do', function (data) {
var myChart = echarts.init(document.getElementById('psLine'));
myChart.setOption(data, true);
});*/
$.ajax({
type : "POST",
url : ctx+"/manage_reportUser.do",
dataType : "json",
success : function(data) {
var myChart = echarts.init(document.getElementById('user'));
myChart.setOption(data, true);
}
});
$.ajax({
type : "POST",
url : ctx+"/manage_reportSay.do",
dataType : "json",
success : function(data) {
var myChart = echarts.init(document.getElementById('say'));
myChart.setOption(data, true);
}
});
});