React Stock Chart is a well-crafted, easy-to-use financial charting package. Track and visualize the stock price of any company over a specific period of time using charting (such as Candlestick, OHLC, HiLo, and more) and range tools. The component comes with a lot of features such as zooming, panning, tooltip, crosshair, trackball, period selector, range selector, and events to make the stock charts more interactive.
Several data-rendering optimizations are included for the best possible performance when plotting large volumes of data and handling high-frequency real-time data.
The end-user experience is greatly enhanced by including a set of interactive features such as zooming and panning, crosshair, trackball, events, and selection.
React Candlestick Chart allows analyzing both price action and volume at a glance.
Plot multiple series in a single chart to compare different stock values. Enabling a legend and a tooltip gives more information about an individual series.
Draw special attention to any region of the chart or graph with the help of strip lines.
Use the range selector to filter a date range for data that needs to be visualized.
Select predefined periods just by a single click.
Visualize data using different series types like candle, OHLC, HiLo, line, spline, area, and spline area. The series type can be changed using the series options in the period selector.
Legends provide additional information helpful in identifying individual data or series in a stock chart.
Use technical indicators to analyze the past and predict the future market trends based on historic price, volume, or open interest. The React StockChart supports 10 different types of indicators. You can add these indicators to a stock chart using the indicator option in the period selector.
Predict future trends with predetermined data for any measurement such as the stock market or target revenue with the help of trendlines. You can add trendlines to a stock chart using the trendlines options in the period selector.
Stock events are used to show different kinds of market events on the chart. Use a flag, sign, pin, text, circle, or description.
React StockChart is shipped with several built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast.
Export React Stock Chart to PDF documents or to image formats such as SVG, PNG, and JPEG in the client-side. Print the rendered stock charts and graphs directly from the browser.
React Stock Chart enables users from different locales to format date, currency, and numbering to suit their language preferences. It uses the internalization (i18n) library to handle value formatting.
Based on their needs, users can localize all the strings that are used in the user interface of the React Stock Chart component. It uses the localization (l10n) library to localize UI strings.
Easily get started with the React Stock Chart using a few simple lines of JSX code as demonstrated below. Also explore our React Stock Chart Example that shows you how to render the React Stock Chart.
import * as React from "react";
import * as ReactDOM from "react-dom";
import { StockChartComponent, StockChartSeriesCollectionDirective, StockChartSeriesDirective, Inject, DateTime, Tooltip, RangeTooltip, Crosshair, LineSeries, SplineSeries, CandleSeries, HiloOpenCloseSeries, HiloSeries, RangeAreaSeries, Trendlines } from '@syncfusion/ej2-react-charts';
import { EmaIndicator, RsiIndicator, BollingerBands, TmaIndicator, MomentumIndicator, SmaIndicator, AtrIndicator, AccumulationDistributionIndicator, MacdIndicator, StochasticIndicator, Export } from '@syncfusion/ej2-react-charts';
import { SampleBase } from '../common/sample-base';
export class Default extends SampleBase<{}, {}> {
public data: any = [{
"x": new Date('2012-04-02T00:00:00.000Z'),
"open": 320.705719,
"high": 324.074066,
"low": 317.737732,
"close": 323.783783,
"volume": 45638000
}, {
"x": new Date('2012-04-03T00:00:00.000Z'),
"open": 323.028015,
"high": 324.299286,
"low": 319.639648,
"close": 321.631622,
"volume": 40857000
}, {
"x": new Date('2012-04-04T00:00:00.000Z'),
"open": 319.544556,
"high": 319.819824,
"low": 315.865875,
"close": 317.892883,
"volume": 32519000
}, {
"x": new Date('2012-04-05T00:00:00.000Z'),
"open": 316.436432,
"high": 318.533539,
"low": 314.599609,
"close": 316.476471,
"volume": 46327000
}];
public primaryXAxis: any = {
valueType: 'DateTime',
majorGridLines: { width: 0 },
majorTickLines: { color: 'transparent' },
crosshairTooltip: { enable: true }
};
public primaryYAxis: any = {
labelFormat: 'n0',
lineStyle: { width: 0 },
rangePadding: 'None',
majorTickLines: { width: 0 }
}
render() {
return (
<div>
<StockChartComponent id='stockchart' primaryXAxis={this.primaryXAxis}
primaryYAxis={this.primaryYAxis} height='350'>
<Inject services={[DateTime, Tooltip, RangeTooltip, Crosshair, LineSeries, SplineSeries, CandleSeries, HiloOpenCloseSeries, HiloSeries, RangeAreaSeries, Trendlines,
EmaIndicator, RsiIndicator, BollingerBands, TmaIndicator, MomentumIndicator, SmaIndicator, AtrIndicator, Export,
AccumulationDistributionIndicator, MacdIndicator, StochasticIndicator]}/>
<StockChartSeriesCollectionDirective>
<StockChartSeriesDirective dataSource={this.data} type='Candle'>
</StockChartSeriesDirective>
</StockChartSeriesCollectionDirective>
</StockChartComponent>
</div>
)
}
}
Stock Chart is also available in the Blazor, Vue, Angular, and JavaScript frameworks. Check out the Stock Chart for different platforms from the following links.
We do not sell the React Stock Chart separately. It is only available for purchase as part of the Syncfusion React suite, which contains over 80 React components, including the Stock Chart. A single developer license for the Syncfusion Essential Studio for React suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our React Stock Chart demo here.
No, our 80+ React components, including Stock Chart, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Stock Chart alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 80+ React components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.