Skip to content

VolumeProfileGL

stable

GPU-accelerated price-at-volume histogram. Two color modes: 'heat' (5-stop vol intensity ramp from dataviz tokens) and 'delta' (buy/sell stacked bars). POC label. Real-time updates via DYNAMIC_DRAW.

import { VolumeProfileGL } from "@danagraph/design-system/finance"
Loading demo…

Props

datarequired
Type VolumeBar[]Default —

Price/volume data — sorted or unsorted

height
Type numberDefault —

Chart height in px (default 320)

colorMode
Type 'heat' | 'delta'Default —

Color encoding: 'heat' for intensity ramp, 'delta' for buy/sell split

priceDecimals
Type numberDefault —

Decimal places for price labels (default 2)

semanticdatavizoutcomeagency
MobileStacks / Scroll

Volume profile is typically shown as a vertical sidebar (min 120px wide). On narrow mobile, render in a bottom drawer.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?