YOChartImageKit icon indicating copy to clipboard operation
YOChartImageKit copied to clipboard

Spinning Donut Chart

Open stuffmc opened this issue 9 years ago • 2 comments

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.

stuffmc avatar Feb 02 '16 12:02 stuffmc

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.

stuffmc avatar Feb 08 '16 10:02 stuffmc

... and an option to use kCGLineCapRound in YODonutChartImage, which is now default in YOSpinningDonutChartImage to reflect more the Apple Activity App.

stuffmc avatar Feb 08 '16 12:02 stuffmc