YOChartImageKit
YOChartImageKit copied to clipboard
Spinning Donut Chart
By using the new code (see the last commit) the user can have a Spinning Chart. I still have some further ideas (e.g. gradient like on my code) but this is a good beginning.
Also there seems to be a bug (or Apple wants it like that) because the duration
argument isn't used on watchOS, whereas it is on iOS. I'll write a #rdar about this.
So I added the gradient — works like a charm. Also I've filed http://www.openradar.me/24458757 — seems to be a bug from Apple.
... and an option to use kCGLineCapRound in YODonutChartImage
, which is now default in YOSpinningDonutChartImage
to reflect more the Apple Activity App.