Home Forums WinForms controls Xceed Chart for WinForms Backcolor or Background of a Chart

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

    I need to change the default white background or backcolor of chart by a gradient.

    How can i do that?.

    Thanks.

    Imported from legacy forums. Posted by Javier (had 2291 views)

    User (Old forums)
    Member
    Post count: 23064

    You can either use the GradientStyle/GradientVariant properties, or the SetGradient() method, to do this. You will also need to set the BeginColor and EndColor properties.

    We have a sample showing how to do this .Open our Chart Explorer ( Start Menu -> All Programs -> Xceed Components -> Our components in action! -> Xceed Chart Explorer for .NET ), then go to All Examples -> Fill Effects -> Gradients.

    You can look at the code by clicking on the “C# Code” tab (you will find the complete source code of the explorer under -> C:\Program Files\Xceed Components\Xceed Chart for .NET and ASP.NET 4.1\Samples, or C:\Xceed Component Samples\Xceed Chart for .NET 4.1\Samples under Vista).

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

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