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
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.