보조지표 설정 저장 오류
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user