電站資訊-逆變器分析: 修正下方的直條圖消失問題

This commit is contained in:
wanling040@gmail.com 2022-08-07 01:56:25 +08:00
parent 1a0769f5ea
commit de8cde18e8
2 changed files with 5 additions and 6 deletions

View File

@ -2359,7 +2359,7 @@
data: kwhBar.datasets[key],
backgroundColor: bgColorlist[index],
}
hideLoading();
return dataset;
});
$('#inverter-kWh-convas-div').empty();

View File

@ -56,8 +56,7 @@
<button type="button" class="btn btn-success waves-effect waves-themed" onclick="LoadInvertAnalysiskwhBar()">查詢</button>
</div>
</div>
<div class="row mb-5 justify-content-start d-flex flex-wrap">
<div id="inverter-kWh-convas-div">
<canvas id="inverter-kWh"></canvas>
</div>
</div>
<div class="row mb-5 justify-content-start d-flex flex-wrap" id="inverter-kWh-convas-div">
<canvas id="inverter-kWh"></canvas>
</div>