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

Using hatching inside pie chart slices

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 06 May 2009, 05:57 PM
I am using the chart control inside of the Telerik Reporting Q1 2009.  The chart uses a tableadapter as its datasource.  Because this report is going to be printed in black and white, I would like to assign hatching to the different pie slices.  Is this possible? 

I have found that the styling of the pie is not very intuitive.  For instance, when I have the series fill style set to hatch, and the plot area set to solid, the series does not render hatched.

I you could provide an example, this would be appreciated.

Rich

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 May 2009, 10:29 AM
Hi Richard,

You would need to set the Appearance of all items one by one as the pie chart has a bit different conception. While normally you can set the Appearance of a series and it would be applied to all items, a Pie chart uses a single series of data and that is why the different slices (items) all come with different color and is not inherited from the series Appearance.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Nuno
Top achievements
Rank 1
answered on 23 Sep 2010, 07:48 PM

Hi,

I'm creating a custom Theme and I want to set the color of my Pie chart slices in the chart.xaml file. Is it possible?
If not, where can I intercept this ? How is that done on Telerik Themes ?

Thank you.

Nuno Senica

0
Yavor
Telerik team
answered on 29 Sep 2010, 09:21 AM
Hi Nuno,

You can define your own Palette Brushes. Palette brushes can be defined in XAML the same way they are defined in the code behind. All you have to do is specify your desired colors like this:
<telerikChart:RadChart.PaletteBrushes>
    <SolidColorBrush Color="Green" />
    <SolidColorBrush Color="Orange" />
</telerikChart:RadChart.PaletteBrushes>
You can find more information on Palette brushes in this topic in our help system.

Kind regards,
Yavor Ivanov
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
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Steve
Telerik team
Nuno
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or