Hi, I am currently developing an application which adds in lots (hundreds-thousands) of series entries for a number of timelines (up to 20 or so at a time).
Whilst I am happy with the performance I am now getting, I would like to raise a couple of questions.
1. Is there any way to set the minimum and maximum properties of a timeline.datetimeaxis in one 'hit'.
Consider this scenario:
My timeline is focused on today, (minimum=datetime.today maximum=datetime.today.adddays(1)
I then choose to focus on a date in the past (1/1/2009 for example)
If I change the minimum value first, the render takes an age because it seems to internally render from 1/1/2009 - today, before I change the maximum value, which forces it to render a second time.
Is there any way this can be done 'all in one go'?
2. When adding series entries to a timeline I found it to be quicker if I set the minimum and maximum properites of the datetimeaxis to a dummy date (datetime.max for example) whilst adding the entries, and then rebinding the minimum and maximum properties to my viewmodel afterward. This forced the timeline to render my new entries all at once. It improved my performance when adding entries massively.
I hope these make sense. I am pretty new to Silverlight development, so apologies if I am missing something with these 2 issues.
I hope this feedback has been helpful.
Sorry, forgot to mention that my workaround for the first question was to set the maximum before the minimum if selecting to focus on a previous date... and vice versa for a following date.
The Timeline has some performance issues when working with a lot of data. We are now working on performance optimization for the Timeline, which I hope will be ready for the next service release, which is planned for the end of this month.