combining pie chart with text label
I'm trying to create pie chart that takes values from two columns in a CSV (Name, Percentage), and have the pie generated and the label rotated the degree length to match up with the pie wedge. I have the pie working, and the text arrayed around an ellipse, but can't figure out how to take the values of percentage and shift them along. See attached screenshot. Any help appreciated!
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by Chris on 06 Sep, 2014 07:45 PM
O.K., So I kind of have it figured out. I need to cumulatively add the angles together so the sums add up to 360:
i.e.
1. Angle A
2. Angle A + Angle B
3. (Angle A + Angle B) + Angle C.
Now to figure out how!
2 Posted by Chris on 07 Sep, 2014 04:28 PM
Getting close. A little bit of math, point on path instead of resample, and all good. Now I just need to do two things:
1. Make the color of the text and the color of the wedge the same
2. Figure out a way to align the tag text at the center of the wedge (not essential, but why not!)
Support Staff 3 Posted by lucasnijs on 08 Sep, 2014 08:59 AM
You need to use the "running totals" node. Here's an example.
4 Posted by Chris on 08 Sep, 2014 01:36 PM
Thanks Lucas. I managed to figure it out yesterday. I also posted a solution here, but for some reason it didn't get piked up (or is awaiting moderation). Much appreciated!