Hi,
I got a serious problem when I using TimeBar with multiple RadLinearSparklines.
data points = 3 x 24 x 60 = 4320.
the movement is too slow.
What's the best way to use TimeBar with multiple lines?
<
Window
x:Class
=
"WpfApplication4.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:example
=
"clr-namespace:WpfApplication4"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"1024"
>
<
Window.DataContext
>
<
example:ExampleViewModel
StartDate
=
"2012-01-01 00:00:00"
EndDate
=
"2012-01-04 00:00:00"
/>
</
Window.DataContext
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
Height
=
"AUto"
/>
</
Grid.RowDefinitions
>
<
telerik:RadTimeBar
Margin
=
"6"
VerticalAlignment
=
"Top"
telerik:StyleManager.Theme
=
"Metro"
PeriodStart
=
"2012-01-01 00:00:00"
PeriodEnd
=
"2012-01-04 00:00:00"
VisiblePeriodStart
=
"2012-01-01 00:00:00"
VisiblePeriodEnd
=
"2012-01-01 06:00:00"
SelectionStart
=
"2012-01-01 02:00:00"
SelectionEnd
=
"2012-01-01 03:00:00"
MinSelectionRange
=
"00:01:00"
IsSnapToIntervalEnabled
=
"False"
FontSize
=
"9"
SelectionTitleFormatString
=
"{}{0:yyyy'-'MM'-'dd HH':'mm':'ss} - {1:yyyy'-'MM'-'dd HH':'mm':'ss}"
>
<
telerik:RadTimeBar.Intervals
>
<
telerik:DayInterval
/>
<
telerik:HourInterval
IntervalSpans
=
"1,6,12,20"
/>
<
telerik:MinuteInterval
IntervalSpans
=
"1,10,15,30"
/>
</
telerik:RadTimeBar.Intervals
>
<
StackPanel
>
<
telerik:RadLinearSparkline
ItemsSource
=
"{Binding LinearData}"
XValuePath
=
"Date"
YValuePath
=
"Value"
Height
=
"40"
Margin
=
"0 8"
LineStroke
=
"Red"
/>
<
Border
Height
=
"1"
Background
=
"LightGray"
/>
<
telerik:RadLinearSparkline
ItemsSource
=
"{Binding LinearData2}"
XValuePath
=
"Date"
YValuePath
=
"Value"
Height
=
"40"
Margin
=
"0 8"
LineStroke
=
"Blue"
/>
<
Border
Height
=
"1"
Background
=
"LightGray"
/>
<
telerik:RadLinearSparkline
ItemsSource
=
"{Binding LinearData}"
XValuePath
=
"Date"
YValuePath
=
"Value"
Height
=
"40"
Margin
=
"0 8"
LineStroke
=
"Green"
/>
<
Border
Height
=
"1"
Background
=
"LightGray"
/>
<
telerik:RadLinearSparkline
ItemsSource
=
"{Binding LinearData2}"
XValuePath
=
"Date"
YValuePath
=
"Value"
Height
=
"40"
Margin
=
"0 8"
LineStroke
=
"Cyan"
/>
<
Border
Height
=
"1"
Background
=
"LightGray"
/>
<
telerik:RadLinearSparkline
ItemsSource
=
"{Binding LinearData}"
XValuePath
=
"Date"
YValuePath
=
"Value"
Height
=
"40"
Margin
=
"0 8"
LineStroke
=
"Brown"
/>
<
Border
Height
=
"1"
Background
=
"LightGray"
/>
<
telerik:RadLinearSparkline
ItemsSource
=
"{Binding LinearData2}"
XValuePath
=
"Date"
YValuePath
=
"Value"
Height
=
"40"
Margin
=
"0 8"
LineStroke
=
"Magenta"
/>
<
Border
Height
=
"1"
Background
=
"LightGray"
/>
</
StackPanel
>
</
telerik:RadTimeBar
>
</
Grid
>
</
Window
>