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.
Unfortunately, activation email could not send to your email. Please try again.

Transparent chart control

Thread ID:

Created:

Updated:

Platform:

Replies:

105897 Nov 26,2012 11:19 PM Dec 3,2012 08:41 AM Windows Forms 1
loading
Tags: Chart
Vignesh Babu
Asked On November 26, 2012 11:19 PM

Hi,

I added the sync fusion chart control on the transparent panel and placed above the image. The back color of the control always seems to be black. When I reduced the opacity(alpha) for the chart by 

chart.BackColor = Color.FromArgb(30,231,231,231);

 still I see the back color as black. Can you share the sample to make the chart as transparent by controlling the opacity. I tried variety of ways to make it transparent but not able to do so. Need your reply as soon as possible.

Thanks

Vijayabharathi K [Syncfusion]
Replied On December 3, 2012 08:41 AM

Hi Vignesh,

 

Thanks for using Syncfusion products.

 

If your intention is to apply transparent color to chart control, we suggest you to use the below code snippet to achieve this,

 

[C#]

    this.chartControl1.BackColor =  Color.Transparent;

    this.chartControl1.ChartInterior = new Syncfusion.Drawing.BrushInfo(Color.Transparent);

 

Please let us know if we misunderstood your query.

 

Regards,

Vijayabharathi


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;