Skip to main content
Skip to main content

Getting started

You want a chart on screen. This section gets you there — no trading jargon, no assumptions that you have built charts before.

Each guide includes copy-paste code, plain explanations, and a live preview so you know what you are aiming for.

Loading chart…
Your first goal: a chart like this, running in your app.

Pick your path

Not sure where to start? Use this table:

You are building…Start hereWhy
Plain HTML/JS, or your own UIVanilla quickstartSmallest install — just the chart engine
Any React appReact quickstartChart + built-in toolbar and menus
Brand-new Vite + React projectVite + ReactScaffold → install → paste one file
Next.js (App Router)Next.js App RouterSafe client-only mounting for SSR

Vibe coding? Tell your AI: “Follow the Exeria Vanilla quickstart” or “Follow the Exeria React quickstart” and paste the code blocks from that page.

The whole flow in four steps

Every path — vanilla or React — follows the same idea:

  1. Install the npm package(s).
  2. Add a <div> with a fixed height (the chart draws inside it).
  3. Call createChartinit()setMainSeriesData with your candles.
  4. Call destroy() when the user leaves the page (or React unmounts).

That is the entire integration loop. Everything else — live prices, indicators, themes — builds on top.

After your first chart

Quick checklist

CheckWhy it matters
Container has height: 480px (or similar)Zero height = invisible chart
init() before loading dataChart needs to wake up first
destroy() on teardownAvoids memory leaks in SPAs

Ready? Open Vanilla quickstart or React quickstart and build something you can show off in the next ten minutes.