Silverlight 4 Chart Bar Series Fullscreen with INotifyPropertyChanged class using WCF Service

by Gary Gagnon 27. December 2011 17:55

I recently setup a project with a Silverlight Project, a Web Project, and a WCF Service. I built the service to get data from a remote web service and return it to a Silverlight front-end.

The Silverlight front-end included a Chart from the Silverlight Toolkit. The front-end is meant to be run in fullscreen mode in Silverlight but I found a very specific issue concerning updating the chart while in fullscreen mode at a specific time the application is put into fullscreen mode.

The chart gets updated once with the list of bar names (IndependentValue) using the WCF Service, then the bar values (DependentValue) get updated periodically using the WCF Service.

When you start the Silverlight application and immediatly go into fullscreen mode the bar names and the bar values get updated and animate the way I meant for them.

When you start the Silverlight application, wait for the bar names to show up, then go into fullscreen the chart will not update and animate the bars. Then when you go out of fullscreen the bars show that changes happened while you were in fullscreen.

I do not know why this is happening.

I've included a sample of my project below and you can view it for yourself.

Please contact me by clicking the link above if you have any idea what's going on.

BarSeriesFullscreenTest.zip (2.42 mb)

Tags: , , , , ,

Silverlight