This is a migrated thread and some comments may be shown as answers.
BackGround
1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 03 May 2012, 04:50 PM
Hello:
 Need   set the background  the mi ChartView with one color without horizontal lines.
In the documentation : http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-plot-area.html
does not explain how to put a backgroud and remove lines.
This is my style:


<!--BackGroundStyle-->         
<Style x:Key="CustomBackGroundStyle" TargetType="telerik:ClipPanel">        
 
<Setter Property="Background" Value="#FFD09E9E"/>     
</Style>

This is my Code:
this.BillingChartControl.DefaultView.ChartArea.PlotAreaStyle = Application.Current.Resources["CustomBackGroundStyle"] as Style; 
Any sugestion?

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 08 May 2012, 02:36 PM
Hello Jose,

The horizontal lines that you see are strip-lines and you can hide them by setting:
<telerikCharting:ChartArea.AxisY>
   <telerikCharting:AxisY StripLinesVisibility="Collapsed" />
</telerikCharting:ChartArea.AxisY>

Regards,
Sia
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Asked by
Jose
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or