Cleanup indicator config

This commit is contained in:
Matthias 2023-05-06 15:36:27 +02:00
parent f9ea16973c
commit 49cceef306
2 changed files with 2 additions and 11 deletions

View File

@ -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"

View File

@ -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">&#x21bb;</b-button> <b-button variant="primary" size="sm" @click="newColor">&#x21bb;</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);