The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

combining pie chart with text label

4 replies Last reply

  1. 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!

    Copy link
  2. 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!

    Copy link
  3. 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!)
    Copy link
  4. 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!

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply