Creates an stock price chart widget

This commit is contained in:
Alicia Sykes
2021-12-12 16:30:07 +00:00
parent a77cb9430f
commit 51b7e639cc
4 changed files with 205 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
<CryptoWatchList v-else-if="widgetType === 'crypto-watch-list'" :options="widgetOptions" />
<XkcdComic v-else-if="widgetType === 'xkcd-comic'" :options="widgetOptions" />
<ExchangeRates v-else-if="widgetType === 'exchange-rates'" :options="widgetOptions" />
<StockPriceChart v-else-if="widgetType === 'stock-price-chart'" :options="widgetOptions" />
</Collapsable>
</div>
</template>
@@ -31,6 +32,7 @@ import CryptoPriceChart from '@/components/Widgets/CryptoPriceChart.vue';
import CryptoWatchList from '@/components/Widgets/CryptoWatchList.vue';
import XkcdComic from '@/components/Widgets/XkcdComic.vue';
import ExchangeRates from '@/components/Widgets/ExchangeRates.vue';
import StockPriceChart from '@/components/Widgets/StockPriceChart.vue';
import Collapsable from '@/components/LinkItems/Collapsable.vue';
export default {
@@ -45,6 +47,7 @@ export default {
CryptoWatchList,
XkcdComic,
ExchangeRates,
StockPriceChart,
},
props: {
widget: Object,