react-native-charts-view-controller

0.0.9 • Public • Published

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 (
     <ChartsViewController data={[]}>
     </ChartsViewController>
   );
 }
} 

Data-Format

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

About ChartProps You can see this

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-charts-view-controller

Weekly Downloads

0

Version

0.0.9

License

none

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • zry754331875