매매 시그널 알림 우측패널 동작 수정

This commit is contained in:
Macbook
2026-05-29 01:38:58 +09:00
parent 094a285363
commit 3db7e85e2c
7 changed files with 241 additions and 88 deletions
+4 -1
View File
@@ -135,6 +135,8 @@ interface TradingChartProps {
paneSeparatorOptions?: ChartPaneSeparatorOptions;
/** true: pane 합산 높이로 chart-container 를 키우지 않고 래퍼 높이에 맞춤 (미니 차트·알림 목록) */
paneLayoutClamp?: boolean;
/** 보조지표 pane 레전드(이름·값 오버레이) 표시 (기본 true, 알림 미니차트는 false) */
showPaneLegend?: boolean;
}
const TradingChart: React.FC<TradingChartProps> = ({
@@ -167,6 +169,7 @@ const TradingChart: React.FC<TradingChartProps> = ({
chartVisible = true,
paneSeparatorOptions,
paneLayoutClamp = false,
showPaneLegend = true,
}) => {
const containerRef = useRef<HTMLDivElement>(null);
const wrapperRef = useRef<HTMLDivElement>(null); // 스크롤 래퍼
@@ -1396,7 +1399,7 @@ const TradingChart: React.FC<TradingChartProps> = ({
onRestore={() => setCandleOnlyMode(false)}
/>
)}
{chartMgr && !candleOnlyMode && (
{chartMgr && !candleOnlyMode && showPaneLegend && (
<PaneLegendPortal
manager={chartMgr}
indicators={indicators}