Home Forums WinForms controls Xceed Chart for WinForms Rendering problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19090 |

     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)

    User (Old forums)
    Member
    Post count: 23064

    We do not reproduce this problem on our side.  You can send us a sample application reproducing the issue, and we will investigate this further.  Include a reference to this post when sending your request to support@xceed.com.

    Imported from legacy forums. Posted by André (had 2422 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.