diff --git a/src/components/lge-dashboard/combo/TopChartTable.tsx b/src/components/lge-dashboard/combo/TopChartTable.tsx index f22e100..50a5e83 100644 --- a/src/components/lge-dashboard/combo/TopChartTable.tsx +++ b/src/components/lge-dashboard/combo/TopChartTable.tsx @@ -75,7 +75,7 @@ export default function TopChartTable({ - diff --git a/src/lib/lg-dashboard.ts b/src/lib/lg-dashboard.ts index 8706da2..0be24b9 100644 --- a/src/lib/lg-dashboard.ts +++ b/src/lib/lg-dashboard.ts @@ -514,8 +514,8 @@ 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} 중 자사제품 비율`, - rowLabel: `** 자사제품 비율`, + //rowLabel: `**조사 년도 ${label} 중 자사제품 비율`, + rowLabel: `**자사제품 비율`, total: fixedDecimalPoint(makeTotalBasePct(totalRow.total, targetRow.total)) };
+ {chartNode ?
{chartNode}
: null}