Chartist Lite, a chart that runs live.
An open-source chart library for the web. The chart below is the library itself, streaming from the exchange.
StartingBTC-USD–Prices are indicative, not advice.
- 16chart types
- 85indicators
- 53drawing tools
- 33.6 KBgzip core, 0 dependencies
A whole workspace in one call.
<chartist-terminal live>- Symbol searchFind a market by its name
- Intervals1m to 1D, switched in place
- Chart typesAll sixteen, candles to Renko
- Indicators dialog85, searchable, by family
- CompareOther markets as lines, in percent
- AlertsA line on the price that fires on a cross
- Drawing tools15 on the rail, 53 on request
- UndoUndo and redo every change
- ScreenshotSaves the chart as a PNG
- Full screenThe chart alone, edge to edge
- Range keys1D 5D 1M 3M 6M YTD 1Y 5Y All
- Live cryptoStraight from the exchange
85 indicators, 53 drawing tools.
2 on the chart now
The workbench starts as it comes into view.
- 10Lines
- 8Channels and pitchforks
- 9Fibonacci and Gann
- 7Shapes
- 6Measures
- 2Long and short positions
- 11Notes
Sixteen chart types, one library.
From the exchange to the chart, direct.
- 1CoinbaseTried first
- 2BinanceIf the history does not load. Quoted in USDT
- 3KrakenThen Kraken, its newest 720 bars
- Once per frameTrades stream in as fast as they come and are painted once per frame.
- Reconnects by itselfIt waits 1 s, doubling up to 30 s, then reloads history to fill the gap.
- Pauses when hiddenA hidden tab closes the stream until the visitor comes back.
- Older bars on demandScroll to the left edge and a page of older bars loads (not on Kraken).
- Your own providerWrite a provider and the same call feeds any market you have data for.
- connecting
- live
- reconnecting
- offline
- error
Fast enough for a 120 Hz screen.
0 of 116 scenarios over 8.33 ms, and 0 over 6.94 ms.
- Crosshair1.2 ms
- Pan0.6 ms
- Wheel zoom4.0 ms
- Live tick0.7 ms
- Live tick, whole series in view5.1 ms
- Drag a drawing0.5 ms
- Live trades, 20 a frame0.5 ms
Each track is one 8.33 ms frame.
- 01One paint a frameEvery change is applied at once and painted by the next animation frame; several changes in one frame become one paint.
- 02No 60 Hz capNo timer or throttle in input, kinetic scroll or the crosshair fade. Motion is timed in milliseconds, so it runs the same at 60, 120 or 144 Hz.
- 03The crosshair repaints one layerA crosshair move redraws only the overlay canvas; the series are not drawn again.
- 04Trades fold into one paintHowever fast trades arrive, the live entry folds them into bars and paints once per frame.
How it was measured: the cost of one frame of the library's code (input handlers, its frame callbacks and the legend's layout), 200 frames per scenario after 20 warm-up frames, on an Intel Xeon at 2.30 GHz in headless Chromium 157, 22 November 2026. Not a frame rate on a real 120 Hz panel, and no GPU time.
Press run: this page draws 100,000 made-up bars with the core build, then pans and zooms across them for 120 frames, timing the library's drawing on every one. Nothing leaves this tab.
Yours is one gesture on one device, timed around the library's paint call; the published figure is the worst of 116 scenarios on the author's machine. Both are the frame cost of the library's code, not a frame rate.
Loading the core build
Light, part by part.
The chart, the six series, price lines, markers, themes, the legend and the keyboard. Written from scratch; the build fails if the core goes over its budget.
- CoreThe chart, six series, legend, keyboard33.6 KB
- DrawingsAll 53 tools and their rail32.6 KB
- ExtrasTooltips, alerts, compare, replay29.8 KB
- IndicatorsAll 85 indicators21.9 KB
- Chart typesRenko, Kagi and the other builders13.1 KB
- LiveCoinbase, Binance and Kraken6.4 KB
- 28.3 KBCore only: one chart of candles
- 30.1 KBCandles, two averages and RSI
- 137.2 KBThe whole workspace, one script tag
The core and the three pages are the README's figures (bundled with esbuild, gzip level 9). The other parts were measured on this site's copies of the script-tag files, gzip level 9.
Tooltips, compare, replay, alerts and more.
- Floating tooltipMove the pointer over the chart: open, high, low, close and the change follow it.
- Compare in percentTwo more lines on a percent axis, re-based as you pan and zoom.
- Bar replayHistory up to one bar, then forward bar by bar at 1x to 10x.
- Price alertsA line on the price that fires once on a cross. Drag it, or add one with the plus by the axis.
- Panes and scalesRSI in its own pane, volume on an overlay scale, a left axis, log or percent.
- Custom series and pluginsPrice lines, markers, your own primitives, and four custom series to copy.
- Embed it your wayThe chartist-chart element, an ES module, React, or an iframe for sites with no scripts.
- Strict CSP, hostile CSSWorks under style-src 'self' and on pages with hostile global CSS (checked in Chromium).
- Watermark and session breaksA watermark, a go-to-latest button, a range switcher and a mark at each new day.
- Coming from Lightweight ChartscreateChart, addSeries, setData and update keep the same names, so code moves over.
Any theme, any time zone, any keyboard.
The chart starts as it comes into view.
- EnterStart stepping through bars
- ←→One bar (Shift: ten)
- +−Zoom in and out
- HomeEndFirst or last bar
- EscStop inspecting
Three ways in. The tag is the shortest.
The tag, createWidget from JavaScript, or React. Change the market or the interval on the live chart and the code follows.
<script src="chartist-lite.terminal.iife.min.js"></script> <chartist-terminal live symbol="BTC-USD" interval="1m" chart-type="candles" theme="auto" drawings height="620"></chartist-terminal>Three steps to your own copy.
Build it from the repository, then copy the terminal file and its extras file from dist/ to your site.
git clone https://github.com/MrChartist/Lite_Charts.git && cd Lite_Chartsnpm cinpm run build- Version 0.1.0
- Not on npm yet
- Tested in Chromium only
- 596 tests passing
The questions to ask before you build.
from the docs
- Licence
- npm
- Live data
- React
- Browsers
- Your own data
Something else? Ask on the repository.
Open an issueRead the code. Build on it.
Chartist Lite is open source under Apache-2.0, with no dependencies. Clone it, build it and put the live chart on your own page.

