I think this would be rather easy to do. Take the background image without the line and overlay a line. Then move the line based on the value. I have not done it, but done something a little more advanced and that is an analog clock. This is overkill, but you can see some of the basic techniques.
However, the easiest way would be to make like 10 or 20 images (0%, 10%,....100% or by 5%). Then you can display the correct images in an image control based on the value. This would be easier than coding the line.