or
<telerik:RadGridView ItemsSource="{Binding PagedSource, ElementName=radDataPager}" SelectedItem="{Binding Path=SelectedAccount, Mode=TwoWay}" IsBusy="{Binding IsSearchActive}" IsReadOnly="True" CanUserDeleteRows="False" CanUserInsertRows="False" ShowGroupPanel="False" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding AccountNumber}" Header="Account #" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding FullName}" Header="Name" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding Email}" Header="Email" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding OrganizationName}" Header="Organization" /> </telerik:RadGridView.Columns> <telerik:RadGridView.InputBindings> <MouseBinding Gesture="LeftDoubleClick" Command="{Binding DisplayViewCommand}" /> <KeyBinding Key="Enter" Command="{Binding DisplayViewCommand}" /> </telerik:RadGridView.InputBindings> <telerik:RadGridView.RowStyle> <Style> </Style> </telerik:RadGridView.RowStyle></telerik:RadGridView>
<telerik:RadChart ItemsSource="{Binding Chart2Data}" x:Name="chart2" > <telerik:RadChart.SamplingSettings> <telerik:SamplingSettings SamplingThreshold="240" /> </telerik:RadChart.SamplingSettings> <telerik:RadChart.SeriesMappings> <telerik:SeriesMapping LegendLabel="{x:Static p:Resources.Report_MaskingTrail}" > <telerik:SeriesMapping.SeriesDefinition> <telerik:LineSeriesDefinition ShowItemLabels="False" ShowPointMarks="False" ShowItemToolTips="False" /> </telerik:SeriesMapping.SeriesDefinition> <telerik:SeriesMapping.ItemMappings> <telerik:ItemMapping DataPointMember="YValue" FieldName="Y2" /> <telerik:ItemMapping FieldName="XLabel" DataPointMember="XCategory" /> </telerik:SeriesMapping.ItemMappings> </telerik:SeriesMapping> <telerik:SeriesMapping LegendLabel="{x:Static p:Resources.Report_CoreLoudness}" > <telerik:SeriesMapping.SeriesDefinition> <telerik:LineSeriesDefinition ShowItemLabels="False" ShowPointMarks="False" ShowItemToolTips="False" /> </telerik:SeriesMapping.SeriesDefinition> <telerik:SeriesMapping.ItemMappings> <telerik:ItemMapping DataPointMember="YValue" FieldName="Y1" /> <telerik:ItemMapping FieldName="XLabel" DataPointMember="XCategory" /> </telerik:SeriesMapping.ItemMappings> </telerik:SeriesMapping> </telerik:RadChart.SeriesMappings> <telerik:RadChart.DefaultView> <telerik:ChartDefaultView > <telerik:ChartDefaultView.ChartArea> <telerik:ChartArea LegendName="legendLive" NoDataString="{x:Static p:Resources.NoMeasurementData}" EnableAnimations="False"> <telerik:ChartArea.AxisX> <telerik:AxisX AutoRange="true" LabelRotationAngle="270" /> </telerik:ChartArea.AxisX> <telerik:ChartArea.AxisY> <telerik:AxisY AutoRange="{Binding Path=Configuration.Chart2ManualConfiguration1, Converter={StaticResource inverseBooleanConverter}}" MinValue="{Binding Path=Configuration.Chart2Minimum1}" MaxValue="{Binding Path=Configuration.Chart2Maximum1}" Step="{Binding Path=Configuration.Chart2YStep1}" Title="{x:Static p:Resources.Chart2_Series_Title}"> <telerik:AxisY.AxisStyles> <telerik:AxisStyles AxisLineStyle="{StaticResource AxisLineStyle}" TickLineStyle="{StaticResource MajorTickLineStyle}" MinorTickLineStyle="{StaticResource MinorTickLineStyle}" ItemLabelStyle="{StaticResource CustomLabel}" /> </telerik:AxisY.AxisStyles> </telerik:AxisY> </telerik:ChartArea.AxisY> </telerik:ChartArea> </telerik:ChartDefaultView.ChartArea> <telerik:ChartDefaultView.ChartLegend> <telerik:ChartLegend x:Name="legendLive" Header="{x:Static p:Resources.ChartLegend}" LegendItemStyle="{StaticResource CustomLegendItem}" Visibility="Collapsed" /> </telerik:ChartDefaultView.ChartLegend> </telerik:ChartDefaultView> </telerik:RadChart.DefaultView> </telerik:RadChart> DispatcherTimer which asks for a new portion of data every second. RadGridView ItemsSource change, with a best performance?Message='-0,030812377929665;-Infinito' is not a valid value for property 'To'.
Source=WindowsBase
StackTrace:
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value)
at System.Windows.Media.Animation.PointAnimation.set_To(Nullable`1 value)
at Telerik.Windows.Controls.Map.MultiScaleImage.SetSpringsAnimationTimer()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at RadarSoft.Report.EditorWPF.App.Main() in D:\Report\RadarSoft.Report.EditorWPF\obj\x86\Release\App.g.cs:line 0
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
at System.Activator.CreateInstance(ActivationContext activationContext)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: