260402_01_ENH: LG 보급률, 구매율의 자사제품 비율 공식 워딩 하단으로 이동 및 카테고리 파트 갭에 배경색 추가

This commit is contained in:
2026-04-02 14:34:45 +09:00
parent 9b3a21ea39
commit 20b8547701
7 changed files with 47 additions and 31 deletions

View File

@@ -514,7 +514,7 @@ export const makeTotalBasePct = (t:number|string, f:number|string):number => {
export const calcTotalBaseRow = (label:string, totalRow: ProductRow, targetRow: ProductRow): ProductRow => {
const out: ProductRow = {
year: targetRow?.year ?? "",
rowLabel: `조사 년도 ${label} 중 자사제품 비율 (LG ${label} ÷ 전체 ${label}) × 100`,
rowLabel: `조사 년도 ${label} 중 자사제품 비율`,
total: fixedDecimalPoint(makeTotalBasePct(totalRow.total, targetRow.total))
};