Hi, I recently upgraded from 2009.1 to 2009.2 of the Silverlight Data Visualization package.
Code which used to work when modifying axis properties of a xamchart now results in a null reference exception.
eg
slChart.Axes[0].AutoRange = false;
slChart.Axes[0].Maximum = 100;
slChart.Axes[0].Minimum = data.Ymin;
slChart.Axes[0].Unit = 10;
the exception occurs on the first set.
The axis object definitely exists and the properties even have values.
Hi,
I was unable to reproduce your issue with the information provided above. My suggestion is to create a new project with the 9.2 assemblies and copy your code over. If you're still recieving the same exception, can you please reply back with a sample project reproducing the issue.
Also, how did you go about upgrading your project from 9.1 to 9.2?
HI Marisa,
ok I will try to replicate in a smaller clean project.
I upgraded by running the 9.2 installer and deleting the old references in my sl project and adding the new ones in.
I then adjusted my xaml namespaces to 9.2. The xap file correctly contains the 9.2 files..
Thanks,