Stock forecasting
AI projects the next candlesticks from recent trading days and marks where the forecast starts.
AI · MCP Server and Agent Skills included
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.
Trusted by the world’s leading companies
Now easier with AI
Coding assistants write the setup from the current docs, and your users can ask AI to forecast prices.
01For developers
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Stock Chart docs and recommended patterns.
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
Connect an AI service through your own backend, so API keys never reach the browser.
AI projects the next candlesticks from recent trading days and marks where the forecast starts.
Accessibility
The React Stock Chart component follows WAI-ARIA practices, with keyboard access and screen reader support.
Features in depth
Open a demo to try each one, or the docs to see the API.
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.
Show the direction of a price with linear, exponential, logarithmic, polynomial, power, or moving average trendlines. Users add them from the trendline dropdown.
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.
Show price and volume in one chart, or compare several stocks in one chart, with a legend to toggle each series.
Bind local or remote data, update the chart as new candles arrive, and show intraday prices with custom periods.
Plot dates on a date-time axis, or show only business days with a DateTimeCategory axis. Customize labels, gridlines, and multiple axes.
Crosshair lines and axis labels follow the pointer, shared tooltips show every series at a date, and users zoom and pan through the history.
Export the chart to JPEG, PNG, SVG, or PDF from the export dropdown in the period selector toolbar, or print it from the browser.
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
With an AI coding assistant
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>
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
“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.
“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.
Customer story · Igniatek
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Showing all 35 features. Each one opens its demo or documentation.
No feature matches that search. Try another word, or open the Stock Chart demos.
Related data visualization components:React ChartsReact Stock ChartReact HeatMapReact Circular Gauge
Questions and answers
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
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
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
Candle, hollow candle, HiloOpenClose, HiLo, line, and spline series, and users switch between them from the series dropdown. Read about series types
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
Set periods to an array of buttons, each with text, interval, and intervalType. Read about the period selector
Yes. Set enablePeriodSelector or enableSelector to false to hide either one. Hide range selector demo
Yes. Add them to stockEvents with a date, text, and description, shown as a flag, pin, square, or arrow. Stock events demo
Yes. Update the bound data as new values arrive, and the chart draws the new candles. Live candlestick demo
Yes. The AI demo sends recent trading days to an AI service through your backend and draws the projected candlesticks. Stock forecasting demo
Yes. It supports keyboard navigation and WAI-ARIA attributes, follows WCAG 2.2, and renders right to left. Read about accessibility
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
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
Resources
Stock Chart for other frameworks:AngularBlazorJavaScriptVue
More React components:ChartsRange SelectorData GridAll 140+ React components
Syncfusion React Stock Chart
The full Stock Chart, the MCP server, and Agent Skills, free for 30 days.