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.

upgrade issue:ChartControl default background color

Thread ID:

Created:

Updated:

Platform:

Replies:

54411 Jan 8,2007 04:25 PM Mar 19,2007 10:57 AM Windows Forms 10
loading
Tags: Chart
Lan
Asked On January 8, 2007 04:25 PM

Hi,
upgrade our product application from v3.3.0.0 to v4.4.0.51 in VS2003, the ChartControl's default background color has been changed. Please see attached jpg files.

I want to set the backgound color as default in v3.3.0.0. Which property I should set?

Thanks,

Lan

Administrator [Syncfusion]
Replied On January 8, 2007 04:51 PM

Sorry, I've forgotten to attach the files.


>Hi,
upgrade our product application from v3.3.0.0 to v4.4.0.51 in VS2003, the ChartControl's default background color has been changed. Please see attached jpg files.

I want to set the backgound color as default in v3.3.0.0. Which property I should set?

Thanks,

Lan

Color.zip

Suresh Babu [Syncfusion]
Replied On January 8, 2007 06:30 PM

Hi Lan,

The default Background color can be changed by setting the properties Chart Control's 'BackInterior', 'ChartInterior' and Chart Area's 'BackInterior'.

1) You can write the code in Form Load event.
2) Or Change the existing code which is available in “Windows Form Designer generated code” region

Please look into the following sample code.

this.chartControl1.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.White, System.Drawing.Color.White);
this.chartControl1.ChartArea.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.White, System.Drawing.Color.White);
this.chartControl1.ChartInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.White, System.Drawing.Color.White);

Please take a look into the sample attached for more details.

Change Background Color sample

Thank you for using Syncfusion products.

Regards,
Sureshbabu

Administrator [Syncfusion]
Replied On January 9, 2007 09:01 AM

Hi,
in V4.4.0.51, for the default chartcontrol background color, there is a light-white line under the chart title. How to hide it?
Thanks,

Lan


>Hi Lan,

The default Background color can be changed by setting the properties Chart Control's 'BackInterior', 'ChartInterior' and Chart Area's 'BackInterior'.

1) You can write the code in Form Load event.
2) Or Change the existing code which is available in “Windows Form Designer generated code” region

Please look into the following sample code.

this.chartControl1.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.White, System.Drawing.Color.White);
this.chartControl1.ChartArea.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.White, System.Drawing.Color.White);
this.chartControl1.ChartInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.White, System.Drawing.Color.White);

Please take a look into the sample attached for more details.

Change Background Color sample

Thank you for using Syncfusion products.

Regards,
Sureshbabu

Suresh Babu [Syncfusion]
Replied On January 9, 2007 07:09 PM

Hi Lan,

Thanks for bringing this issue to our attention.

I am able to reproduce the issue in Syncfusion version 4.4.0.51.

So we have filed a bug report in our internal defect tracking system. We have requested our developer to provide more information regarding the time frame to fix this issue. Hope we can provide you with more information within a week.

Please try the following steps and let me know if this helps.

[C#]
1) this.chartControl1.ChartArea.BorderStyle = BorderStyle.None;

2) Or this.chartControl1.SmoothingMode = SmoothingMode.None;

3) Or this.chartControl1.ChartArea.BorderStyle = BorderStyle.Fixed3D;
this.chartControl1.ChartArea.BorderWidth = 0;

4) Or this.chartControl1.ChartArea.BorderStyle = BorderStyle.Fixed3D;
this.chartControl1.ChartArea.BorderColor = Color.Transparent;

Let me know if you have any more questions.

Regards,
Sureshbabu

Administrator [Syncfusion]
Replied On January 11, 2007 10:28 AM

Thanks for help.

I got another upgrade issue (from v3.3.0.0 to v4.4.0.51) for indexed type chart. in v3.3.0.0, my chart displays YAxis well from 0, now it displays from -100. Attached files is my code and chart image. Any idea?

Lan


IndexedChart.zip

Suresh Babu [Syncfusion]
Replied On January 11, 2007 07:49 PM

Hi Lan,

Thanks for using Syncfusion products.

Currently I am working into this issue.

I will update you with in 24 hours.

Please let me know if you have any more questions.

Thanks,
Sureshbabu

Suresh Babu [Syncfusion]
Replied On January 12, 2007 03:43 PM

Hi Lan,

Thanks for bringing this issue to our attention.

To display Y axis from 0 while the chart is in “Indexed mode”, you can set the following properties which will remove unnecessary spaces at the edges.

1) this.chartControl1.PrimaryXAxis.RangePaddingType = ChartAxisRangePaddingType.None;
this.chartControl1.PrimaryYAxis.RangePaddingType = ChartAxisRangePaddingType.None;

2) this.chartControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Set;
this.chartControl1.PrimaryXAxis.Range.Min = 0;
this.chartControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set;
this.chartControl1.PrimaryYAxis.Range.Min = 0;

Please have a look into this sample which will help you.

Chart Axis Range.zip

Let me know if you have any more queries.

Thanks,
Sureshbabu

Administrator [Syncfusion]
Replied On January 16, 2007 10:43 AM

Thanks for help. I get it work now.


Administrator [Syncfusion]
Replied On February 22, 2007 05:19 AM

Hi Lan,

We have forwarded this issue to our developers. We will update with the fix for this issue on March12th 2007. You can keep track of the progress of the issue from the below link
http://www.syncfusion.com/support/issues/chart/Default.aspx?ToDo=view&questId=3347

Thanks&Regards,
Sharmila

Administrator [Syncfusion]
Replied On March 19, 2007 10:57 AM



>Thanks for help. I get it work now.




=================================================

Hello Lan,
Thank you for your interest in Syncfusion’s products. We have a patch ready for you. While I was trying to create an incident for you in Direct Trac so that you could receive it, I found that I was not able to locate a license in your account, when I searched our database with the following e-mail address: lan.mo@statnec.com.

To ensure that you receive the fastest possible response times from our support team, it’s important that we keep your account up to date.

It is our general policy to assign each license to its end user. If you are the developer working with a colleague’s license, it would be best to transfer the license to your account. All I need to make the transfer is an authorization email from COLLEAGUE WHO HOLDS THE LICENSE.

Along with ensuring timely responses, we would like you to be able to download updates via our online Direct-Trac support center. We can only ensure this service if your record is accurate and complete.

We appreciate your business. I look forward to hearing from you.

Regards,
Srilatha


Srilatha Rajamani
Technical Support Coordinator
srilathar@syncfusion.com

Syncfusion, Inc - .NET Essentials
http://www.syncfusion.com
9001 Aerial Center Parkway, Suite 110, Morrisville, NC 27560
Tollfree: +1-888-936-8638 Direct Tel: +1-919-481-1974 extn:239
Fax: +1-919-573-0306


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.

;