Welcome to the Xceed Community Sign in | Join | Help
Community Search  

VS 2008 design-time error on Chart 4.2 control...

Sort Posts: Previous Next
  •  05-14-2008, 5:02 PM Post no. 12274

    VS 2008 design-time error on Chart 4.2 control...

    If I

    1.  SmartTag to Chart Editor
    2.  Chart Control | Settings | TransparentBackground = True
    3.  Set BackColor = Transparent

    This will appear to work as expected where the background is transparent.  However when I save the project, exit VS 2008, re-open the project and try to load the form in the VS designer I immediate get an error:

     Control does not support Transparent color.

    More digging and it seems that I can't set the Chart background to transparent, even using Background dialog and setting FillEffect = solid color = transparent.  Also tried setting Transparency % = 100, stil no go.

    Am I missing something or does the Chart 4.2 control have some problem with Transparency??

     Rob.

     

  •  05-14-2008, 5:58 PM Post no. 12282 in reply to 12274

    Re: VS 2008 design-time error on Chart 4.2 control...

    I found a solution to this design-time bug:

    In the Form_Load event I manually set the following:

    With WinChart1
       .Settings.TransparentBackground = True
       .BackColor = Color.Transparent
    End With

    This works fine.  I hope Xceed fix this for the next version of the Chart for .NET (4.x) control.  I'm guessing this property (TransparentBackground) is set to ReadOnly in the VS 2008 IDE (design time) when it should not be.

     

     

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.