修改默认显示

This commit is contained in:
CN-JS-HuiBai
2026-04-04 21:58:31 +08:00
parent 4b98a910c7
commit 50d74916a6
2 changed files with 2 additions and 2 deletions

View File

@@ -210,7 +210,7 @@
<div class="chart-legend">
<span class="legend-item"><span class="legend-dot legend-rx"></span>接收 (RX)</span>
<span class="legend-item"><span class="legend-dot legend-tx"></span>发送 (TX)</span>
<span class="legend-item" id="legendP95" style="cursor: pointer;" title="点击切换 P95 线显示/隐藏">
<span class="legend-item disabled" id="legendP95" style="cursor: pointer;" title="点击切换 P95 线显示/隐藏">
<span class="legend-dot legend-p95"></span>95计费 (P95)
</span>
</div>

View File

@@ -9,7 +9,7 @@ class AreaChart {
this.data = { timestamps: [], rx: [], tx: [] };
this.animProgress = 0;
this.animFrame = null;
this.showP95 = true;
this.showP95 = false;
this.dpr = window.devicePixelRatio || 1;
this.padding = { top: 20, right: 16, bottom: 32, left: 56 };