Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Labels on a pie chart

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
Carlos

Labels on a pie chart

Post by Carlos » 16 Mar 2015, 12:21

Hi there!
I'm trying really hard to put some labels on a pie chart, but I can't find the way to make it so that the label is always facing the camera and it follows the sector.
I don't know if I'm explaining myself, so maybe the attached picture will explain it better.
I've tried to use the billboard node, but when I make it so that the text is always facing the camera, it doesn't follow the rotation on Z of the chart.
Any help will be appreciated, THANK YOU! :)
Attachments
a.jpg

Christian Krix Schmidt
Posts: 290
Joined: 18 Jan 2012, 11:36
Location: Dubai, United Arab Emirates
Contact:

Re: Labels on a pie chart

Post by Christian Krix Schmidt » 16 Mar 2015, 16:23

Hi Carlos!

Attached is a scene with an example on how to do that. The example chart has three slices. And the text is always in the middle of each slice. Hope that helps.

Cheers
Chris
Attachments
DynamicPieChartExample.vzs
Dynamic Pie Chart Example with 3 values
(12.93 KiB) Downloaded 218 times

Carlos

Re: Labels on a pie chart

Post by Carlos » 20 Mar 2015, 17:30

I don't know what have you done there, but it's working :)
Thank you so much, I'll look into it to understand it.

Post Reply