custom 툴발 적용
This commit is contained in:
@@ -165,6 +165,12 @@ interface TradingChartProps {
|
||||
/** 캔들 오버레이(이동평균·일목·볼린저) 표시 토글 — 우측 툴바 상단 */
|
||||
candleOverlayToggles?: CandleOverlayToggleItem[];
|
||||
onToggleCandleOverlay?: (key: import('../utils/chartOverlayVisibility').ChartOverlayToggleKey) => void;
|
||||
customOverlayActive?: boolean;
|
||||
onCustomOverlayActiveChange?: (active: boolean) => void;
|
||||
onOpenCustomOverlaySettings?: () => void;
|
||||
custom1OverlayActive?: boolean;
|
||||
onCustom1OverlayActiveChange?: (active: boolean) => void;
|
||||
onOpenCustom1OverlaySettings?: () => void;
|
||||
}
|
||||
|
||||
const TradingChart: React.FC<TradingChartProps> = ({
|
||||
@@ -209,6 +215,12 @@ const TradingChart: React.FC<TradingChartProps> = ({
|
||||
showCandlePaneControls = true,
|
||||
candleOverlayToggles,
|
||||
onToggleCandleOverlay,
|
||||
customOverlayActive,
|
||||
onCustomOverlayActiveChange,
|
||||
onOpenCustomOverlaySettings,
|
||||
custom1OverlayActive,
|
||||
onCustom1OverlayActiveChange,
|
||||
onOpenCustom1OverlaySettings,
|
||||
}) => {
|
||||
const containerRef = useRef<HTMLDivElement>(null);
|
||||
const wrapperRef = useRef<HTMLDivElement>(null); // 스크롤 래퍼
|
||||
@@ -1609,6 +1621,12 @@ const TradingChart: React.FC<TradingChartProps> = ({
|
||||
paused={paneLegendPaused}
|
||||
candleOverlayToggles={candleOverlayToggles}
|
||||
onToggleCandleOverlay={onToggleCandleOverlay}
|
||||
customOverlayActive={customOverlayActive}
|
||||
onCustomOverlayActiveChange={onCustomOverlayActiveChange}
|
||||
onOpenCustomOverlaySettings={onOpenCustomOverlaySettings}
|
||||
custom1OverlayActive={custom1OverlayActive}
|
||||
onCustom1OverlayActiveChange={onCustom1OverlayActiveChange}
|
||||
onOpenCustom1OverlaySettings={onOpenCustom1OverlaySettings}
|
||||
onSplit={onSplitIndicatorPane}
|
||||
onRemove={onRemoveIndicator}
|
||||
onDuplicate={onDuplicateIndicator}
|
||||
|
||||
Reference in New Issue
Block a user