combining pie chart with text label

Chris's Avatar

Chris

06 Sep, 2014 07:31 PM

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!

  1. 1 Posted by Chris on 06 Sep, 2014 07:45 PM

    Chris's Avatar

    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. 2 Posted by Chris on 07 Sep, 2014 04:28 PM

    Chris's Avatar

    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!)

  3. Support Staff 3 Posted by lucasnijs on 08 Sep, 2014 08:59 AM

    lucasnijs's Avatar

    You need to use the "running totals" node. Here's an example.

  4. 4 Posted by Chris on 08 Sep, 2014 01:36 PM

    Chris's Avatar

    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!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screen_Shot_2014-09-06_at_3.31.06_PM.png 53.3 KB
  • Screen_Shot_2014-09-06_at_3.31.19_PM.png 67.3 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

22 Feb, 2024 05:51 AM
22 Feb, 2024 01:11 AM
21 Feb, 2024 05:27 PM
21 Feb, 2024 04:49 PM
16 Feb, 2024 05:24 PM

 

06 Feb, 2024 04:45 AM
19 Jan, 2024 09:50 AM
13 Jan, 2024 03:47 AM
05 Jan, 2024 05:10 PM
05 Jan, 2024 04:54 PM
04 Jan, 2024 11:49 PM