chore(station-b): remove dead renderBinBar function

Made-with: Cursor
This commit is contained in:
posimai 2026-04-12 13:10:08 +09:00
parent 4110de7239
commit 75e34733a8
1 changed files with 0 additions and 9 deletions

View File

@ -506,15 +506,6 @@ function buildServiceCards(){
}); });
} }
function renderBinBar(id,pct,warnTh,critTh){
const el=document.getElementById(id); if(!el)return;
const cells=20,filled=Math.round(pct/100*cells);
const cls=pct>critTh?'crit':pct>warnTh?'warn':'';
el.className='bin-bar'+(cls?' '+cls:'');
el.innerHTML=Array.from({length:cells},(_,i)=>
`<span class="${i<filled?'b1':'b0'}">${i<filled?'1':'0'}</span>`
).join('');
}
function updateSparkline(id, ms, ok){ function updateSparkline(id, ms, ok){
const h = svcLatHist[id]; const h = svcLatHist[id];