From 118b21de3f320a0ceb31e854788cb783f1c1bb17 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 21 Apr 2022 20:24:28 +0200 Subject: [PATCH] Fix plotconfigurator Bug --- src/components/charts/CandleChart.vue | 1 - src/components/charts/PlotConfigurator.vue | 2 -- src/components/charts/PlotIndicator.vue | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/charts/CandleChart.vue b/src/components/charts/CandleChart.vue index 252cedca..b41ffb6c 100644 --- a/src/components/charts/CandleChart.vue +++ b/src/components/charts/CandleChart.vue @@ -187,7 +187,6 @@ export default defineComponent({ const colShortExitData = props.dataset.columns.findIndex( (el) => el === '_exit_short_signal_close', ); - console.log('short_exit', colShortExitData); const subplotCount = 'subplots' in props.plotConfig ? Object.keys(props.plotConfig.subplots).length + 1 : 1; diff --git a/src/components/charts/PlotConfigurator.vue b/src/components/charts/PlotConfigurator.vue index 17c5f083..b12b5ca1 100644 --- a/src/components/charts/PlotConfigurator.vue +++ b/src/components/charts/PlotConfigurator.vue @@ -138,7 +138,6 @@ export default defineComponent({ }, emits: ['input'], setup(props, { emit }) { - // TODO: Fully test behaviour of this!! const botStore = useBotStore(); const plotConfig = ref(EMPTY_PLOTCONFIG); @@ -318,7 +317,6 @@ export default defineComponent({ return { botStore, - addIndicator, removeIndicator, addSubplot, delSubplot, diff --git a/src/components/charts/PlotIndicator.vue b/src/components/charts/PlotIndicator.vue index 6c35427c..bb332416 100644 --- a/src/components/charts/PlotIndicator.vue +++ b/src/components/charts/PlotIndicator.vue @@ -100,8 +100,8 @@ export default defineComponent({ } return { [selAvailableIndicator.value]: { - color: selColor, - type: graphType, + color: selColor.value, + type: graphType.value, }, }; });