This question is locked. New answers and comments are not allowed.
Hello,
Is it not possible to change the style of the NoDataControlStyle when a theme has been set on the parent chart?
I have a style defined in my UserControl.Resources section of my XAML:
And then the Metro theme for my chart with the style set on NoDataControlStyle:
The end result is always that my NoDataControlStyle has the Metro theme...
I have tried setting the style in code behind as well and it didn't change the behavior.
Thanks!
Chris
Is it not possible to change the style of the NoDataControlStyle when a theme has been set on the parent chart?
I have a style defined in my UserControl.Resources section of my XAML:
<
UserControl.Resources
>
...
<
Style
TargetType
=
"telerikCharting:NoDataControl"
x:Key
=
"NoDataControlStyle"
>
And then the Metro theme for my chart with the style set on NoDataControlStyle:
<
telerikChart:RadChart
x:Name
=
"radChart"
telerik:StyleManager.Theme
=
"Metro"
>
...
<
telerikCharting:ChartDefaultView.ChartArea
>
<
telerikCharting:ChartArea
NoDataControlStyle
=
"{StaticResource NoDataControlStyle}"
IsNoDataMessageEnabled
=
"True"
NoDataString
=
"My NoData text"
EnableAnimations
=
"False"
>
The end result is always that my NoDataControlStyle has the Metro theme...
I have tried setting the style in code behind as well and it didn't change the behavior.
Thanks!
Chris