Bacgroup Colour

Thread is closed for posting
3 posts, 1 answers
  1. Ricky
    Ricky avatar
    68 posts
    Member since:
    Dec 2007

    Posted 30 Sep 2008 Link to this post

    Hi All

    I have Rad Chart on one off my page and is working fine, i just want to change the backgroud color. i mean the color on the sides of x-axis and y-axis.
     
    Can anyone help please
    Thanks
  2. Answer
    Ves
    Admin
    Ves avatar
    2926 posts

    Posted 02 Oct 2008 Link to this post

    Hello Ricky,

    You can use the Appearence.FillStyle.MainColor to set the color of the chart background. In this case you might also want to change the title and legend backgrounds to transparent, here is an example:

    <telerik:RadChart ID="RadChart1" runat='server'
                    <Appearance> 
                        <FillStyle MainColor="Khaki"
                        </FillStyle> 
                    </Appearance> 
                    <ChartTitle> 
                        <Appearance> 
                            <FillStyle MainColor="Transparent"
                            </FillStyle> 
                        </Appearance> 
                    </ChartTitle> 
                    <Legend> 
                        <Appearance> 
                            <FillStyle MainColor="Transparent"
                            </FillStyle> 
                        </Appearance> 
                    </Legend> 
                    <Series> 
                       ... 
                    </Series> 
                </telerik:RadChart> 

    All chart elements have common appearance settings - border, dimensions, fill style etc... You can find a description here.

    Kind regards,
    Ves
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Ricky
    Ricky avatar
    68 posts
    Member since:
    Dec 2007

    Posted 02 Oct 2008 Link to this post

    Thanks Ves

    That was really helpful
Back to Top