260402_03_ENH: 워딩 수정

This commit is contained in:
2026-04-02 16:03:32 +09:00
parent 7474d4d3d4
commit fc43eab6fc
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ export default function TopChartTable({
<table className={cn("lg-table", tableClassName)} style={{ minWidth: `${minWidth ?? minWidthPx}px` }}> <table className={cn("lg-table", tableClassName)} style={{ minWidth: `${minWidth ?? minWidthPx}px` }}>
<thead> <thead>
<tr> <tr>
<th colSpan={2} className="w-40" style={{ whiteSpace: "nowrap" }} /> <th colSpan={2} className="w-44" style={{ whiteSpace: "nowrap" }} />
<td colSpan={categories.length} style={{ padding: 0, height: chartNode ? chartHeight : 0 }}> <td colSpan={categories.length} style={{ padding: 0, height: chartNode ? chartHeight : 0 }}>
{chartNode ? <div style={{ width: "100%", height: "100%" }}>{chartNode}</div> : null} {chartNode ? <div style={{ width: "100%", height: "100%" }}>{chartNode}</div> : null}
</td> </td>

View File

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