Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

3D Dial Guage

Hi Forum,

Can anyone tell me how to change the limit of the arcs in the 3d Dial Gauge. I am able to change the color of the arc by changing "stroke" property. But i couldn't find any property to change the limit of the arcs.

Also, i am able to put a value in the value box. But the needle is not moving according to the value that is assigned to value box.

Thanks a lot,

Regards

Mike.

Former Member
Former Member replied

Hi Michael,

have you done the advanced training course yet? Doing dynamic graphics is well explained in one of the labs. If you search for "Dynamic Graphics" in the index of the help files, there's a good walk through there too.

The rotation of the needle is calculated using a animation link. The link you'd use is:

SVG Element: Needle\Transform

And the Expression would be something along the lines of:

"rotate(" & (20 + 320 * (Value - MinRange) / (MaxRange - MinRange)) & " 150 150)"

Where Value, MinRange, etc... are Object Properties which you would've already defined and rotate is the functon on the angle calculated. If you wanted to, you could also use the "Calculated Properties" to do the calculation instead of doing it directly in the animation link.

I'm not too sure I understand what you're trying to do with the limit. Is it the text value you're wanting to change, or the angle at which the limit sits?

Regards,

Lawrence

Edited by: Lawrence Prinsloo on Jan 8, 2008 1:53 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question