Giter Site home page Giter Site logo

sparklines's Introduction

Sparklines - an iOS Custom View Implementation
----------------------------------------------

 Sparklines are small, word-sized graphics showing historical values for a
measured data item.They were described by Edward Tufte in his 1982 book "The
Visual Display of Quantitative Information", and are designed to represent
a lot of data in a small space.

 This project is an iOS custom view implementation of sparklines, and is
released under the BSD license. While the custom view consists of two
Objective-C files, the code is provided as a complete iOS Xcode project that
will build and run on Xcode V4.1 or greater (it will probably build and run
under earlier versions but I haven't confirmed that). Both the iPhone/iPod
Touch and the iPad is supported by this demo.

 Please read the embedded documentation in the SparklineView.h file; a
doxygen config file is also provided, so you can build your own HTML
documentation, which includes a graphical explanation of what sparklines
are.

------------------------
Andy Belsey, August 2011


----------------------------------
2011-10-10
Fixed the pen width issue mentioned by Tim below. Also removed the
delegate and view-controller sub-classes to simplify the project.
Andy Belsey


----------------------------------
2011-10-0
Forked from https://github.com/abelsey/Sparklines.git by Tim Duckett
[email protected] / http://adoptioncurve.net

Added two additional properties to ASBSparkLineView:

UIColor *penColor	- 	UIColor for the sparkline
float penWidth		-	the sparkline with in pixels

Note - the draw methods don't adjust for the pen width, so 
large penWidth value are likely to cause clipping of the sparkline
as it intercepts the upper and lower boundaries. Sorry about that :(

sparklines's People

Contributors

abelsey avatar timd avatar

Stargazers

makoto abe avatar

Watchers

James Cloos avatar

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.