var analogChart = echarts.init(document.getElementById('energy-efficiency'));
function loadAnalogData() {
var url = '<%=basePath %>views/Singlestation/getUnbalanceData?groupId=' + $("#selectCircuit").val();
$.ajax({
type: "GET",
url: url,
success: function(data){
if(data.status == 1000) {
analogChart.clear();
unbalanceChart.clear();//清空页面的中的数据,但不初始化echarts
loadAnalogChart(data, "");
}
}
});
}
function getASeries(name,seriesData){
return {
name: name,
type:'line',
label: {
normal: {
show: true
}
},
data:seriesData
};
}
function loadAnalogChart(data, title) {
var dataUnits = da
ECharts曲线图形显示例子
最新推荐文章于 2024-07-17 17:07:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)