Hello!
We provide an option to our users to show/hide certain series. This is done by setting visibility of particular series to Visible/Collapsed.
Their ItemsSource is set to ObservableCollection, and sometimes this collection changes. And the problem happens when doing this:
1) User hides one of the series (sets Visibility to Collapsed)
2) Series changes
3) User sets Visibility to Visible
After this, series isn't visible! This problem happens only with the series that have been hidden, others are changing fine.
In fact, data is bound correctly, but the chart doesn't draw this series for some reason. This is confirmed by the fact that forcing the chart to refresh (e.g. zooming) instantly shows that missing series.
So, why is this happening? Is there any way to force XamDataChart to refresh explicitly?
Currently, I use a workaround: I set visibility to Collapsed, give time to draw a series using Windows.Forms.Application.DoEvents() (without this it wouldn't work), change series, and then set Visibility to Collapsed, but it isn't acceptable because the missing series "blinks" for a moment during this.
Best regards, Vasily.
Unfortunately, I didn't receive any email concerning this problem. I do receive new post's email notifications though.
Hi,
I have responded to you thru the case to verify that you are now receiving emails. Please contact me thru the case when you receive that response.
Yes, I didn't receive a response. You may have sent it to me before I changed email addres in the profile. Please send it to my profile's current email address.
Thanks in advance!
Yes, I did create a case for you based on your user profile and my case responses would be sent to your email address. I have already sent you information about the development issue that I logged. Please contact me thru this forum thread if you did not receive the case response that I sent you.
As to your other question, that is part of the process of raising a development issue. The next step will be for development to review and confirm my findings or to offer a fix, or other resolution.
Thank you for your reply!
I changed my email in the profile in case contacting directly means by email (previous email's owner is on vacation now).
But again, isn't there a better workaround? For example, in xamChart there is Refresh() method, is there a way to force refresh for a xamDataChart?It will solve the problem until you change this behaviour in the future versions.