# cloudeggs-native-echarts

> echarts for react-native for CloudEggs, Inc.

Latest version **0.0.3** (published 2017-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install cloudeggs-native-echarts
pnpm add cloudeggs-native-echarts
yarn add cloudeggs-native-echarts
bun add cloudeggs-native-echarts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-11-06 |
| First published | 2017-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | godwinxunwang |
| Maintainers | godwinxunwang |
| Keywords | react-native, echarts, chart, charts |

## Links

- npm: https://www.npmjs.com/package/cloudeggs-native-echarts
- Repository: https://github.com/godwinxunwang/react-native-echarts
- Homepage: https://github.com/godwinxunwang/react-native-echarts#readme
- Issues: https://github.com/godwinxunwang/react-native-echarts/issues
- npm.io page: https://npm.io/package/cloudeggs-native-echarts

## Dependencies (1)

- [echarts](https://npm.io/package/echarts.md) 3.2.3

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2017-11-06
- 0.0.2 — 2017-10-28
- 0.0.1 — 2017-10-27

## README

# cloudeggs-native-echarts

[![NPM Version](https://img.shields.io/npm/v/native-echarts.svg?style=flat)](https://www.npmjs.org/package/native-echarts)
  [![License](http://img.shields.io/npm/l/native-echarts.svg?style=flat)](https://raw.githubusercontent.com/somonus/react-native-echarts/master/LICENSE.md)
  
## install

$ npm install cloudeggs-native-echarts --save

## Usage

The Usage is complete consistent with Echarts. 

component props:

* *option* (object): The option for echarts: [Documentation](http://echarts.baidu.com/option.html#title)。 
* *width* (number): The width of the chart. The default value is the outer container width. 
* *height* (number): The height of the chart. The default value is 400. 


```js
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
import Echarts from 'cloudeggs-native-echarts';

export default class app extends Component {
  render() {
    const option = {
      title: {
          text: 'ECharts demo'
      },
      tooltip: {},
      legend: {
          data:['销量']
      },
      xAxis: {
          data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
      },
      yAxis: {},
      series: [{
          name: '销量',
          type: 'bar',
          data: [5, 20, 36, 10, 10, 20]
      }]
    };
    return (
      <Echarts option={option} height={300} />
    );
  }
}

AppRegistry.registerComponent('app', () => app);

```



##Example

*run demo*

```
cd example
npm install
npm start
```

## License

MIT

---
_Source: https://npm.io/package/cloudeggs-native-echarts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
