25.1.41 • Published 2 days ago

@syncfusion/ej2-react-charts v25.1.41

Weekly downloads
2,082
License
SEE LICENSE IN li...
Repository
github
Last release
2 days ago

React Charts Components

The React Chart component is a well-crafted charting component for visualizing data with 50+ charts and graphs, ranging from line to financial types. It can bind data from datasource such as array of JSON objects, OData web services or DataManager. All chart elements are rendered using Scalable Vector Graphics (SVG).

What's Included in the React Charts Package

The React Charts package includes the following list of components.

React Chart

The React Chart Component is a feature-rich chart component with built-in support for over 50 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.

Key Features

  • Chart types: Supports 50+ interactive chart types starting from line to financial chart. Few chart types include:
  • Data binding: Bind the Chart component with an array of JSON objects or DataManager. Other than chart series, data label and tooltip can also bound to your data.
  • Axis types: Supports multiple axes, and able to plot different data such as numbers, datetime, logarithmic and string.
  • Rendering modes: Supports two type of rendering - SVG and Canvas. By default chart rendered in SVG, You can easily switch between the two simple configuration.
  • Data label: Supports data label to annotate points with label to improve the readability of data.
  • Annotation: Provides support to mark any specific area of interest by adding custom element.
  • Zooming and panning: Provides options to visualize the data points under any region using rectangular selection, pinch, or mouse wheel zooming.
  • Crosshair & trackball: Provides options to track data points closer to the mouse position or touch action.
  • Selection: Allows you to select any data point or subset of points using selection feature.
  • Export: Provides the options to Export the chart to PDF, SVG and CSV formats.
  • RTL support: Provides a full-fledged right-to-left mode which aligns axis, tooltip, legend and data in the chart component from right to left.
  • Appearance: Colors for the charts are picked by the built-in theme, but each element of the chart can be customized by simple configuration options.
  • Accessibility: Designed to be accessible to users with disabilities, with features such as WAI-ARIA standard compliance and keyboard navigation to ensure that the chart can be effectively used with assistive technologies such as screen readers.
  • Localization: The Localization library enables you to adapt the default text content of the chart to fit the language and cultural preferences of your target audience.

React Accumulation Chart

Built-in support for pie, doughnut, pyramid and funnel series type, to show the proportions and percentages between the categories.

Key features

  • Chart types: Supports Pie, Doughnut, Pyramid and Funnel charts.
  • Smart labels: Supports arrangement of data labels smartly to avoid overlapping when the data point value falls in close range.
  • Grouping: Supports grouping of data points based on value and point count.
  • Semi-pie: Provides options to customize the start and end angle of the pie chart.
  • Legend: Provides options to display additional information about the points with the help of legend.
  • Tooltip: Provides great user experiance by including a set of interactive features such as tooltip, drill-down, events, and selection.

React Stock Chart

The React Stock Chart Component is a well-crafted, easy-to-use financial charting package to track and visualize stock price of any company over a specific period using charting and range tools.

Key features

  • Data binding: Bind the stock chart component with an array of JSON objects or DataManager. Other than chart series, data label and tooltip can also bound to your data.
  • Range selector: Supports range selector to filter a date range for data that needs to be visualized.
  • Period selector: Supports period selector to select predefined periods just by a single click.
  • Technical indicators: Incidators allows to analyze the past and predict the future market trends based on historic price, volume, or open interest.
  • Trendlines: Predicts the future trends with predetermined data for any measurements.
  • Stock events: Supports stock events to show different kinds of market events on the chart.
  • Export: Provides the options to Export the stock chart to PDF, SVG and CSV formats.
  • Appearance: Colors for the stock chart are picked by the built-in theme, but each element of the stock chart can be customized by simple configuration options.
  • Tooltip: Provides great user experiance by including a set of interactive features such as tooltip, events, and trackball.

React Range Navigator

The React Chart Component is an interface for selecting a small range from a large collection. It is commonly used in financial dashboards to filter a date range for data that needs to be visualized.

Key features

  • Data sources: Bind the range navigator component with an array of JSON objects or DataManager.
  • Tooltip: Provides great user experiance by including a set of interactive features such as tooltip, events, and animation.
  • Lightweight: Supports light-weight range navigator to load in mobile device.
  • Period-selector: Provides options to select the data over the custom period.
  • Axis types: Supports multiple axis and able to plot different data such as numbers, datetime, logarithmic and string.

React Sparkline

The React Sparkline Component is a very small chart control drawn without axes or coordinates. The sparklines are easy to interpret and convey more information to users by visualizing data in a small amount of space.

Key features

  • Series types: Supports five types of sparklines : line, area, column, win loss, and pie to show data trends.
  • Axis types: Supports multiple axis and able to plot different data such as numbers, datetime, logarithmic and string.
  • Data label: Supports data label to annotate points with label to improve the readability of data.
  • Range band: Provides options to highlight specific range of values.
  • Tooltip: Provides great user experiance by including a set of interactive features such as tooltip, events, and trackball.

React Bullet Chart

The React Bullet Chart Component is an interface to visually compare measures, similar to the commonly used bar chart. A bullet chart displays one or more measures and compares them with a target value.

Key features

  • Multiple measures: Provides options to render multiple measure bars as well as multiple target bars to allow comparison of several measures at once.
  • Legend: Provides options to display additional information about the target and actual bar.
  • RTL support: Provides a full-fledged right-to-left mode which aligns axis, tooltip, legend and data in the chart component from right to left.
  • Tooltip: Provides options to display additional information about target and actual on mouse hover.

React Smith Chart

The React Smith Chart Component visualize data of high frequency circuit applications. It contains two sets of circles to plot parameters of transmission lines.

Key features

  • Legend: Provides options to display additional information about the series.
  • Data label: Supports data label to annotate points with label to improve the readability of data.
  • Tooltip: Provides options to display additional information about data points on mouse hover.
  • Print and Export: Provides support to print and export the rendered smith chart for future use.

Setup

Create a React Application

You can use create-react-app to setup applications. To create React app use the following command.

npx create-react-app my-app --template typescript
cd my-app
npm start

Adding Syncfusion Chart package

All Syncfusion react packages are published in the npmjs.com registry. To install the react chart package, use the following command.

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

Add Chart Component

In the src/App.tsx file, use the following code snippet to render the Syncfusion React Chart component and import App.css to apply styles to the chart:

import { ChartComponent, Category, Category, LineSeries  } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
import './App.css';

function App() {
    let data = [
        { month: 'Jan', sales: 35 }, { month: 'Feb', sales: 28 },
        { month: 'Mar', sales: 34 }, { month: 'Apr', sales: 32 },
        { month: 'May', sales: 40 }, { month: 'Jun', sales: 32 },
        { month: 'Jul', sales: 35 }, { month: 'Aug', sales: 55 },
        { month: 'Sep', sales: 38 }, { month: 'Oct', sales: 30 },
        { month: 'Nov', sales: 25 }, { month: 'Dec', sales: 32 }
        ];
    const primaryxAxis = { valueType: 'Category' };

    return <ChartComponent id="charts" primaryXAxis={primaryxAxis}>
            <Inject services={[LineSeries, Category]}/>
            <SeriesCollectionDirective>
                <SeriesDirective dataSource={data} xName='month' yName='sales'/>
            </SeriesCollectionDirective>
            </ChartComponent>;
};
export default App;

Supported frameworks

Chart components are offered in following list of frameworks.

     JavaScript           Angular             Vue           ASP.NET Core    ASP.NET MVC  

Showcase samples

Support

Product support is available through following mediums.

Changelog

Check the changelog here. Get minor improvements and bug fixes every week to stay up to date with frequent updates.

License and copyright

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license for 80+ React UI components, you can purchase or start a free 30-day trial.

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.

See LICENSE FILE for more info.

© Copyright 2024 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

25.1.41

2 days ago

25.1.40

9 days ago

25.1.39

16 days ago

25.1.38

23 days ago

25.1.37

1 month ago

25.1.35

1 month ago

24.2.9

2 months ago

24.2.8

2 months ago

24.2.7

2 months ago

24.2.5

2 months ago

24.2.4

3 months ago

24.2.3

3 months ago

24.1.47

3 months ago

24.1.46

3 months ago

24.1.45

4 months ago

24.1.44

4 months ago

24.1.43

4 months ago

24.1.41

4 months ago

23.2.6

5 months ago

23.2.5

5 months ago

23.2.7

5 months ago

22.2.9

8 months ago

22.2.8

9 months ago

22.2.7

9 months ago

22.2.5

9 months ago

22.1.38

10 months ago

22.1.39

9 months ago

22.1.37

10 months ago

22.2.11

8 months ago

22.2.12

8 months ago

22.2.10

8 months ago

23.2.4

5 months ago

23.1.40

7 months ago

23.1.41

6 months ago

23.1.44

6 months ago

23.1.42

6 months ago

23.1.43

6 months ago

23.1.38

7 months ago

23.1.36

7 months ago

23.1.39

7 months ago

22.1.36

10 months ago

21.1.36

10 months ago

21.1.42

10 months ago

21.2.9

11 months ago

22.1.34

10 months ago

21.2.10

11 months ago

21.2.8

11 months ago

21.2.4

12 months ago

21.2.3

12 months ago

21.2.6

11 months ago

21.2.5

11 months ago

20.4.54

1 year ago

20.4.53

1 year ago

21.1.35

1 year ago

21.1.39

1 year ago

21.1.38

1 year ago

21.1.37

1 year ago

21.1.41

1 year ago

20.4.52

1 year ago

20.4.51

1 year ago

20.4.49

1 year ago

20.4.48

1 year ago

20.4.44

1 year ago

20.4.43

1 year ago

20.4.42

1 year ago

20.4.40

1 year ago

20.4.38

1 year ago

20.3.60

1 year ago

20.3.58

1 year ago

20.3.57

1 year ago

20.3.56

1 year ago

20.3.52

1 year ago

20.3.50

2 years ago

20.3.49

2 years ago

20.3.48

2 years ago

20.2.50

2 years ago

20.3.47

2 years ago

20.2.46

2 years ago

20.2.48

2 years ago

20.2.49

2 years ago

20.2.45

2 years ago

20.1.61

2 years ago

20.2.36

2 years ago

20.2.38

2 years ago

20.2.40

2 years ago

20.2.43

2 years ago

20.2.44

2 years ago

20.1.52

2 years ago

20.1.55

2 years ago

20.1.56

2 years ago

20.1.57

2 years ago

20.1.59

2 years ago

20.1.47

2 years ago

20.1.48

2 years ago

20.1.50

2 years ago

20.1.51

2 years ago

19.4.54

2 years ago

19.4.41

2 years ago

19.4.43

2 years ago

19.4.42

2 years ago

19.4.47

2 years ago

19.4.48

2 years ago

19.4.50

2 years ago

19.4.52

2 years ago

19.4.53

2 years ago

19.3.53

2 years ago

19.3.54

2 years ago

19.3.55

2 years ago

19.3.59

2 years ago

19.4.38

2 years ago

19.4.40

2 years ago

19.3.48

2 years ago

19.3.45

3 years ago

19.3.46

3 years ago

19.3.44

3 years ago

19.3.43

3 years ago

19.2.62

3 years ago

19.2.60

3 years ago

19.2.59

3 years ago

19.2.57

3 years ago

19.2.56

3 years ago

19.2.55

3 years ago

19.2.51

3 years ago

19.2.49

3 years ago

19.2.47

3 years ago

19.2.46

3 years ago

19.2.44

3 years ago

19.1.69

3 years ago

19.1.67

3 years ago

19.1.65

3 years ago

19.1.64

3 years ago

19.1.63

3 years ago

19.1.59

3 years ago

19.1.58

3 years ago

19.1.57

3 years ago

19.1.56

3 years ago

19.1.54

3 years ago

18.4.48

3 years ago

18.4.47

3 years ago

18.4.46

3 years ago

18.4.44

3 years ago

18.4.43

3 years ago

18.4.42

3 years ago

18.4.41

3 years ago

18.4.40

3 years ago

18.4.39

3 years ago

18.4.35

3 years ago

17.2.55-1205479

3 years ago

18.4.34

3 years ago

18.4.30

3 years ago

18.3.52

3 years ago

18.3.51

3 years ago

17.2.52-1205479

3 years ago

18.3.50

3 years ago

18.3.48

3 years ago

18.3.47

3 years ago

18.3.44

3 years ago

18.3.42

4 years ago

18.3.35

4 years ago

18.2.58

4 years ago

18.2.56

4 years ago

18.2.55

4 years ago

18.2.54

4 years ago

18.2.48

4 years ago

18.2.47

4 years ago

18.2.46

4 years ago

18.2.45

4 years ago

18.2.44

4 years ago

18.1.59

4 years ago

18.1.57

4 years ago

18.1.56

4 years ago

18.1.55

4 years ago

18.1.54

4 years ago

18.1.53

4 years ago

18.1.52

4 years ago

18.1.48

4 years ago

18.1.45

4 years ago

18.1.44

4 years ago

18.1.43

4 years ago

18.1.42

4 years ago

18.1.36-beta

4 years ago

17.4.51

4 years ago

17.4.50

4 years ago

17.4.49

4 years ago

17.4.47

4 years ago

17.4.46

4 years ago

17.4.43

4 years ago

17.4.41

4 years ago

17.4.40

4 years ago

17.4.39

4 years ago

17.3.34

4 years ago

17.3.30

4 years ago

17.3.28

4 years ago

17.3.27

4 years ago

17.3.26

4 years ago

17.3.21

4 years ago

17.3.19

5 years ago

17.3.17

5 years ago

17.3.16

5 years ago

17.3.14

5 years ago

17.3.9-beta

5 years ago

17.2.49

5 years ago

17.2.48-beta

5 years ago

17.2.29-beta

5 years ago

17.2.47

5 years ago

17.2.46

5 years ago

17.2.36

5 years ago

17.2.35

5 years ago

17.2.34

5 years ago

17.2.28-beta

5 years ago

17.1.51

5 years ago

17.1.49

5 years ago

17.1.47

5 years ago

17.1.43

5 years ago

17.1.42

5 years ago

17.1.41

5 years ago

17.1.40

5 years ago

17.1.38

5 years ago

17.1.32-beta

5 years ago

16.4.54

5 years ago

16.4.53

5 years ago

16.4.52

5 years ago

17.1.1-beta

5 years ago

16.4.48

5 years ago

16.4.47

5 years ago

16.4.45

5 years ago

16.4.44

5 years ago

16.4.42

5 years ago

16.4.40-beta

5 years ago

16.3.34

5 years ago

16.3.33

5 years ago

16.3.32

5 years ago

16.3.30

5 years ago

16.3.29

5 years ago

16.3.27

6 years ago

16.3.24

6 years ago

16.3.22

6 years ago

16.3.21

6 years ago

16.3.17

6 years ago

16.2.50

6 years ago

16.2.49

6 years ago

16.2.48

6 years ago

16.2.47

6 years ago

16.2.46

6 years ago

16.2.45

6 years ago

16.2.44

6 years ago

16.2.41

6 years ago

16.1.48

6 years ago

16.1.40

6 years ago

16.1.37

6 years ago

16.1.35

6 years ago

16.1.32

6 years ago

16.1.29

6 years ago

16.1.28

6 years ago

16.1.26

6 years ago

16.1.24

6 years ago

15.4.27

6 years ago

15.4.23

6 years ago

15.4.22

6 years ago

15.4.20

6 years ago

15.4.17

6 years ago

1.0.20

7 years ago

1.0.18

7 years ago

1.0.16

7 years ago

1.0.14

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago