Skip to content

BenchmarkComparisonChart

stable

Portfolio vs. benchmark cumulative return comparison with excess return (alpha) display

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

Props

datarequired
Type BenchmarkDataPoint[]Default —

Time series with period, portfolio, benchmark returns

portfolioLabel
Type stringDefault —

Portfolio display name

benchmarkLabel
Type stringDefault —

Benchmark display name (e.g. S&P 500)

height
Type numberDefault —

Chart height in px (default 220)

asOf
Type stringDefault —

As-of date string

semantictypeoutcomespace
MobileStacks / Scroll

Multi-series chart requires min 320px. Wrap in overflow-x-auto.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?