260312_01_ENH: API_DECIMAL_POINT, VIEW_DECIMAL_POINT 적용, 스택 차트 색상 변경, 그룹 스택 차트 하단에 연도 레이블 출력, Total 페이지 설명문 수정

This commit is contained in:
2026-03-12 13:28:21 +09:00
parent 75153ff02e
commit 41a8e2abb2
20 changed files with 192 additions and 180 deletions

View File

@@ -46,9 +46,18 @@ const buildDefaultCategoryValue = (categoryFilterItems: ProductsFilterItem): Cat
};
const buildTotalPartDescription = (pathname:string) => {
return pathname.match("penetration")
? "■ 보급률: 전체 소비자 중, 조사 년도에 LG제품을 <strong>보유하고 있는 비율</strong>"
: "■ 구매율: 전체 소비자 중, 조사 년도에 LG제품을 <strong>구매한 비율</strong>";
switch(pathname) {
case "/total/penetration":
return "■ 보급률: 전체 소비자 중, 조사 년도에 해당 제품을 <strong>보유하고 있는 비율</strong>";
case "/total/lg-penetration":
return "■ 보급률: 전체 소비자 중, 조사 년도에 LG 제품을 <strong>보유하고 있는 비율</strong>";
case "/total/purchase":
return "■ 구매율: 전체 소비자 중, 조사 년도에 해당 제품을 <strong>구매한 비율</strong>";
case "/total/lg-purchase":
return "■ 구매율: 전체 소비자 중, 조사 년도에 LG 제품을 <strong>구매한 비율</strong>";
default:
return "";
}
}
const MainLayout = ({ children }: MainLayoutProps) => {