We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Issues in Chart Control V 5.1

Hi,

We are using Syncfusion Chart Control V5.1 and we are facing couple of issues in this. Whenever we use IndexOf, Contains or insert methods of ChartControl, Chart Control throws exception as below. But, the same code is working V4.4. Please suggest us the solution as soon as possible.

Regards,
Gourav

------------------ EXCEPTION --------------------

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Out of memory.
at System.Drawing.Drawing2D.GraphicsPath.Widen(Pen pen, Matrix matrix, Single flatness)
at System.Drawing.Drawing2D.GraphicsPath.Widen(Pen pen)
at Syncfusion.Windows.Forms.Chart.Renderers.LineRenderer.Render(Graphics g)
at Syncfusion.Windows.Forms.Chart.ChartSeriesCollection.DrawSeries(Graphics g, IChartAreaHost chart)
at Syncfusion.Windows.Forms.Chart.ChartArea.Draw2D(PaintEventArgs e, ChartPaintFlags flags)
at Syncfusion.Windows.Forms.Chart.ChartArea.Draw(PaintEventArgs e, ChartPaintFlags flags)
at Syncfusion.Windows.Forms.Chart.ChartArea.Draw(PaintEventArgs e)
at Syncfusion.Windows.Forms.Chart.ChartControl._Paint(Graphics g, Rectangle r)
at Syncfusion.Windows.Forms.Chart.ChartControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AsianCERC.FastTrade.UI.Forms
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.UI.Forms.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
AsianCERC.FastTrade.Framework
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.Framework.DLL
----------------------------------------
AsianCERC.FastTrade.Utility
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.Utility.DLL
----------------------------------------
AsianCERC.FastTrade.DataFeed
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.DataFeed.DLL
----------------------------------------
AsianCERC.FastTrade.TradeAPI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.TradeAPI.DLL
----------------------------------------
Aztecsoft.Collections
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/Aztecsoft.Collections.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AsianCERC.FastTrade.UI.Utility
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.UI.Utility.DLL
----------------------------------------
Syncfusion.Tools.Windows
Assembly Version: 5.102.0.51
Win32 Version: 5.102.0.51
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Tools.Windows/5.102.0.51__3d67ed1f87d44c89/Syncfusion.Tools.Windows.dll
----------------------------------------
Syncfusion.Shared.Base
Assembly Version: 5.102.0.51
Win32 Version: 5.102.0.51
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Shared.Base/5.102.0.51__3d67ed1f87d44c89/Syncfusion.Shared.Base.dll
----------------------------------------
AsianCERC.FastTrade.UI.CustomControls
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.UI.CustomControls.DLL
----------------------------------------
Syncfusion.Core
Assembly Version: 5.102.0.51
Win32 Version: 5.102.0.51
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Core/5.102.0.51__632609b4d040f6b4/Syncfusion.Core.dll
----------------------------------------
AsianCERC.FastTrade.DAL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/AsianCERC_Backup/AsianCERC.FastTrade/AsianCERC.FastTrade.UI.Forms/bin/Debug/AsianCERC.FastTrade.DAL.DLL
----------------------------------------
Syncfusion.Grid.Windows
Assembly Version: 5.102.0.51
Win32 Version: 5.102.0.51
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Grid.Windows/5.102.0.51__3d67ed1f87d44c89/Syncfusion.Grid.Windows.dll
----------------------------------------
Syncfusion.Chart.Windows
Assembly Version: 5.102.0.51
Win32 Version: 5.102.0.51
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Chart.Windows/5.102.0.51__3d67ed1f87d44c89/Syncfusion.Chart.Windows.dll
----------------------------------------
Syncfusion.Chart.Base
Assembly Version: 5.102.0.51
Win32 Version: 5.102.0.51
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Syncfusion.Chart.Base/5.102.0.51__3d67ed1f87d44c89/Syncfusion.Chart.Base.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




1 Reply

RF Rashidha F Syncfusion Team June 1, 2007 07:49 AM UTC

Hi Gourav,

We regret for the inconvenience caused.

We are unable to reproduce this issue. I have attached a simple sample. Could you please modify this sample which can reproduce the issue you had mentioned, which would help us to analyse it better?

http://websamples.syncfusion.com/samples/Chart.Windows/F61762/main.htm

Thanks for your patience.

Regards,
Rashidha.

Loader.
Live Chat Icon For mobile
Up arrow icon