I'm trying to adapt this example (http://community.infragistics.com/forums/p/50183/264009.aspx#264009) to the XamRadialGauge control. I've done this for the XamLinearGauge control without issue. I almost have it working for the radial gauge, however the needle refuses to display.
I've attached a demo project that illustrates a simplified version of what I'm trying to accomplish. The main view creates two XamRadialGauge controls, both initialized with identical gauge elements. The first is initialized through a dependency property, the second through the view constructor. All of the elements in the unbound gauge appear; all of the elements *except the needle* appear in the bound gauge.
Can someone shed some light on this one?
Obliged,
jim
An update on this: it has nothing to do with dependency properties. If I try to add a series to a gauge *after the user control is loaded* the needle is never displayed. All other gauge elements appear as expected. Note I can add as many gauge scales *before* the loaded event as I want, and they all display their needles appropriately.
If I add a scale to the gauge after the containing control is loaded, the needle is listed in the scale needles collection, and I've managed to munge various properties in the debugger and gotten the needle to display, but it appears in the wrong location. I'll verify and reproduce the behavior with a new example and supply a screenshot.
Anyone at Infragistics have some insight on this? Seems like I should expect new be able to add series to an existing gauge...
Hello Jim,
I am unsure what the issue you are experiencing is. I ran the sample you attached and the needle displayed on both gauges:
I also created a small test sample to with three button to update the gauge and add scales and needles after the control has been loaded. In the sample the scales / needles are added as expected. Please provide me with more information and steps to reproduce so that I can understand your issue.
Sincerely,
Valerie
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hi Valerie;
I get the same behavior with your demo. I can't upload a screencast of the result with this reply, so please see http://www.beefycode.com/addseries.mp4 for a quick video of what happens when I run your code.
I'm on win7 ultimate, themes enabled, building in VS 2010 ultimate with Resharper 6.0, PostSharp, NDepend, and StudioShell extensions installed.
What information can I give you at this point to help track down the issue?
Thanks,
What version (build number) of NetAdvantage for WPF are you using?
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
Valerie;
Confirmed that the service release addresses the issue. Thanks for the help.
Thanks Valerie;
I'm downloading the SRs now and will verify, thanks!
Jim
I tested in Build 11.1.20111.2053 and this appears to be an issue particular to that build. Please download the latest service release to resolve this issue.
11.1.20111.2053