260825_01_ENH: 차트 문항별 색상지정 및 차트 하이라이트 모드 적용, 문항별 제목과 범례 사이에 문항 텍스트 삽입, gap 추가

This commit is contained in:
2026-08-25 14:48:49 +09:00
parent 1d20055f7d
commit 75385bd452
5 changed files with 220 additions and 39 deletions

View File

@@ -6,6 +6,15 @@ export const SCROLL_SPY_THRESHOLD_UP = 410;
export const SCROLL_SPY_BOTTOM_TOLERANCE = 8;
// Part 상세 차트 렌더링 설정. dashboard/[waveCd]/[partCd]/page.tsx에서 사용.
export const CHART_FONT_SIZE = 14;
export const CHART_FONT_SIZE = 16;
export const CHART_BAR_MAX_WIDTH = 100;
export const CHART_HEIGHT = 320;
// 서브 문항 탭(예: "감소 이유")의 부정적 의미 강조색. series.color는 surveyCd 구성에 따라 값이 들쭉날쭉해서
// (예: 전문가만 있는 응답군은 색이 달라짐) 탭 색상 기준으로 쓸 수 없어, primary(브랜드 블루)와 동일한 채도로
// 고정한 별도 색상을 쓴다.
export const SUBITEM_NEGATIVE_COLOR = "#F0475A";
// Gap markPoint(전분기 대비 증감) 배지 색상. 특정 시리즈 색과 섞이지 않도록 중립적인 회색조를 쓴다.
export const CHART_GAP_MARKER_BG_COLOR = "#E5E7EB";
export const CHART_GAP_MARKER_TEXT_COLOR = "#000000";