Volume candles
Code
Read the docs →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'light',
chartType: 'volumeCandles',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('volumeCandles') // switch at any timeimport { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'dark',
chartType: 'volumeCandles',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('volumeCandles') // switch at any time● Simulated market data, generated in your browser
Candles whose width follows their volume, so heavy bars stand out.
API: chartType: 'volumeCandles'
When to use it
- What it shows
- Which moves had participation and which drifted on thin trade.
- Keep in mind
- Widths change as new bars arrive; the time axis no longer spaces bars evenly.
- Who reaches for it
- Volume-aware traders checking whether a breakout was real.
Switch the chart above between types of the same family; each keeps this market.







