Current filter:
                                You should refresh the page.
                                  • I have a ChartControl which is bound to an item source that gets updated a lot. Sometimes when the data is updated I get this exception.

                                    Any ideas what the issue could be?

                                    An unexpected error occurred in Network Traffic Monitoring.
                                    When you click [OK], Network Traffic Monitoring will shutdown.  Try running it again and if you continue having this issue, contact support.

                                    The full error message is below:

                                    ==========================
                                    ===  FULL ERROR INFORMATION  ===
                                    ==========================
                                    Error Source: mscorlib

                                    Message: Value to add was out of range.
                                    Parameter name: value

                                    Full Stack:    at System.DateTime.Add(Double value, Int32 scale)
                                       at DevExpress.Charts.Native.DateTimeUtilsExt.Add(DateTime dateTime, DateTimeMeasureUnitNative measureUnit, Double measureUnitMultiplier, Double range, DayOfWeek firstDayOfWeek)
                                       at DevExpress.Charts.Native.DateTimeUtilsExt.ReverseHolidays(Double value, IWorkdaysOptions options, DateTimeMeasureUnitNative measureUnit, Double measureUnitMultiplier)
                                       at DevExpress.Charts.Native.AxisDateTimeMap.InternalToNative(Double value, DateTimeMeasureUnitNative measureUnit, Double measureUnitMultiplier)
                                       at DevExpress.Charts.Native.AxisDateTimeMap.InternalToRefined(Double value, DateTimeMeasureUnitNative measureUnit, Int32 measureUnitMultiplier)
                                       at DevExpress.Charts.Native.AxisDateTimeMap.InternalToRefined(Double value)
                                       at DevExpress.Charts.Native.AxisDateTimeMap.InternalToRefinedExact(Double value)
                                       at DevExpress.Xpf.Charts.RangeControlClient.ChartBoundRangeControlClient.get_VisualRangeMinValue()
                                       at DevExpress.Xpf.Charts.RangeControlClient.Native.SelectionBehaviorBase.AssignSelectionFromClient()
                                       at DevExpress.Xpf.Charts.RangeControlClient.Native.MouseUpSelectionBehavior..ctor(ChartBoundRangeControlClient client, UIElement element)
                                       at DevExpress.Xpf.Charts.RangeControlClient.ChartBoundRangeControlClient.OnVisualParentChanged(DependencyObject oldParent)
                                       at System.Windows.Media.Visual.FireOnVisualParentChanged(DependencyObject oldParent)
                                       at System.Windows.Media.Visual.AddVisualChild(Visual child)
                                       at System.Windows.FrameworkElement.set_TemplateChild(UIElement value)
                                       at System.Windows.Controls.ContentPresenter.UseContentTemplate.BuildVisualTree(FrameworkElement container)
                                       at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
                                       at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
                                       at System.Windows.FrameworkElement.ApplyTemplate()
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at DevExpress.Xpf.Editors.RangeControl.RangeControl.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at DevExpress.Xpf.Docking.VisualElements.psvDecorator.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at DevExpress.Xpf.Docking.VisualElements.GroupPanel.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at DevExpress.Xpf.Docking.VisualElements.OverlappingDockPanel.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                       at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                       at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                       at System.Windows.UIElement.Measure(Size availableSize)
                                       at System.Windows.ContextLayoutManager.UpdateLayout()
                                       at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
                                       at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
                                       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
                                       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
                                       at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
                                       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
                                       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

                                • Alex (DevExpress Support) 11.06.2019

                                  Hi,

                                  We have fixed a similar error at the core API level (see An unhandled exception occurs during zooming and scrolling operations when the chart's data is refreshed at runtime). Please download and install the latest version of DevExpress components to your machine. If this does not help, provide your sample project or modify the example from the The added or subtracted value results in an un-representable DateTime exception is raised in certain cases ticket to illustrate the issue. We will check for a suitable solution.

                                • Customer72514 11.08.2019

                                  So I downloaded the latest Devexpress 19.2 version.

                                  I still get the exception, but it has a different stack trace this time. So I believe the problem was fixed in one spot of your code, but there must be another where the same issue is occurring.

                                  Value to add was out of range.

                                     at System.DateTime.Add(Double value, Int32 scale)
                                     at DevExpress.Charts.Native.AxisDateTimeMap.RefinedToNative(Double value)
                                     at DevExpress.Charts.Native.RangeUpdateStrategy.RefinedToNative(Double min, Double max)
                                     at DevExpress.Charts.Native.RangeUpdateStrategy.CorrectProportionalVisualRange(IMinMaxValues wholeRangeNewState, IMinMaxValues visualRangeNewState, IMinMaxValues refinedValues)
                                     at DevExpress.Charts.Native.RangeUpdateStrategy.SynchronizeVisualRange(RangeSnapshot wholeRangeNewState, RangeSnapshot visualRangeNewState, VisualRangeUpdateMode updateMode)
                                     at DevExpress.Charts.Native.RangeUpdateStrategy.UpdateDataRange(VisualRangeUpdateMode updateMode)
                                     at DevExpress.Charts.Native.RangeUpdateStrategy.UpdateRange(VisualRangeUpdateMode updateMode)
                                     at DevExpress.Charts.Native.RangeUpdateStrategy.UpdateRange(IAxisData axis, MinMaxValues minMaxInternal, MinMaxValues minMaxRefined, ICollection`1 refinedSeries, VisualRangeUpdateMode updateMode, Boolean scaleMapWasChanged)
                                     at DevExpress.Charts.Native.RangeUpdateEnqueuer.RangeNonDependentUpdater.UpdateRange(IAxisData axis, MinMaxValues minMaxInternalValues)
                                     at DevExpress.Charts.Native.RangeUpdateEnqueuer.RangeNonDependentUpdater.UpdateGroup(AxesGroup group)
                                     at DevExpress.Charts.Native.RangeUpdateEnqueuer.UpdateGroups(Dictionary`2 groups, Boolean isAutoGroups)
                                     at DevExpress.Charts.Native.RangeUpdateEnqueuer.Update(RefinedSeriesGroupController groupController, VisualRangeUpdateMode visualRangeUpdateMode, IXYDiagram diagram, IList`1 activeSeries, List`1 axesForReset)
                                     at DevExpress.Charts.Native.UpdateRangeExecutor.UpdateRange(VisualRangeUpdateMode updateMode, List`1 axesForReset)
                                     at DevExpress.Charts.Native.UpdateRangeExecutor.Execute(IExecutorContext context)
                                     at DevExpress.Charts.Native.SeriesController.UpdatesExecutor.Execute(ChartUpdateAggregator updateAggregator)
                                     at DevExpress.Charts.Native.SeriesController.CommitTransaction(Boolean loading)
                                     at DevExpress.Xpf.Charts.Native.ViewController.ApplyChangesCore()
                                     at DevExpress.Xpf.Charts.Native.ViewController.ApplyChanges()
                                     at DevExpress.Xpf.Charts.ChartElementHelper.ApplyChanges(IChartElement element)
                                     at DevExpress.Xpf.Charts.ChartControlBase.MeasureOverride(Size constraint)
                                     at DevExpress.Xpf.Charts.ChartControl.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at DevExpress.Xpf.Docking.VisualElements.psvDecorator.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at DevExpress.Xpf.Docking.VisualElements.GroupPanel.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at DevExpress.Xpf.Docking.VisualElements.OverlappingDockPanel.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Control.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
                                     at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
                                     at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
                                     at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Controls.Border.MeasureOverride(Size constraint)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.Window.MeasureOverrideHelper(Size constraint)
                                     at System.Windows.Window.MeasureOverride(Size availableSize)
                                     at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
                                     at System.Windows.UIElement.Measure(Size availableSize)
                                     at System.Windows.ContextLayoutManager.UpdateLayout()
                                     at System.Windows.UIElement.UpdateLayout()
                                     at System.Windows.Interop.HwndSource.SetLayoutSize()
                                     at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
                                     at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
                                     at System.Windows.Window.SetRootVisual()
                                     at System.Windows.Window.SetRootVisualAndUpdateSTC()
                                     at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
                                     at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
                                     at System.Windows.Window.CreateSourceWindowDuringShow()
                                     at System.Windows.Window.SafeCreateWindowDuringShow()
                                     at System.Windows.Window.ShowHelper(Object booleanBox)
                                     at System.Windows.Window.Show()
                                     at System.Windows.Window.ShowDialog()
                                     at InnovativeSystems.CustomWPFControls.ISDetailErrorMessageWindow.ShowErrorDialog(Window owner, String message, String detailError, String title, ISMessageWindowButton button, ISMessageWindowImage image, ISMessageWindowResult defaultResult, ISMessageWindowOptions options, Double messageFontSize, Double buttonFontSize)
                                     at InnovativeSystems.CustomWPFControls.ISDetailErrorMessageWindow.ShowDialog(Window owner, String message, String detailError, String title, ISMessageWindowButton button, ISMessageWindowImage image, Double messageFontSize, Double buttonFontSize)
                                     at ISNMClient.CommonMessageDisplays.<>c__DisplayClass1_0.<ShowDetailedErrorMessage>b__0() in C:\Users\chrism\source\repos\Network Traffic Monitor2\src\networkMonitoringApp\NetworkTrafficMonitoringApp\HelperClasses\CommonMessageDisplays.cs:line 26
                                     at ISNMClient.CommonMessageDisplays.DisplayMessageWindowOnUIThread(Func`1 showWindow) in C:\Users\chrism\source\repos\Network Traffic Monitor2\src\networkMonitoringApp\NetworkTrafficMonitoringApp\HelperClasses\CommonMessageDisplays.cs:line 84
                                     at ISNMClient.CommonMessageDisplays.ShowDetailedErrorMessage(Window owner, String friendlyMessage, String detailedMessage, String errorTitle) in C:\Users\chrism\source\repos\Network Traffic Monitor2\src\networkMonitoringApp\NetworkTrafficMonitoringApp\HelperClasses\CommonMessageDisplays.cs:line 24
                                     at ISNMClient.App.ShowUnhandledException(DispatcherUnhandledExceptionEventArgs e) in C:\Users\chrism\source\repos\Network Traffic Monitor2\src\networkMonitoringApp\NetworkTrafficMonitoringApp\App.xaml.cs:line 148
                                     at ISNMClient.App.AppDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\chrism\source\repos\Network Traffic Monitor2\src\networkMonitoringApp\NetworkTrafficMonitoringApp\App.xaml.cs:line 108
                                     at System.Windows.Threading.Dispatcher.CatchException(Exception e)
                                     at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
                                     at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
                                     at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
                                     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
                                     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
                                     at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
                                     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                                     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                                     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                                     at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext 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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

                                • Alex (DevExpress Support) 11.10.2019

                                  Hi,

                                  The ArgumentOutOfRange exception may occur when a very large axis range is set (for instance, when you set the WholeRange property using the DateTime.MinValue and DateTime.MaxValue values). Please check if this is the case and feel free to upload your sample project so that we can examine this behavior in greater detail.

                                • Customer72514 11.11.2019

                                  I am using the SetMinMaxValues function on the visual range. Why does this exception occur and can I prevent it somehow?

                                  ChartDiagram.ActualAxisX.ActualVisualRange.SetMinMaxValues(newMin, newMax);

                                • Alex (DevExpress Support) 11.11.2019

                                  Hi,

                                  In this case, please upload your sample project for further examination. If necessary, mark this ticket as private.

                                0 Solutions

                                Creation Date Importance Sort by