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.
Syncfusion Feedback

General quest. to a Pie chart

Thread ID:

Created:

Updated:

Platform:

Replies:

71708 Feb 11,2008 09:05 AM UTC Mar 3,2008 02:56 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
Frank
Asked On February 11, 2008 09:05 AM UTC

Hi,

I am working with your pie chart, and have some question:

1) How can get the pie to fill out the whole chart area?

2) Is it possible to make the Text more visible, maybe with semi transparent background?

3) Is it possible to move the text further away, make the lines longer, from the pie?

I have attached my pie, the background is transparent but normally shown with a white background.

TIA, Frank



84600cf1-965b-4e7b-9d5a-57e717bf8f45.zip

Vishnu Kumar [Syncfusion]
Replied On February 12, 2008 02:06 PM UTC

Hi Frank,

Thank you for your patience.

Issue 1 :How can get the pie to fill out the whole chart area?

We are working on this issue and we will update you with in one or tow business day.

Issue 2 : Is it possible to make the Text more visible, maybe with semi transparent background?

You can set the text color using the below code snippet.


[c#]

series1.Styles[0].TextColor = Color.Red;



Issue 3 : Is it possible to move the text further away, make the lines longer, from the pie?

You can set the text away from the chart using the below code snippet.


[c#]

this.ChartWebControl1.Series[0].OptimizePiePointPositions = false;



Issue 4 :the background is transparent but normally shown with a white background

You can set the background color using the below code snippet.


[c#]

ChartWebControl1.BackColor = Color.Transparent;



Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/chart.Web/6.1.0.34/71708/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.




Melba Winshia [Syncfusion]
Replied On February 14, 2008 09:32 AM UTC

Hi Frank,

Thank you for your interest in Syncfusion Products.

How can get the pie to fill out the whole chart area?

If your intention is to make the pie chart to take up the entire area, it can be achieved by using the ElementsSpacing property.

[C#]

this.ChartWebControl3.ElementsSpacing = 0;
this.ChartWebControl3.ChartArea.ChartAreaMargins.Bottom=0;
this.ChartWebControl3.ChartArea.ChartAreaMargins.Top = 0;

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Chart.Web/6.1.0.34/41477/main.htm

Please try this and let me know if this helps.

Thanks,
Melba


Frank
Replied On March 3, 2008 02:56 PM UTC

Thanks for clarification, just what i needed :)


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.

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

;