I'm playing around with radGauge and have encountered the following ArguementNullException:
System.ArgumentNullException occurred
Message=Value cannot be null.
Parameter name: reference
Source=PresentationCore
ParamName=reference
StackTrace:
at System.Windows.Media.VisualTreeHelper.HitTest(Visual reference, Point point)
at Telerik.Windows.Controls.Gauges.GaugeHelper.CheckPointOver(FrameworkElement element, Point point) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP2\Sources\Development\Controls\Gauge\GaugeHelper.cs:line 62
InnerException:
Here's the xaml code used to produce it. I'm trying to have a gauge with no numerical legends or tick marks with a 360 degree sweep, going from -180 degrees to 180 degrees, with 0 at the top.
Any insight you can provide would be most appreciated!
Thanks!
Bill G
System.ArgumentNullException occurred
Message=Value cannot be null.
Parameter name: reference
Source=PresentationCore
ParamName=reference
StackTrace:
at System.Windows.Media.VisualTreeHelper.HitTest(Visual reference, Point point)
at Telerik.Windows.Controls.Gauges.GaugeHelper.CheckPointOver(FrameworkElement element, Point point) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2_SP2\Sources\Development\Controls\Gauge\GaugeHelper.cs:line 62
InnerException:
Here's the xaml code used to produce it. I'm trying to have a gauge with no numerical legends or tick marks with a 360 degree sweep, going from -180 degrees to 180 degrees, with 0 at the top.
<
telerik:RadGauge
Name
=
"myGauge"
Style
=
"{StaticResource gaugeRadGaugeStyle}"
>
<
telerik:RadialGauge
>
<
telerik:RadialScale
Name
=
"radialScale"
Min
=
"-180"
Max
=
"180"
SweepAngle
=
"360"
StartAngle
=
"90"
>
<
telerik:RadialScale.Label
>
<
telerik:LabelProperties
Foreground
=
"Transparent"
/>
</
telerik:RadialScale.Label
>
<
telerik:RadialScale.Ticks
>
<
telerik:TickProperties
Foreground
=
"Transparent"
/>
<!--<telerik:MinorTickProperties Foreground="Transparent" />-->
</
telerik:RadialScale.Ticks
>
<
telerik:RangeList
>
<
telerik:RadialRange
Name
=
"SynchroscopeRange"
Style
=
"{StaticResource gaugeRadialRangeStyle}"
/>
</
telerik:RangeList
>
<
telerik:IndicatorList
>
<
telerik:Needle
Name
=
"needle"
IsAnimated
=
"true"
Value
=
"{Binding Value}"
/>
</
telerik:IndicatorList
>
</
telerik:RadialScale
>
</
telerik:RadialGauge
>
</
telerik:RadGauge
>
Any insight you can provide would be most appreciated!
Thanks!
Bill G