← All use cases
Financial Analytics Charts
Professional financial visualization for trading platforms, portfolio trackers, and reporting dashboards. Candlestick charts with technical indicators, P&L waterfall analysis, and portfolio allocation views.
Example Implementation
dashboard.tsx
import { CandlestickChart, WaterfallChart, DonutChart } from "@chartts/react"
export function TradingDashboard({ portfolio }) {
return (
<div className="grid grid-cols-12 gap-4">
<div className="col-span-8 rounded-xl card p-6">
<CandlestickChart
data={portfolio.ohlc}
x="date"
open="open" high="high" low="low" close="close"
volume="volume"
overlays={[{ type: "sma", period: 20 }]}
className="h-96"
upClassName="fill-emerald-500"
downClassName="fill-red-500"
/>
</div>
<div className="col-span-4 rounded-xl card p-6">
<DonutChart
data={portfolio.allocation}
label="asset"
value="weight"
className="h-72"
centerLabel={portfolio.totalValue}
/>
</div>
</div>
)
}Why Chart.ts for Financial Analytics
Professional candlestick charts with technical indicators
P&L waterfall charts for financial reporting
Real-time price streaming support
SVG export for quarterly reports and presentations
Dark mode optimized for trading terminals
Free and open source (MIT) vs $590/yr Highcharts
Under 15kb vs 300kb+ for ECharts
Start building your financial analytics
Install Chart.ts and have your first chart rendering in 2 minutes.
$
npm install @chartts/react