cancel
Showing results for 
Search instead for 
Did you mean: 

3D dial guage

Former Member
0 Kudos

hi everyone,

i am trying to create a 3D dial guage with a hard coded value of 63. now i want my needle to point at 63 on a scale of 0 to 100.

steps that i did.

1) selected a SVG obect as 3d dial guage.

2)created object properties

label as string

MaxRange as number 100.0

MinRange as number 0.0

performance as number 63.0

3)created 2 calculated properties as

a) performpercentage ,type as number and expression as format( performance , 0.0)

b) rotation type as number and expression as “rotate(“ & * (20+320*(performance-MinRange)/(MaxRange-MinRange)) & *150 150)”

4) on the animation link editor have linked the performance to svg elemnt value label -text

and rotation to needle -transform..

question is my needle is not pointing at 63...what should i do plz help me.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192939
Active Participant
0 Kudos

Lokesh,

Its a bit confusing for me... may be you can try the following ways..

You might be facing the problem with 3 b) rotation type...

In the rotation type instead of making the equation big and complicated, split into parts say for ex:

In the calculated properties instead of rotation type create one with

degree = format((20+(performance/100)*320) , 0.00)

And in the animation link editor you can assign

"rotate("&degree & " 150 150)" to the needle

Hope this solves your problem.

Good luck,

Ajay.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ajay,

your solutioin did work for me....Thanks a lot for your help.