Skip to content

Commit

Permalink
- updated README with screenshot
Browse files Browse the repository at this point in the history
- added LICENSE
  • Loading branch information
honcheng committed Aug 11, 2012
1 parent 6c0dec5 commit daef8fd
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 14 deletions.
27 changes: 27 additions & 0 deletions LICENSE
@@ -0,0 +1,27 @@
Copyright (c) 2012 Muh Hon Cheng

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject
to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@author Muh Hon Cheng <honcheng@gmail.com>
@copyright 2012 Muh Hon Cheng
14 changes: 0 additions & 14 deletions README

This file was deleted.

34 changes: 34 additions & 0 deletions README.md
@@ -0,0 +1,34 @@

iOSPlot
=======

<img width=500 src="http://www.honcheng.com/imagehost/i/img?id=aghob25jaGVuZ3IOCxIFSW1hZ2UY8sCGAgw"/>
<img width=500 src="http://www.honcheng.com/imagehost/i/img?id=aghob25jaGVuZ3IOCxIFSW1hZ2UY6raGAgw"/>


Draw pie charts and line charts in iOS apps

Todo for line chat
------------------
Use gesture/tap to show the value label (or mild statistics) for a data point.
Further break out colors for customization of background, x/y labels, and shadows.
Allow legend labels to appear on either the right or left side of the chart (or not at all).
Use the rendered string width of the legend labels to determine right/left side margin.
If a legend string is significantly long (200% percentage of default margin width?), truncate or abbreviate it to X characters.

Todo for pie chat
-----------------
Use gesture/tap to show the value label
Display legend


Minimum Requirements
--------------------
* ARC - this project uses ARC. If you are not using ARC in your project, add '-fobjc-arc' as a compiler flag for StyledPageControl.h and StyledPageControl.m
* XCode 4.4 and newer (auto-synthesis required)

Contact
-------

[twitter.com/honcheng](http://twitter.com/honcheng)
[honcheng.com](http://honcheng.com)

0 comments on commit daef8fd

Please sign in to comment.