mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Fix plotconfigurator Bug
This commit is contained in:
parent
70011435de
commit
118b21de3f
|
@ -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;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -100,8 +100,8 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
[selAvailableIndicator.value]: {
|
[selAvailableIndicator.value]: {
|
||||||
color: selColor,
|
color: selColor.value,
|
||||||
type: graphType,
|
type: graphType.value,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user