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

General quest. to a Pie chart

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

3 Replies

VK Vishnu Kumar Syncfusion Team 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.





MW Melba Winshia Syncfusion Team 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



FR Frank March 3, 2008 02:56 PM UTC

Thanks for clarification, just what i needed :)


Loader.
Live Chat Icon For mobile
Up arrow icon