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

Bacgroup Colour

2 Answers 83 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 2
Ricky asked on 01 Oct 2008, 02:51 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 02 Oct 2008, 05:46 AM
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.
0
Ricky
Top achievements
Rank 2
answered on 02 Oct 2008, 06:21 AM
Thanks Ves

That was really helpful
Tags
Chart (Obsolete)
Asked by
Ricky
Top achievements
Rank 2
Answers by
Ves
Telerik team
Ricky
Top achievements
Rank 2
Share this question
or