A stock chart in five lines
MIT coreOne import, one stylesheet, one call. You bring OHLCV rows from whatever feed you already have — there is no vendor to sign up for and nothing is sent to us.
- Rows are [timestamp, open, high, low, close, volume], seconds or milliseconds
- Renders to canvas, so tens of thousands of bars still pan smoothly
- Push live ticks with dataHandlerRef → addRealtimeData(row)
import { TickwickChart } from "tickwick";
import "tickwick/style.css";
const chart = TickwickChart.create({
container: "#chart",
data: bars, // [[ts, o, h, l, c, v], …]
theme: "onyx",
height: 520,
});