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

Possible to have Pie Chart bigger in Default View?

3 Answers 161 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 10 Sep 2010, 03:01 AM
I'm just getting started learning the Chart tool. I'm wondering if there is a way to make the Pie Chart bigger? There's quite a bit of white space surrounding the Pie & seems like a pretty big waste of real estate. Also would like to increase the size of the labels on the Pie too. Would appreciate a pointer to where that may be controlled also. Thanks....Bob Bob McCormick Lockheed Martin

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 15 Sep 2010, 01:51 PM
Hello Bob,

Thanks for contacting us. To make the Pie chart bigger  you can collapse the chart legend by setting its property Visibility="Collapsed". Other thing you can do is to give some value to the RadiusFactor property of the PieSeriesDefinition (for example RadiusFactor="1").
To be able to increase the size of Item Labels in your Pie chart (by setting custom value to FontSize property) take a look at this help topic - http://www.telerik.com/help/wpf/radchart-styling-and-appearance-styling-item-labels.html.

Hope this answers your questions and helps you getting started with our control.

All the best,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bob
Top achievements
Rank 1
answered on 15 Sep 2010, 05:50 PM
Hmmm - just tried changing that RadiusFactor value and it doesn't appear to have any affect on the chart at all.  Note that I CANNOT turn off the legend, as that is required.  Note that I tried big numbers (100, 500 1000, 50000) and also negative numbers and it had no effect whatsoever.  Here's the XAML that is set currently:

<

 

 

telerikCharting:ChartDefaultView.ChartArea>

 

 

 

 

   <telerikCharting:ChartArea LegendName="structuresLegend" LabelFormatBehavior="HumanReadable" ItemClick="ChartArea_ItemClick">

 

 

 

 

      <telerikCharting:ChartArea.DataSeries>

 

 

 

 

         <telerikCharting:DataSeries LegendLabel="Structures">

 

 

 

 

            <telerikCharting:DataSeries.Definition>

 

 

 

 

               <telerikCharting:PieSeriesDefinition RadiusFactor="1" ShowItemToolTips="True"></telerikCharting:PieSeriesDefinition>

 

 

 

 

               </telerikCharting:DataSeries.Definition>

 

 

 

 

         </telerikCharting:DataSeries>

 

 

 

 

      </telerikCharting:ChartArea.DataSeries>

 

 

 

 

   </telerikCharting:ChartArea>

 

 

 

 

</telerikCharting:ChartDefaultView.ChartArea>


Note that the documentation is lacking where one doesn't know WHAT the values for any given property COULD be.  I did a search on 'RadiusFactor' and don't see much on the settings one can use and what it affects.  Is there somewhere that lists out all of the various bits and pieces along with the values accepted?  This is probably the one thing I'm finding with the documentation is that information like this is scattered throughout in tutorials and such making the quicklookup almost impossible.

Thanks for any help you can provide.

Best regards...Bob

Bob McCormick
Lockheed Martin

 

0
Evgenia
Telerik team
answered on 16 Sep 2010, 02:06 PM
Hi Bob,

I reproduced your XAML code and found the result very satisfactory.The Pie fills most of the window and without overlapping the legend. Take a look at the screenshot I attached. Have in mind that RadiusFactor property can accept values between the range of 0 to 1 (default value is 0.85). By setting it the value 1, it tells the Pie to stretch across the entire window.

As for the documentation -- indeed we must admit there are some areas where information is lacking but we are always trying to improve the state of the help articles and we have forwarded your feedback to our technical writers as well (the relevant help articles will be updated with information about the RadiusFactor property, too).


Kind regards,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Bob
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Bob
Top achievements
Rank 1
Share this question
or