Volume Profile
Preview
BTC / USD
Volume by price · Demo data
- Total volume
- 2,271 BTC
- Point of control
- $65,050
- Value area · 70% target
- $64,700 – $65,400
- 64.2% of volume
Install
Add it with your package manager, or copy the source manually.
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
API Reference
VolumeProfile
datareadonly VolumeProfileBin[]Price bins with non-overlapping ranges.
—label?string—unit?stringUnit shown after volumes, such as "BTC".
—formatPrice?(price: number) => string—formatVolume?(size: number) => string—valueArea?number | falseFraction of volume the value area covers, or `false` to hide it. Defaults to 0.7.
0.7color?string—pocColor?string—v-model:activeId?string | null—defaultActiveId?string | null—@active-change?(id: string | null) => void—labels?Partial<VolumeProfileMessages>Override any built-in string.
—class?string—#default?slotCompose `VolumeProfilePlot`, `VolumeProfileTooltip` and `VolumeProfileSummary`; omit it for the complete chart.
—VolumeProfilePlot
class?string—barClass?stringClasses for the plot row; it defaults to 20rem tall.
—showAxes?booleanPlot height is set by `class`; default 20rem.
true#default?slotExtra content placed after the plot.
—VolumeProfileSummary
class?string—VolumeProfileTooltip
class?string—side?"top" | "right" | "bottom" | "left"top#default?{ row: VolumeProfileRow }Replaces the default content. Receives the inspected price row.
—Updated