보조지표 설정 저장 오류

This commit is contained in:
Macbook
2026-06-16 01:08:58 +09:00
parent e93164deda
commit d34a824174
9 changed files with 80 additions and 57 deletions
+3 -1
View File
@@ -152,6 +152,7 @@ type GetVisual = (
) => {
plots: PlotDef[];
hlines: HLineDef[];
plotVisibility?: Record<string, boolean>;
cloudColors?: IchimokuCloudColors;
bandBackground?: import('../types').HlinesBackground;
};
@@ -178,7 +179,7 @@ export function buildChartIndicatorConfig(
if (!def) return null;
const params = getParams(type, def.defaultParams as ParamRecord);
const { plots, hlines, cloudColors, bandBackground } = getVisualConfig(
const { plots, hlines, cloudColors, bandBackground, plotVisibility } = getVisualConfig(
type,
def.plots,
def.hlines ?? [],
@@ -190,6 +191,7 @@ export function buildChartIndicatorConfig(
params,
plots,
hlines,
...(plotVisibility ? { plotVisibility } : {}),
...(cloudColors ? { cloudColors } : {}),
...(bandBackground ? { bandBackground } : {}),
...extras,