Giter VIP home page Giter VIP logo

react-native-animate-chart's Introduction

react-native-animate-chart

An chart library with animation based on ART module.

NPM

Build Status MIT Licence depedencies

Get Started

Before starting using the animate chart library,you have to add the ART module to your project if you are deleloping iOS platform app.

  1. drag node_modules/react-native/Libraries/ART/ART.xcodeproj to you project's libraries foulder
  2. Link the ART.a module

Then save the following code named Demo.js as an component.

const React,{ Components } from 'react';
const RNAChart from 'react-native-animate-chart';

export default class Demo extends Components{
  render(){
    return(
      <RNAChart
        width="320"
        height="300"
        title="Awesome React Native"
        subtitle="library for charting things"
        tootip = {{
          text:function(index,data){
            return `The ${index} data is ${data}`
          }
        }}
        xAxis = {{
          crosshair:true
        }}
      />
    )
  }
}

Then refresh your simulator or shake your device to reload,you will see the animating chart.

TODOS:

  • Pie
  • Doughnut
  • Line chart
  • Histogram
  • Radar Chart

react-native-animate-chart's People

Contributors

obooman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-native-animate-chart's Issues

How to animate line graph on ECG real-time data?

Firstly, great job on this repo. Can't wait for it to get better.

I'm currently trying to use this module to use a line graph for my ECG data and animate it with new data.

Is it possible to use real-time data and show it in a line graph? Here is what I mean by animation.

Please let me know.

Thanks

Demo Example

Proper demo project with all charts and features

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.