Giter Site home page Giter Site logo

alkhokhlov / animatedgraph Goto Github PK

View Code? Open in Web Editor NEW
162.0 6.0 15.0 2.15 MB

Animated Graph which you can include in your application to show information in more attractive way

License: MIT License

Swift 100.00%
coreanimation graph animated graphview custom customizable

animatedgraph's Introduction

AnimatedGraph

Animated Graph which you can include in your application to show information in more attractive way

  1. You need to download and import folder Graph to your project
  2. Add View to ViewController and choose classname GraphView
  3. Choose IBDesignable colors in Interface Builder
  4. Make IBOutlet of GraphView
  5. Configure GraphView with method
/// At first you need to configure graph with launch data.
///
/// - Parameters:
///   - points: Launch array of points
///   - columnNames: Bottom located column names.
///   - title: Title of graph
func configure(withPoints points: [Double], columnNames: [String]?, title: String?)


/// Animate Graph to min values
func animateToMinValues()

/// Use this method to animate graph with other points and column names.
/// - Parameters:
///   - points: Array of points
///   - columnNames: Array of column names
func animate(withPoints points: [Double], columnNames: [String]?)
  1. To animate use method
/// Use this method to animate graph with other points and column names.
/// - Parameters:
///   - points: Array of points
///   - columnNames: Array of column names
func animate(withPoints points: [Double], columnNames: [String]?)

If you have problems, just look at the example of usage in ViewController.swift

animatedgraph's People

Contributors

alkhokhlov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

animatedgraph's Issues

Please update usage

The source code of your project is different from the usage you wrote down.
Which is the correct usage?
Please update usage.

Next steps

Hi,

Thanks for awesome cocoa pod!
Do you have any plans or ideas about future releases? What about Swift 4 support?

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.