Am I missing something obvious? Can't seem to find anything in the documentation or forums.
4 Answers, 1 is accepted
One possible solution is to use the Background property of the RadCartesianChart:
<
telerik:RadCartesianChart.Background
>
<
LinearGradientBrush
StartPoint
=
"0.5,0"
EndPoint
=
"0.5,1"
>
<
GradientStop
Color
=
"#2625A0DA"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FF25A0DA"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:RadCartesianChart.Background
>
The attached image demonstrates how this might look in action.
Greetings,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Indeed you are right - the provided solution colors the whole CartesianChart. What you need is a PlotAreaStyle. However using it won't make the Gridlines visible due to a bug in the control. I'm copying here my answer from the support thread you opened on the same topic which should shed some light on why this happens and what is the workaround.
The current implementation of RadChartView requires the ZIndex of the CartesianChartGrid to be -1. The plot area has a ZIndex of 0 and this leads to the chart grid not being visible. We confirm that this is a bug in the control. A simple work-around would be, as you suggested, to set the ZIndex of the plot area to -1:
<
telerik:RadCartesianChart.PlotAreaStyle
>
<
Style
TargetType
=
"Border"
>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
StartPoint
=
"0.5,0"
EndPoint
=
"0.5,1"
>
<
GradientStop
Color
=
"#2625A0DA"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FF25A0DA"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Canvas.ZIndex"
Value
=
"-1"
/>
</
Style
>
</
telerik:RadCartesianChart.PlotAreaStyle
>
You may find the bug logged in our PITS where you can vote for it and track its progress.
Greetings,Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
