Hello, I have been using Telerik in a WPF desktop application. We have a control that displays a large amount of data points (ranging from around a thousand points to over a million points), and a custom selector that lets you designate a section of the data to zoom in on.
We want to replace the custom selector we are currently using with the selector from the TimeBar control. We use points instead of dates, but I got around the issue by representing each point as a 'day'. The problem is, when I add a large amount of data to the RadLinearSparkline (26,000 points of random numbers), the selector control becomes sluggish, for example the resize selector has a 3-4 second delay if I move one of the bounds.
So I technically have 3 questions:
Does the TimeBar support large amounts of data?
Is there a way to change the range data from date-times to doubles/ints (or another control with the same selector)?
Is there a way I can just use the selector without the time bar itself?
Here is the relevant code in my example project
----------------------------------------------------------------------------------------------------------------------------------------------------------
Random r = new Random();
List<int> LinearData = new List<int>();
for (DateTime currentDate = DateTime.Today; currentDate < DateTime.Today.AddDays(1000000);
currentDate = currentDate.AddDays(1))
{
LinearData.Add(r.Next(0, 100000));
}
this.DataContext = LinearData;
-----------------------------------------------------------------------------------------------------------------------------------------------------------
<telerik:RadTimeBar PeriodStart="1-Jan-0001 12:00:00 AM" PeriodEnd="31-Dec-2740 11:59:59 PM"
VisiblePeriodStart="11-Nov-2010 12:00:00 AM" VisiblePeriodEnd="14-March-2011 11:59:59 PM"
SelectionStart="1-Jan-2011 12:00:00 AM" SelectionEnd="28-Feb-2011 11:59:59 PM">
<telerik:RadTimeBar.Intervals>
</telerik:RadTimeBar.Intervals>
<telerik:RadLinearSparkline ItemsSource="{Binding}"/>
</telerik:RadTimeBar>
If you need any additional information about the project, let me know