hi ppl,
I've got a problem. I am trying to show my output in a speedometer background image. I've a pointer(foregro und image) which i need to rotate on the speedometer depending on the value i get( say 20 ). The speedometer is of 180 degrees. I need a code snippet to do this.
In general the calculation gives result from 5 - 40. The range on speedometer I'm looking is 0 - 50.
thanks in advance.
i'm doing this in javascript on windows platform.
I've got a problem. I am trying to show my output in a speedometer background image. I've a pointer(foregro und image) which i need to rotate on the speedometer depending on the value i get( say 20 ). The speedometer is of 180 degrees. I need a code snippet to do this.
In general the calculation gives result from 5 - 40. The range on speedometer I'm looking is 0 - 50.
thanks in advance.
i'm doing this in javascript on windows platform.
Comment