v0.34.12
This commit is contained in:
1 parent
37c197c095
commit
5ac3617947
48 files changed
+1049
-255
No files matched your search
@@ -540,6 +540,8 @@ function renderStatus(status) {
|
||||
const plot = window.rustProxyChartScale.liveRate(displayPoints);
|
||||
const svg = document.querySelector(`[data-chart-for="${CSS.escape(id)}"]`);
|
||||
svg?.querySelector("polyline")?.setAttribute("points", plot.points);
|
||||
window.rustProxyChartScale.axes(svg, plot.scale, "rate", displayPoints.length,
|
||||
{ top: 6 / 54, bottom: 50 / 54, clipped: plot.clipped });
|
||||
const scaleHint = `${t("vhChartAdaptiveScale")}: 0–${plot.scale.toFixed(1)} ${t("vhReqPerSecond")}${plot.clipped ? ` · ${t("vhChartClippedPeak")}` : ""}`;
|
||||
svg?.setAttribute("aria-label", `${t("vhLifetimeChart")} · ${scaleHint}`);
|
||||
const label = document.querySelector(`[data-chart-value-for="${CSS.escape(id)}"]`);
|
||||
|
||||
Reference in new issue
Block a user