...
|
...
|
@@ -27,23 +27,8 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="testDiv"></div>
|
|
|
<script type="text/javascript">
|
|
|
$.ajax({
|
|
|
url: contextPath + "/redisInfo/getRedisInfo",
|
|
|
type: 'post',
|
|
|
async: false,
|
|
|
dataType: "json",
|
|
|
success: function (data) {
|
|
|
if(data.data!=null&&data.data!=''){
|
|
|
console.log(data.data);
|
|
|
var chart = new FusionCharts("<%=basePath %>/js/charts/DragNode.swf", "ChartId", "1650", "650", "0");
|
|
|
chart.setXMLData(data.data);
|
|
|
chart.render("chartdiv");
|
|
|
}else{
|
|
|
alert("数据加载失败!");
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
var chart = new FusionCharts("<%=basePath %>/js/charts/DragNode.swf", "ChartId", "1650", "650", "0");
|
|
|
chart.setXMLData(dataString );
|
|
|
chart.render("chartdiv");
|
|
|
</script> |
|
|
\ No newline at end of file |
...
|
...
|
|