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

Background with two colors

1 Answer 32 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Gustavo
Top achievements
Rank 1
Gustavo asked on 02 Apr 2014, 02:23 PM
Hi,

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?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 02 Apr 2014, 05:32 PM
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.

Regards,
Petar Marchev
Telerik
 

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.

 
Tags
ChartView
Asked by
Gustavo
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or