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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RGB Color failure in IChartFrameFormat chartArea, with XlsIO Interface

Thread ID:





74000 May 28,2008 11:13 AM UTC May 28,2008 12:57 PM UTC ASP.NET Web Forms (Classic) 1
Tags: Chart
Steffen Dunst
Asked On May 28, 2008 11:13 AM UTC

Hi all,

i've got a question to the IChartFrameFormat Interface. I'm creating a chart area with the following lines of code. After creation i set the foreground and the background color (see project enclosed).

// defineder ChartArea
IChartFrameFormat chartArea = chart.ChartArea;
// set color
chartArea.Fill.ForeColor = Color.FromArgb(229, 241, 251);
chartArea.Fill.BackColor = Color.FromArgb(229, 241, 251);

After that i save the chart. But the color of the chart area in the created excel file, is not equal the rgb code in Excel.

On tabsheet "Sheet1" in the enclosed excel file you can see the right color with the following rgb values (229, 241, 251) ==> (created manually).
On the tabsheet "ChartWorksheet" you see the chart and the chart area which is created with the code above. As you can see the colors are not the same.

Could you please give me some information about these issue.

I''m using german office2003 sp3, german windows xp, Syncfusion Product and Visual Studio 2005!




Yavanaarasi G [Syncfusion]
Replied On May 28, 2008 12:57 PM UTC

Hi Phane,

You have created a direct trac incident regarding this issue. Please follow up the incident.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon