How to Create a Linear Gauge
-
Monday, November 05, 2012 2:36 AM
Hello everyone,
I need to create a linear gauge as shown in the image below.
The yellow zones and the scale values display should be set as properties.
Any ideas on how to be able to do this? Please help..
All Replies
-
Monday, November 05, 2012 11:22 AM
Hello Mickey.
One possible solution would be to edit a slider template. Another would be to create a custom control.
I played with it a bit and came up with a sample which I uploaded to my SkyDrive. http://sdrv.ms/R8jlu6 I named it ScaleMeterWPF. Perhaps it will give you some ideas.
~Christine
- Marked As Answer by mickey1014 Tuesday, November 06, 2012 12:54 AM
-
Tuesday, November 06, 2012 12:55 AMYou're amazing, Christine~! Thank you so much for your help~! ;)
-
Wednesday, November 07, 2012 8:24 PM
:) Hardly amazing but thank you and I am glad it worked for you.
I got to fiddlin' with it while watching the election last night and changed a good bit to make it more useful and customizable.
I've updated the file on my SkyDrive... http://sdrv.ms/R8jlu6
~Christine
-
Thursday, November 08, 2012 2:11 AMI've just downloaded the updated source code.. You've been so helpful, Christine.. Many thanks to you~!

