0.0.9 • Published 5 years ago

react-native-charts-view-controller v0.0.9

Weekly downloads
34
License
-
Repository
github
Last release
5 years ago

React-native-charts-view-controller

Introduction

Base on react-native-charts-wrapper.

Supported Chart Type

  • BarChart
  • HorizontalBarChart
  • LineChart
  • PieChart

Will To DO

  • BubbleChart
  • CandleStickChart
  • RadarChart
  • ScatterChart
  • CombinedChart

Steps

  1. Install By react-native-charts-wrapper
  2. npm i react-native-charts-view-controller
  3. import ChartsViewController like this.
    import  {ChartsViewController} from 'react-native-charts-view-controller';

class App extends Component { constructor(props) { super(props); this.state = { }; }

render() { return ( ); } }

## Data-Format

"data": { "type": "BarChart", "chartData": { ...chartProps } }, { "type": "PieChart", "chartData": { ...chartProps } }

About ChartProps You can see [this](https://github.com/wuxudong/react-native-charts-wrapper/blob/master/docs.md)