mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Cleanup indicator config
This commit is contained in:
parent
f9ea16973c
commit
49cceef306
|
@ -57,7 +57,7 @@
|
||||||
</b-button>
|
</b-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<PlotIndicator
|
<plot-indicator
|
||||||
v-if="selIndicatorName || addNewIndicator"
|
v-if="selIndicatorName || addNewIndicator"
|
||||||
v-model="selIndicator"
|
v-model="selIndicator"
|
||||||
class="mt-1"
|
class="mt-1"
|
||||||
|
|
|
@ -35,17 +35,7 @@
|
||||||
<b-input-group>
|
<b-input-group>
|
||||||
<b-input-group-prepend>
|
<b-input-group-prepend>
|
||||||
<div :style="{ 'background-color': selColor }" class="colorbox me-1"></div>
|
<div :style="{ 'background-color': selColor }" class="colorbox me-1"></div>
|
||||||
<!-- <b-form-input
|
|
||||||
id="colsel"
|
|
||||||
v-model="selColor"
|
|
||||||
size="sm"
|
|
||||||
class="colorbox"
|
|
||||||
type="color"
|
|
||||||
:style="{ 'background-color': selColor }"
|
|
||||||
>
|
|
||||||
</b-form-input> -->
|
|
||||||
</b-input-group-prepend>
|
</b-input-group-prepend>
|
||||||
|
|
||||||
<b-form-input id="colsel" v-model="selColor" size="sm"> </b-form-input>
|
<b-form-input id="colsel" v-model="selColor" size="sm"> </b-form-input>
|
||||||
<b-input-group-append>
|
<b-input-group-append>
|
||||||
<b-button variant="primary" size="sm" @click="newColor">↻</b-button>
|
<b-button variant="primary" size="sm" @click="newColor">↻</b-button>
|
||||||
|
@ -90,6 +80,7 @@ const props = defineProps({
|
||||||
columns: { required: true, type: Array as () => string[] },
|
columns: { required: true, type: Array as () => string[] },
|
||||||
addNew: { required: true, type: Boolean },
|
addNew: { required: true, type: Boolean },
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(['update:modelValue']);
|
const emit = defineEmits(['update:modelValue']);
|
||||||
const selColor = ref(randomColor());
|
const selColor = ref(randomColor());
|
||||||
const graphType = ref<ChartType>(ChartType.line);
|
const graphType = ref<ChartType>(ChartType.line);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user