-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi! Is it possible to create multiple charts on screen? I'm trying this code but only the first chart appears.
This is the view code:
<template>
<div class="watchlist-container">
<Chart ticker="BINANCE:ADAUSDTPERP" />
<Chart ticker="BINANCE:BTCUSDTPERP" />
</div>
</template>
This is the component:
<template>
<Chart
:options="{
autosize: false,
height: '600',
width: '600',
symbol: this.ticker,
interval: '5',
timezone: 'Etc/UTC',
theme: 'dark',
style: '1',
locale: 'en',
toolbar_bg: '#f1f3f6',
enable_publishing: false,
hide_legend: true,
allow_symbol_change: true,
save_image: false
}"
/>
</template>
<script>
import { Chart } from 'vue-tradingview-widgets'
export default {
name: 'App',
props: {
ticker: String
},
components: {
Chart
}
}
</script>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels