Home / Blog / Setup

How to set up Rekhly JS in your editor in under 5 minutes

From the repo root: pnpm install, then pnpm web. Open the homepage and the light-weight dashboard. The Next.js app resolves @rekhly/core to source.

Minimal chart:

const chart = rekhly.chartXY({ container: "#el", theme: "dark" });
chart.addLineSeries().setData({ x, y });
await chart.ready;

Enable a cursor with chart.cursor.enable({ mode: "crosshair", snap: true }). Dispose with chart.dispose() — the second call is a no-op.

If you have any questions, feel free to contact us Contact us
Rekhly assistant

Got any questions? I'm happy to help with products, licensing, and examples.