change color in RadChard

Thread is closed for posting
3 posts, 0 answers
  1. bitblock R
    bitblock R avatar
    9 posts
    Member since:
    Oct 2009

    Posted 29 Oct 2009 Link to this post

    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. bitblock R
    bitblock R avatar
    9 posts
    Member since:
    Oct 2009

    Posted 29 Oct 2009 Link to this post

    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?
  3. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 30 Oct 2009 Link to this post

    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.
Back to Top