amazing-react-charts
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Amazing React Charts

React UI toolkit for the web.

A simple library to create and handling awesome canvas charts.

This package is based on echarts and echarts-for-react wrapper.

Installation

Amazing React Charts is avaliable as a NPM package.

  • With npm:
    npm install --save amazing-react-charts
  • With yarn:
    yarn add amazing-react-charts

Usage

Here is a quick example to get you started, it's all you need:

import VerticalBarChart from 'amazing-react-charts'

<VerticalBarChart
    color='green'
    xType='time'
    barWidth={ 100 }
    yComplement='%'
    tooltip={{ 
        label: 'Axis x tooltip label',
        result: 'Axis y tooltip label'
    }}
    data={[
        { label: 'value 1', result: 50 },
        { label: 'value 2', result: 21 },
        { label: 'value 3', result: 84 },
        { label: 'value 4', result: 79 }
    ]}
/>

Demo

To run the demo:

git clone https://github.com/nginformatica/amazing-react-charts.git

Install all the dependencies:

yarn

To run the demo, run the following command:

yarn start

Components

  • [x] AreaChart
  • [x] HorizontalBarChart
  • [x] StackedBarChart
  • [x] VerticalBarChart
  • [x] PieChart
  • [x] CoordinateLineChart
  • [x] DonutChart
  • [x] LineChart
  • [x] PictorialChart
  • [x] RadarChart

Special Components

  • [x] AudiometryChart
  • [x] ForecastAreaChart

Next Components

  • [ ] CalendarChart
  • [ ] ClusteredBarChart

Documentation

Check out our documentation website.

Contributing

Bug reports, feature requests and other contributions are more than welcome!
Whenever possible, please make a pull request with the implementation instead of just requesting it.

If the feature is big, open an issue first for discussion.

The descriptions of the props used on this package are found in: https://echarts.apache.org/en/option.html

License

This project is licensed under the terms of the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i amazing-react-charts

Weekly Downloads

211

Version

1.1.1

License

MIT

Unpacked Size

246 kB

Total Files

73

Last publish

Collaborators

  • leonardo.rigon
  • leorigon
  • jacksjm
  • ti-nginformatica