v2.2.0:data-chart-tool 双Y轴折线图(预填充左轴虚线/解码右轴实线)+画图CSV一键复制+下载PNG+默认上下文长度增加4096/16384/65536

This commit is contained in:
2026-08-31 00:17:26 +08:00
parent 577fbf69e3
commit 2d889c80e0
7 changed files with 216 additions and 15 deletions
+12
View File
@@ -206,6 +206,18 @@ table.mini { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.detail-log .ln.ERROR { color: var(--danger); }
.detail-log .ln.WARN { color: var(--warn); }
/* ── 图表(data-chart-tool 折线图) ── */
.chart-block { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.chart-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chart-img-wrap { margin-top: 10px; min-height: 60px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border); border-radius: 8px; padding: 10px; background: #0a0e17; }
.chart-img-wrap img { max-width: 100%; border-radius: 6px; }
.chart-data-head { margin-top: 10px; font-size: 12px; color: var(--muted); }
.chart-csv {
width: 100%; min-height: 120px; margin-top: 6px; background: #0a0e17;
border: 1px solid var(--border); border-radius: 8px; color: #a8f0d0;
font: 12px/1.7 var(--mono); padding: 10px; resize: vertical; outline: none;
}
pre.json-box {
background: #0a0e17; border: 1px solid var(--border); border-radius: 8px;
padding: 10px; font: 11.5px/1.6 var(--mono); overflow: auto; max-height: 260px; color: #a8f0d0;