I am using a XamDataChart in a Silverlight sdk tab control. The chart has a Radial Area series and two Radial Line series. The itemsource and visibility for these are bound to properties in a view model. I also have a Legend on this tab for the chart.
Tab selection is controlled by the view model. After the relevant properties are defined, the view model sets the tab to the one with this chart. At this point, one of the line series is not visible. However, the legend shows all of the series, even the one that is not visible.
When I run the app, if I select another tab, then re-select the tab with the chart, the hidden series appears as it should. I've tried many workarounds found on this and other forums to no avail.
Update: I found out by chance that if I allow the radial axis to auto-scale (instead of setting a Maximum) that the mystery series displays on start up as it should. Note that the data in this series is well within the bounds of the maximum I was setting. Weird.
Hello,
I am not sure why you would be experiencing this issue. I attempted to reproduce it based on the description you provided but the behavior was as expected and all of the series were drawn.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. My test was performed using version 14.2.20142.1000 in Infragistics for Silverlight 2014 Volume 2.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if you have any questions.
Sincerely,
Valerie
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support