Hi Infragistics,
We are currently experiencing an OutOfMemoryException when drawing a ScatterChart with specified XYDataPoint values (see attachment). We are using the Infragistics45.WebUI.UltraWebChart version 14.1.20141.2011
After some investigation.. what works is removing a 9 from both the Y values in serie #2 (from 17 to 16 fractional digits). After decreasing it to 16 fractional digits i replaced 3 with 9, and this also caused the OutOfMemoryException to occur (0.7999999999999993 works, not 0.7999999999999999).
StackTrace
Type="System.OutOfMemoryException"; Message="Exception of type 'System.OutOfMemoryException' was thrown."; Source="mscorlib"; TargetSite="Void set_Capacity(Int32)"; HelpLink=""; StackTrace=" at System.Collections.ArrayList.set_Capacity(Int32 value) at System.Collections.ArrayList.EnsureCapacity(Int32 min) at System.Collections.ArrayList.Add(Object value) at Infragistics.UltraChart.Resources.ChartCollectionBase.AddItem(Object obj) at Infragistics.UltraChart.Core.Layers.NumericAxis.DrawLabeling(Int32 itemNum, Point p_i_maj, Double increment_major, PrimitiveCollection majorLabels, AxisLabelInfoCollection itemLabels) at Infragistics.UltraChart.Core.Layers.NumericAxis.DrawTickVertical(Int32 itemNum, SceneGraph scene, Point p_i_min, Point p_i_maj, Double increment_major, Double increment_minor, PrimitiveCollection majorLabels, AxisLabelInfoCollection itemLabels) at Infragistics.UltraChart.Core.Layers.NumericAxis.FillSceneGraphNonStacked(SceneGraph scene) at Infragistics.UltraChart.Core.Layers.NumericAxis.FillSceneGraph(SceneGraph scene, Boolean setStartAndEndPoints) at Infragistics.UltraChart.Core.Layers.NumericAxis.FillSceneGraph(SceneGraph scene) at Infragistics.UltraChart.Core.Layers.TwoDGridLayer.FillSceneGraph(SceneGraph scene, Boolean includeXAxes, Boolean includeYAxes) at Infragistics.UltraChart.Core.Layers.TwoDGridLayer.FillSceneGraph(SceneGraph scene) at Infragistics.UltraChart.Core.ChartCore.DrawChart()
We would appriciate assistance to resolve this issue (suggest a workaround/file as bug).
Thank you!
Hello,
Thank you for contacting Infragistics!
I have done some looking into this matter and have create a sample to test this behavior. I have been able to reproduce this behavior. I have logged this with our development team for further investigation with the ID 190560. I also create a private case (CAS-152733-Q4B2C3) where I will provide you with further information concerning this matter.