<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by TwoSim | ♚ on Medium]]></title>
        <description><![CDATA[Stories by TwoSim | ♚ on Medium]]></description>
        <link>https://medium.com/@TwoSim?source=rss-61e4c3f0504c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*mziptTeZWxWAECkq.jpeg</url>
            <title>Stories by TwoSim | ♚ on Medium</title>
            <link>https://medium.com/@TwoSim?source=rss-61e4c3f0504c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:09:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@TwoSim/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Creating a Pie Chart in Sketch the right ( another ) way]]></title>
            <link>https://medium.com/@TwoSim/creating-a-pie-chart-in-sketch-the-right-another-way-a9fe0ffd2563?source=rss-61e4c3f0504c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9fe0ffd2563</guid>
            <category><![CDATA[sketch]]></category>
            <category><![CDATA[tricks]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[pie]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[TwoSim | ♚]]></dc:creator>
            <pubDate>Tue, 05 Sep 2017 06:48:00 GMT</pubDate>
            <atom:updated>2017-09-05T06:57:52.455Z</atom:updated>
            <content:encoded><![CDATA[<h3>The article below is very good, and I have another way of creating a pie chart in sketch.</h3><p><a href="https://medium.com/sketch-tricks/how-to-create-a-pie-chart-in-sketch-fd1b2ded5034">Creating a Pie Chart in Sketch the right way</a></p><p><a href="https://github.com/abynim/sketchy-pies">The plugin</a> version is the best i think, but this is another solution with no need of plugins, if you want to try. Here we go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*NdsFquOxywn9Wi2rqjb0mA.jpeg" /><figcaption>image from:<a href="http://zh.wikihow.com/%E8%AE%A1%E7%AE%97%E5%9C%86%E7%9A%84%E5%91%A8%E9%95%BF">http://zh.wikihow.com/计算圆的周长</a></figcaption></figure><p>we will use math in this article.</p><blockquote><strong><em>C = 2πr</em></strong> or <strong><em>C = πd</em></strong></blockquote><p>r is the radius and d is the diameter.</p><p>The trick is I will use border instead of fills, because its better control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bVbAAaak4zdFJwQCii_Anw.png" /></figure><p>I got a pie chart form Mac app Numbers’s example, and the number is 13%, 21%, 16%, 30%, 20%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEOfqtp1APlokSY-umbkAg.png" /></figure><p>Create a Oval size is 400x400, Fills none, Borders Positions:inside, and Thickness is 400/2 = 200.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qG8PA5pBYHi4jb6vfXn2Kw.png" /></figure><p>remember what I write before? C = πd, input the gap 400*3.14 = 1256,and the dash will default input a number 1 inside.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LDHLjzF9ajitin1zup_m5A.png" /></figure><p>we will change the dash number to C*13% = 3.14 * 400 * 0.13 = 1256 * 0.13, that’s what we got.</p><p><strong>YES, YOU CAN USE MATH IN THE NUMBER PLACES OF SKETCH, WHAT A GREAT.</strong></p><p>we will create another one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GWWAPlDpmyMeZvgmD06vYg.png" /></figure><p>Duplicate (command + d ) the Oval layer.and move below the first one. this time the dash will be 1256 * ( 13% + 21%).</p><p>and the other parts, I think you will know how to do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hfk4NQc8CC9xI11RMF_v0Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9fe0ffd2563" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>