This is an Objective-C UIView subclass that generates a sparkline.
This is provided as-is but if you improve this, please let me have a copy.
This sample output shows some examples of the output.
(The yellow and green sparklines are the closing stock price of Apple (2/22-3/22).
How to use:
- Set up an NSArray or NSMutableArray of values to plot.
- Instantiate the SparklineClass with a drawing frame.
- Set the background color with: setBackgroundColorR:g:b:a:
- Set the foreground (plotting/stroke) color with: setForegroundColorR:g:b:a:
- Plot the array with: etSparklineWithPoints:andBordered:
- Use the instance view anyway you want.
See the example project for more info.

