Background with two colors

2 posts, 1 answers
  1. Gustavo
    Gustavo avatar
    23 posts
    Member since:
    Apr 2012

    Posted 02 Apr 2014 Link to this post


    The plot area background of my RadCartesianChart application are with two different colors (see attached picture).
    For example, if I set the RadCartesianChart.Background property to Red, only the dark zone changes to Red. The white zone stay white.

    Do you know why it's happening and how can I solve that?

  2. Answer
    Petar Marchev
    Petar Marchev avatar
    968 posts

    Posted 02 Apr 2014 Link to this post

    Hi Gustavo,

    If you want to set a background only for the plot-area you can use the PlotAreaStyle property of the chart, it expects a Style with TargetType Border. If you need a background for the whole chart, I suggest you simply wrap the chart in a Border and set the Background property of the Border to the desired Brush.

    Petar Marchev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top