Skip to content

Commit

Permalink
Refactor net.html to update network speed chart rendering URL and imp…
Browse files Browse the repository at this point in the history
…rove axis line style
  • Loading branch information
arloor committed Oct 25, 2024
1 parent 6177772 commit bc29a45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust_http_proxy/html/net.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ <h1 class="in"></h1>
</div>
<script type="text/javascript">
let myChart = null;
window.addEventListener('resize', function () {
if (myChart) {
myChart.resize();
}
});
const intervalInSecond = 5;
function recreateMainDivAndClearChart() {
// 获取现有的 main div
Expand Down

0 comments on commit bc29a45

Please sign in to comment.