This project is read-only.

Semi Circular Gauge

Jul 15, 2014 at 11:17 AM
Edited Jul 15, 2014 at 11:19 AM
Great Gauge BTW!!
I am trying to convert the Gauge into a semi circular Gauge, but am confused how the code is working. I have tried messing with the height in mainwindow.xaml, which sort of sets the scene, but all the scaling is the out, I can bring the ticks back into line using
 <Grid x:Name="DynamicLayout"  VerticalAlignment="Bottom"/>
but then when I try messing with the LabelMargin, it moves the lines too!

I'm, not sure how the positioning is working here in the DockPanel. Why is it a Dockpanel? what effect does this have?

Any help appreciated!