Changed bars and visualisation
This commit is contained in:
parent
c197d08d67
commit
1dc6e530f2
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
'text-white': props.markerColor
|
'text-white': props.markerColor
|
||||||
}" :color="props.markerColor ?? void (0)">
|
}" :color="props.markerColor ?? void (0)">
|
||||||
<div class="pa-4 bg-white">
|
<div class="pa-4 bg-white">
|
||||||
<v-img :src="company.logoSrc" :aspect-ratio="4.5" class="bg-white" />
|
<v-img :src="company.logoSrc" :aspect-ratio="6.0" class="bg-white" />
|
||||||
</div>
|
</div>
|
||||||
<v-card-item>
|
<v-card-item>
|
||||||
<v-card-title>{{ company['short name'] }}</v-card-title>
|
<v-card-title>{{ company['short name'] }}</v-card-title>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<strong>{{ m.title }}</strong>
|
<strong>{{ m.title }}</strong>
|
||||||
<span class="text-right">{{ m.value(company) }}{{ m.symbol ?? '' }}</span>
|
<span class="text-right">{{ m.value(company) }}{{ m.symbol ?? '' }}</span>
|
||||||
</div>
|
</div>
|
||||||
<v-progress-linear :color="m.color(company)" :model-value="m.percentage(company)"></v-progress-linear>
|
<v-progress-linear :color="m.color(company)" :model-value="m.percentage(company)" height=9 rounded></v-progress-linear>
|
||||||
</div>
|
</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,7 @@ const options = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
tickers.value = route.params.tickers.toString().split(',');
|
tickers.value = route.params.tickers.toString().split(',');
|
||||||
|
|
||||||
// load chart data
|
// load chart data
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
stockPrice.load();
|
stockPrice.load();
|
||||||
|
|
Reference in a new issue