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

change color in RadChard

2 Answers 60 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
bitblock R
Top achievements
Rank 1
bitblock R asked on 29 Oct 2009, 09:18 AM
Hi,
I want change color in RadChart diagram. What property should I use in design mode to change green color on red?

<telerik:RadChart ID="RadChartQuestion" runat="server" DefaultType="Pie" Width="550px" AutoTextWrap="true" 
                        OnItemDataBound="RadChart2_ItemDataBound" Skin="Office2007" Height="250px" UseSession="false" 
                        TempImagesFolder = "/Tmp" > 
                        <Appearance Dimensions-Width="750px"></Appearance> 
                          
                        <Series> 
                            <telerik:ChartSeries Name="Series 1" Type="Pie" DataYColumn="COUNTER"   
                            Appearance-EmptyValue-FillStyle-GammaCorrection="true"    
                            Appearance-FillStyle-MainColor="Red" > 
                                <Appearance LegendDisplayMode="ItemLabels" TextAppearance-MaxLength="100"></Appearance> 
                            </telerik:ChartSeries> 
                        </Series> 
                    </telerik:RadChart> 

2 Answers, 1 is accepted

Sort by
0
bitblock R
Top achievements
Rank 1
answered on 29 Oct 2009, 10:11 AM
ok,
can i change color in OnItemDataBound event? I want change green color on other color. What method or propery i must use for get color of SeriesItem?
0
Schlurk
Top achievements
Rank 2
answered on 30 Oct 2009, 04:19 PM
This documentation article has the basic logic required for this. Although it deals with the Bar-type, the Pie-type of graph should behave the same way.
Tags
Chart (Obsolete)
Asked by
bitblock R
Top achievements
Rank 1
Answers by
bitblock R
Top achievements
Rank 1
Schlurk
Top achievements
Rank 2
Share this question
or