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. Image for the cookie policy date
close icon

RGB Color failure in IChartFrameFormat chartArea, with XlsIO Interface

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 6.3.0.3 and Visual Studio 2005!

Thank''s,

Stephan



Diagramm.zip

1 Reply

YG Yavanaarasi G Syncfusion Team May 28, 2008 12:57 PM UTC

Hi Phane,

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

Regards,
G.Yavana


Loader.
Live Chat Icon For mobile
Up arrow icon