Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

TradingView Lightweight Charts

free

Small, fast canvas charts for financial data: candlesticks, OHLC bars, price lines and volume, from TradingView.

by TradingView GitHub npm
visit
TradingView Lightweight Charts website

Try these

Apache ECharts

Full-featured canvas/SVG charting engine for big data, maps and complex dashboards.

Bklit UI

Composable animated chart components on d3, Motion and Tailwind, from the shadcn registry, with a React Native port.

NumberFlow

Animated number component: digits roll to the new value, formatted with Intl.NumberFormat.

Rough.js

Draws lines, shapes and SVG paths in a sketchy, hand-drawn style on canvas or SVG; the renderer behind Excalidraw.

Looks that pick it

For your agent

Install
npm i lightweight-charts
Use it for
  • candlestick price chart for a trading, crypto or brokerage app
  • a stock or token price chart with volume bars, crosshair and a zoomable, pannable time axis
  • a live price chart that streams ticks and updates the last candle in place
  • buy and sell markers or entry, stop and target price lines drawn over a price series
Skip it when
  • general dashboard charts (revenue by month, pie, funnel): use recharts
  • one candlestick card inside a shadcn dashboard that should match its other charts: use bklit-ui
  • you cannot credit TradingView on the page: the license requires it, use echarts (candlestick series)
What's inside15 free
  • Candlestick
  • Bar (OHLC)
  • Line
  • Area
  • Baseline
  • Histogram
  • Custom series
  • Series markers
  • Up/down markers
  • Price lines
  • Panes
  • Text watermark
  • Image watermark
  • Yield curve chart
  • Options chart
Facts
Frameworks
vanilla, react, vue, svelte, solid, angular
Styling
unstyled
Weight
small
Accessibility
weak
Maturity
established
License
Apache-2.0
Price
Free
Pairs with
Alternatives
Compare TradingView Lightweight Charts with its alternatives
import { createChart, CandlestickSeries, ColorType } from 'lightweight-charts'

const chart = createChart(document.getElementById('chart')!, {
  autoSize: true,
  layout: { background: { type: ColorType.Solid, color: 'transparent' }, textColor: '#a1a1aa' },
})
const candles = chart.addSeries(CandlestickSeries, { upColor: '#22c55e', downColor: '#ef4444', borderVisible: false })
candles.setData(bars) // [{ time: '2026-11-03', open, high, low, close }], ascending
// live: candles.update(lastBar); teardown: chart.remove()
Visit