This is a migrated thread and some comments may be shown as answers.

How to remove the Background panel for piechart.

1 Answer 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raja
Top achievements
Rank 1
Raja asked on 17 May 2012, 11:46 AM
Hello,
 .In my application am using telerik piechart.After executing piechart appears with background panel like rectangular edges.So i want to remove it.So that piechart background will be clean. Please help me
raja

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 17 May 2012, 12:23 PM
Hello Raja,

If you talk about the PlotArea color, then you need to remove the Border and set Transparent FillStyle e.g.:

chart1.PlotArea.Appearance.Border.Width = 0F;
chart1.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.Transparent;
chart1.PlotArea.Appearance.FillStyle.SecondColor = System.Drawing.Color.Transparent;

You can see this implemented in the pie chart in the ProductLineSales demo report.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Raja
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or