Recently John showed how to create half-circle gauges and now I am glad to announce that RadGauge, both WPF and Silverlight, supports half-circle and quarter-circle styles out of the box. All you need to do is provide the correct resource through a ResourceDictionary and then use the corresponding style. The styles are named after the major geographical directions -- North, East, South and West, well we only use the first letters here - N, E, S and W. So the styles you need are <Theme>RadialGaugeHalfCircle<Direction>Style and <Theme>RadialScaleHalfCircle<Direction>Style. Check the following example - semi-circular, south-directed vista-styled gauge:
And this is the XAML used:
The "telerik" prefix maps to "http://schemas.telerik.com/2008/xaml/presentation".
You can use the same approach for quarter-style gauges. The styles you need are <Theme>RadialGaugeQuarterCircle<Direction>Style and <Theme>RadialScaleQuarterCircle<Direction>Style. The directions here are North-West, North-East, South-East and South-West, so you can use NW, NE, SE and SW. North-west vista radial gauge looks like this:
For more details you can check our online examples, which you can also download from your accounts:
Have fun with RadGauge.
Subscribe to be the first to get our expert-written articles and tutorials for developers!