BackGround

2 posts, 0 answers
  1. Jose
    Jose avatar
    2 posts
    Member since:
    Jan 2011

    Posted 03 May 2012 Link to this post

    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?
  2. Sia
    Admin
    Sia avatar
    667 posts

    Posted 08 May 2012 Link to this post

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

  3. DevCraft banner
Back to Top