Skip to content
EliteChart

EliteChart

Documentation


Documentation / @elitechart/elitechart / EliteChart

code
function EliteChart(__namedParameters): Element;

Defined in: elitechart/src/EliteChart.tsx:26

Top-level EliteChart component — the whole trading UI in one tag. Consumers npm install @elitechart/elitechart, import their styles bundle, and drop this into any React app.

code
import { EliteChart } from '@elitechart/elitechart';
import '@elitechart/elitechart/styles.css';

export default function Page() {
  return <EliteChart symbol="BTCUSD" timeframe="1h" />;
}

Props sync the chart store on mount; after that all state is owned by the internal zustand stores. This is intentional — the chart is self-contained so consumers don't have to wire prop plumbing for every tool / panel toggle.

Parameters

__namedParameters

EliteChartProps

Returns

Element