We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

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.


Why choose Syncfusion React Stock Chart?

A high performance React Stock Chart.

High performance

Several data-rendering optimizations have been completed for the best possible efficiency when plotting large amounts of data and managing high-frequency, real-time data.

React Stock Chart elegant animation.

Elegant animation

The Stock Chart for React provides fluid animation to present data with smooth transitions.

Interactive React Stock Chart.

Interactive Stock Chart

The tooltip and crosshair cursor allow users to interact with the chart and obtain detailed information about data points.

Stock events in React Stock Chart.

Stock events

Visualize stock events to display many types of market events on the chart.

React Stock Chart admirable feature set.

Admirable feature set

The React Stock Chart supports zooming and panning, multiple series, period selector, range selector, trendlines, and indicators.

React Stock Chart adapts to any resolution.

Adapts to any resolution

Stock Chart has a highly responsive layout and an optimized design for desktops, touchscreens, and phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

React Stock Chart customizable themes.

Attractive, customizable themes

Cutting-edge design with several built-in themes, such as Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize themes of Stock Chart easily.

React Stock Chart globalization.

Globalization and localization

Enable users from different locales to use the control by formatting dates, currency, and numbering to suit preferences.


React Stock Chart Code Example

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>
    )
  }
}

Interactive chart

The end-user experience is greatly enhanced by including a set of interactive features such as zooming and panning, crosshair, trackball, events, and selection.

Interactive Stock Chart in React.


Candlestick with volume in React Stock Chart.

Candlestick with volume

React Candlestick Chart allows analyzing both price action and volume at a glance.


Multiple series

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.

Multiple series in React Stock Chart.


Plot band in React Stock Chart.

Plot band

Draw special attention to any region of the chart or graph with the help of strip lines.


Range selector

Use the range selector to filter a date range for data that needs to be visualized.

Range selector in React Stock Chart.


Period selector in React Stock Chart.

Period selector

Use the period selector to choose a range of data points at predetermined intervals with a single click.


Series type

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.

Series type in React Stock Chart.


Legend in React Stock Chart.

Legend

Legends provide additional information helpful in identifying individual data or series in a Stock Chart.


Indicators

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.

React Stock Chart indicators.


React Stock Chart trendlines.

Trendlines

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.


Export React Stock Chart to PDF documents or to image formats such as SVG, PNG, and JPEG as well as export chart data to XLSX and CSV formats in the client-side. Print the rendered Stock Charts and graphs directly from the browser.

Print and export in React Stock Chart.


Axis type in React Stock Chart.

Axis type

Visualize data using different axis types like numeric, logarithmic, date-time, and date-time category. And this chart’s axis elements can be customized further to make an axis more readable.


Accessibility

Keyboard navigation in React Stock Chart.

Keyboard navigation

Every element in React Stock Charts is keyboard accessible. Major features like tooltip, trackball, legend, collapse, zoom, and pan can be used through keyboard commands alone. No mouse interaction is required. This helps in creating highly accessible applications.

Accessibility and screen reader support in React Stock Chart.

Screen reader

The React Stock Chart view has complete WAI-ARIA accessibility support. The Stock Chart UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left language in React Stock Chart.

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the Stock Chart from right to left. This improves the user experience and accessibility for RTL languages.





Other supported frameworks

Stock Chart is also available in the Blazor, Angular, JavaScript, and Vue frameworks. Check out the Stock Chart for different platforms from the following links.

Supported browsers

The React Stock Chart works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers in React Stock Chart.

85+ REACT UI COMPONENTS

Frequently Asked Questions

  • Visualize and analyze stock data with candlestick, OHLC, HiLo Chart.
  • Interact and explore Stock Charts with features such as period selector, range selector, zoom and pan, crosshair, tooltip, trackball, and more.
  • Flexible UI customization of period and range selector with fluent APIs.
  • One of the best React Stock Chart in the market that offers feature-rich UI to interact with the software.
  • 10 Technical indicators and 4+ Financial Chart types with elegant animation.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with React Stock Chart.

We do not sell the React Stock Chart separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the React Stock Chart. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our React Stock Chart demo, which demonstrates how to render and configure the Stock Chart.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our React Stock Chart, are not sold individually. They are only available as part of a team license. 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 component 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 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists 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, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

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.

Up arrow icon