AI · MCP Server and Agent Skills included

React Stock Chart for prices, now easier to build with AI

Chart prices with candlestick, OHLC, HiLo, and line series, period and range selectors, technical indicators, trendlines, stock events, and export. AI assistants set it up for you, and your users can ask AI for a price forecast.

  • 4.5/5 850+ G2 reviews
  • 4.6/5 950+ Capterra reviews
  • WCAG 2.2 and Section 508
  • 10 technical indicators
  • 6 trendline types

Trusted by the world’s leading companies

Syncfusion customers include Visa, Apple, McDonald’s, Netflix, Starbucks, IBM, Tesla, and Schneider Electric

Now easier with AI

Build and use stock charts faster with AI

Coding assistants write the setup from the current docs, and your users can ask AI to forecast prices.

01For developers

Describe a financial chart and get code that uses the documented API

The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Stock Chart docs and recommended patterns.

See all 35 features

AI coding assistantMCP Server · Syncfusion React

Show ACME prices as candlesticks with volume.

search_docs“React Stock Chart candlestick and volume” · 2 doc sections

Excerpt: imports and sample data omitted.

<StockChartComponent

primaryXAxis={{ valueType: 'DateTime' }}>

<Inject services={[DateTime, CandleSeries]} />

<StockChartSeriesCollectionDirective>

<StockChartSeriesDirective dataSource={prices}

name="ACME" xName="date" type="Candle"

open="open" high="high" low="low" close="close"

volume="volume" />

</StockChartSeriesCollectionDirective>

</StockChartComponent>

Documented API: StockChartSeriesDirective, type, volume

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Switch the price series to OHLC bars.

search_docs“React Stock Chart ohlc and hilo bars” · 2 doc sections

Excerpt: imports and sample data omitted.

<Inject services={[DateTime, HiloOpenCloseSeries]} />

<StockChartSeriesCollectionDirective>

<StockChartSeriesDirective dataSource={prices}

xName="date" type="HiloOpenClose"

open="open" high="high" low="low" close="close" />

</StockChartSeriesCollectionDirective>

Documented API: HiloOpenClose, HiloOpenCloseSeries

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Show the closing price as a spline.

search_docs“React Stock Chart line and spline series” · 2 doc sections

Excerpt: imports and sample data omitted.

<Inject services={[DateTime, SplineSeries]} />

<StockChartSeriesCollectionDirective>

<StockChartSeriesDirective dataSource={prices}

xName="date" yName="close"

type="Spline" width={2} />

</StockChartSeriesCollectionDirective>

Documented API: type, yName, width, SplineSeries

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Add period buttons for one month, three months, and one year.

search_docs“React Stock Chart period selector” · 2 doc sections

Excerpt: imports and sample data omitted.

<StockChartComponent periods={[

{ text: '1M', interval: 1, intervalType: 'Months' },

{ text: '3M', interval: 3, intervalType: 'Months' },

{ text: '1Y', interval: 1, intervalType: 'Years' }]}>

Documented API: periods, intervalType

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Show the range selector so users can pick a date range.

search_docs“React Stock Chart range selector” · 2 doc sections

Excerpt: imports and sample data omitted.

<StockChartComponent enableSelector={true}

primaryXAxis={{ valueType: 'DateTime' }}>

Documented API: enableSelector

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Add 10-day Bollinger bands to the price series.

search_docs“React Stock Chart technical indicators” · 2 doc sections

Excerpt: imports and sample data omitted.

<Inject services={[BollingerBands]} />

<StockChartIndicatorsDirective>

<StockChartIndicatorDirective type="BollingerBands"

field="Close" period={10}

seriesName="ACME" />

</StockChartIndicatorsDirective>

Documented API: StockChartIndicatorDirective, field, period

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Flag the start of each quarter on the chart.

search_docs“React Stock Chart stock events” · 2 doc sections

Excerpt: imports and sample data omitted.

<StockChartComponent stockEvents={[

{ date: new Date(2012, 3, 1), text: 'Q2',

description: 'Quarter 2 starts', type: 'Flag' },

{ date: new Date(2012, 6, 1), text: 'Q3',

description: 'Quarter 3 starts', type: 'Flag' }]}>

Documented API: stockEvents

ResultRendered in your app

AI coding assistantMCP Server · Syncfusion React

Shade the price range between 140 and 160.

search_docs“React Stock Chart plot bands” · 2 doc sections

Excerpt: imports and sample data omitted.

<StockChartComponent primaryYAxis={{

stripLines: [{ start: 140, end: 160,

color: '#fef3c7', text: 'Target range' }] }}>

Documented API: stripLines

ResultRendered in your app

02For your users

A stock chart that forecasts the next candles

Connect an AI service through your own backend, so API keys never reach the browser.

Stock forecasting

AI projects the next candlesticks from recent trading days and marks where the forecast starts.

Accessibility

Accessible to keyboard and screen reader users

The React Stock Chart component follows WAI-ARIA practices, with keyboard access and screen reader support.

Standards
WCAG 2.2 and Section 508
Keyboard
Arrow keys, Esc, Tab
Screen readers
aria-label and aria-pressed
Layout
Right-to-left and mobile support
Read the accessibility docs

Features in depth

React Stock Chart features in depth

Open a demo to try each one, or the docs to see the API.

Series types: candle, OHLC, HiLo, and line

Plot prices as candle, hollow candle, HiloOpenClose, HiLo, line, or spline series, and area charts in the demos. Users switch types from the series dropdown.

Period selector and range selector

Period buttons such as 1M, 3M, and YTD select a range in one click, set with periods. The range selector below the chart filters any date range with two thumbs.

Technical indicators

Add accumulation distribution, ATR, Bollinger bands, EMA, SMA, TMA, MACD, momentum, RSI, and stochastic indicators. Users add or remove them from the indicator dropdown.

Trendlines

Show the direction of a price with linear, exponential, logarithmic, polynomial, power, or moving average trendlines. Users add them from the trendline dropdown.

Stock events, plot lines, and plot bands

Mark market events with flags, pins, and arrows set in stockEvents. Strip lines draw plot lines or shade bands over a price or date range.

Candlestick with volume and multiple series

Show price and volume in one chart, or compare several stocks in one chart, with a legend to toggle each series.

Axes: date-time, date-time category, and numeric

Plot dates on a date-time axis, or show only business days with a DateTimeCategory axis. Customize labels, gridlines, and multiple axes.

Crosshair, tooltip, and zoom

Crosshair lines and axis labels follow the pointer, shared tooltips show every series at a date, and users zoom and pan through the history.

Print and export

Export the chart to JPEG, PNG, SVG, or PDF from the export dropdown in the period selector toolbar, or print it from the browser.

Accessible, localized, and themed

Keyboard navigation and WAI-ARIA attributes follow WCAG 2.2. Right-to-left layouts, localized formats, animation, gradients, and built-in themes are included.

Get started

Get your first stock chart running, with or without AI

With an AI coding assistant

  1. Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
  2. Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Stock Chart patterns.Install Agent Skills
  3. Describe the stock chartCopy this prompt to start.

    Add a Syncfusion React Stock Chart to my trading dashboard with ACME candlesticks, volume, 1M, 3M, 6M, and 1Y period buttons, and Bollinger bands.

By hand, in three steps

1 · Install

npm install @syncfusion/ej2-react-charts --save

2 · Theme

<StockChartComponent theme="Tailwind3" />

3 · src/App.tsx

import { StockChartComponent, StockChartSeriesCollectionDirective, StockChartSeriesDirective, Inject, DateTime, CandleSeries, RangeTooltip } from '@syncfusion/ej2-react-charts';

const prices = [
  { date: new Date(2024, 0, 2), open: 120.5, high: 124.1, low: 119.8, close: 123.4, volume: 1850000 },
  { date: new Date(2024, 0, 3), open: 123.4, high: 126.0, low: 122.7, close: 125.2, volume: 2010000 },
  { date: new Date(2024, 0, 4), open: 125.2, high: 125.9, low: 121.9, close: 122.6, volume: 1760000 }
];

export default function App() {
  return (
    <StockChartComponent primaryXAxis={{ valueType: 'DateTime' }} theme="Tailwind3" title="ACME">
      <Inject services={[DateTime, CandleSeries, RangeTooltip]} />
      <StockChartSeriesCollectionDirective>
        <StockChartSeriesDirective dataSource={prices} xName="date" type="Candle" open="open" high="high" low="low" close="close" />
      </StockChartSeriesCollectionDirective>
    </StockChartComponent>
  );
}
Read the getting started guide

Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements

Customer reviews

Trusted by developers and teams

G2

4.5/5

From 850+ reviews of Essential Studio®

Read the reviews on G2

“Awesome, enough said”

Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.

Oliver O.Creative and Art Direction, Small Business

“A giant framework with great pricing options”

I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.

Alejandro Javier V.CEO, Small Business
75%
lower costs
50%
faster development

Customer story · Igniatek

Igniatek cuts development time 50% and costs 75% with Essential Studio®

“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”

Somnath Maji, Founder, Igniatek Consultancy

Award-winning

Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.

Syncfusion awards: 2026 Devies Award Winner, Capterra Shortlist 2026, Software Advice FrontRunners 2026, SaaS Awards 2026 Finalist, Hosting Advice Developers' Choice, A.I. Awards 2025 Finalist, Visual Studio Magazine Readers' Choice 2025 Gold, G2 Best Software 2025, ComponentSource Top 10 Publisher 2025, and TrustRadius Tech Cares 2025

Complete feature list

Every stock chart feature, included in the license

  • Every feature includedNo separate enterprise edition
  • Royalty-freeNo runtime or deployment fees
  • Weekly patchesPlus regular feature releases
  • Expert supportFrom Syncfusion engineers

Related data visualization components:React ChartsReact Stock ChartReact HeatMapReact Circular Gauge

Questions and answers

React Stock Chart FAQ

What is the React Stock Chart?

The Syncfusion React Stock Chart shows prices over time with candlesticks, OHLC bars, or lines. It adds period and range selectors, technical indicators, trendlines, and stock events. Explore the demos

How is the Stock Chart different from the React Charts component?

The Stock Chart is built for financial data: it adds the period selector, range selector, indicator and trendline dropdowns, and stock events. Use the React Charts component for general line, column, or financial series without those tools. React Charts

How do I add a stock chart in React?

Install @syncfusion/ej2-react-charts, render StockChartComponent with a StockChartSeriesDirective bound to open, high, low, and close fields, and inject DateTime and CandleSeries. Read the getting started guide

Which series types are available?

Candle, hollow candle, HiloOpenClose, HiLo, line, and spline series, and users switch between them from the series dropdown. Read about series types

Which technical indicators are available?

Accumulation distribution, ATR, Bollinger bands, EMA, SMA, TMA, MACD, momentum, RSI, and stochastic. Users add and remove them from the indicator dropdown. Read about indicators

How do I change the period buttons?

Set periods to an array of buttons, each with text, interval, and intervalType. Read about the period selector

Can I hide the period selector or range selector?

Yes. Set enablePeriodSelector or enableSelector to false to hide either one. Hide range selector demo

Can I mark events such as earnings on the chart?

Yes. Add them to stockEvents with a date, text, and description, shown as a flag, pin, square, or arrow. Stock events demo

Can the chart show live prices?

Yes. Update the bound data as new values arrive, and the chart draws the new candles. Live candlestick demo

Can users get an AI price forecast?

Yes. The AI demo sends recent trading days to an AI service through your backend and draws the projected candlesticks. Stock forecasting demo

Is the React Stock Chart accessible?

Yes. It supports keyboard navigation and WAI-ARIA attributes, follows WCAG 2.2, and renders right to left. Read about accessibility

Can AI coding assistants build with the React Stock Chart?

Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Stock Chart docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server

Is the Syncfusion React Stock Chart free?

It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility

Syncfusion React Stock Chart

Build your React stock charts faster with AI

The full Stock Chart, the MCP server, and Agent Skills, free for 30 days.

  • No credit card required
  • Free Community License for eligible teams
  • No runtime or deployment fees