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(
(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;

View File

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

View File

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