I am using 3D XYZ Scatter Line Chart to plot the huge amout of data(3000 samples). I set the RenderSurface as TargetRenderSurface.Bitmap in chart settings. During the load it throws following error.
2009-03-05 15:20:53,290 [Startup Thread] ERROR Default [(null)] <(null)> – Unhandled exception occurred: System.Exception: Failed to set pixel format [GLRenderSurface::SetupPixelFormat]
at Xceed.Chart.GraphicsGL.GLRenderSurface.SetupPixelFormat(HDC__* hDC, UInt32 dwFlags)
at Xceed.Chart.GraphicsGL.GLBitmapRenderSurface.Init(Control pOuterControl, Size rcSurfaceDimensions, Int32 nColorDepth)
at Xceed.Chart.GraphicsGL.GLDevice.Init(Boolean bRenderToBitmap, Control pOuterControl, Size szDimensions, Int32 nColorDepth, Boolean bTransparentBackground)
at Xceed.Chart.Core.ChartControlBase.InitDevice(Control ctrl)
at Xceed.Chart.ChartControl.ChartControl_Load(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(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)
If I set the render surface as Window then then charts is working perfectly. please help me to resolve this issue
Imported from legacy forums. Posted by vishwa (had 2549 views)