Fix plotconfigurator Bug

This commit is contained in:
Matthias 2022-04-21 20:24:28 +02:00
parent 70011435de
commit 118b21de3f
3 changed files with 2 additions and 5 deletions

View File

@ -187,7 +187,6 @@ export default defineComponent({
const colShortExitData = props.dataset.columns.findIndex( const colShortExitData = props.dataset.columns.findIndex(
(el) => el === '_exit_short_signal_close', (el) => el === '_exit_short_signal_close',
); );
console.log('short_exit', colShortExitData);
const subplotCount = const subplotCount =
'subplots' in props.plotConfig ? Object.keys(props.plotConfig.subplots).length + 1 : 1; 'subplots' in props.plotConfig ? Object.keys(props.plotConfig.subplots).length + 1 : 1;

View File

@ -138,7 +138,6 @@ export default defineComponent({
}, },
emits: ['input'], emits: ['input'],
setup(props, { emit }) { setup(props, { emit }) {
// TODO: Fully test behaviour of this!!
const botStore = useBotStore(); const botStore = useBotStore();
const plotConfig = ref<PlotConfig>(EMPTY_PLOTCONFIG); const plotConfig = ref<PlotConfig>(EMPTY_PLOTCONFIG);
@ -318,7 +317,6 @@ export default defineComponent({
return { return {
botStore, botStore,
addIndicator,
removeIndicator, removeIndicator,
addSubplot, addSubplot,
delSubplot, delSubplot,

View File

@ -100,8 +100,8 @@ export default defineComponent({
} }
return { return {
[selAvailableIndicator.value]: { [selAvailableIndicator.value]: {
color: selColor, color: selColor.value,
type: graphType, type: graphType.value,
}, },
}; };
}); });