Hi,
I upgraded to new 2010 version (Q1 2010) then the foreground color of x-axis and y-axis label becomes black. How can i change the style of it? Pls check the attached image.
I set the foreground color into White but still the color is black. Pls help.
Thanks
I upgraded to new 2010 version (Q1 2010) then the foreground color of x-axis and y-axis label becomes black. How can i change the style of it? Pls check the attached image.
I set the foreground color into White but still the color is black. Pls help.
Thanks
<Style x:Key="CustomStyle" TargetType="telerikCharting:Bar"> |
<Setter Property="Template"> |
<Setter.Value> |
<ControlTemplate TargetType="telerikCharting:Bar"> |
<Canvas> |
<Rectangle x:Name="PART_DefiningGeometry" |
Height="{TemplateBinding ItemActualHeight}" |
Width="{TemplateBinding ItemActualWidth}" |
RadiusX="2" |
RadiusY="2" |
StrokeThickness="1" |
Fill="{Binding DataItem.StockHealthColor}"/> |
<telerikCharting:SeriesItemLabel x:Name="PART_SeriesItemLabelBar" |
HorizontalAlignment="Center" |
Width="{TemplateBinding ItemActualWidth}" |
Foreground="White" |
/> |
<Canvas.RenderTransform> |
<ScaleTransform x:Name="PART_AnimationTransform" ScaleY="0" /> |
</Canvas.RenderTransform> |
<Canvas.Triggers> |
<EventTrigger RoutedEvent="Rectangle.Loaded"> |
<EventTrigger.Actions> |
<BeginStoryboard> |
<Storyboard BeginTime="00:00:00.5" |
x:Name="PART_Storyboard"> |
<DoubleAnimationUsingKeyFrames |
Storyboard.TargetName="PART_AnimationTransform" |
Storyboard.TargetProperty="ScaleY" |
Duration="00:00:00.5" |
BeginTime="00:00:00.2"> |
<SplineDoubleKeyFrame KeySpline="0.646,0.239,1,1" KeyTime="00:00:00" Value="0.025"/> |
<SplineDoubleKeyFrame KeyTime="00:00:00.495" Value="0.99" KeySpline="0.26,0.564,0.512,1"/> |
</DoubleAnimationUsingKeyFrames> |
<DoubleAnimationUsingKeyFrames |
Storyboard.TargetName="PART_DefiningGeometry" |
Storyboard.TargetProperty="Opacity" |
Duration="00:00:00.5" |
BeginTime="00:00:00.2"> |
<SplineDoubleKeyFrame KeySpline="0.646,0.239,1,1" KeyTime="00:00:00" Value="0.7"/> |
<SplineDoubleKeyFrame KeyTime="00:00:00.495" Value="1" KeySpline="0.26,0.564,0.512,1"/> |
</DoubleAnimationUsingKeyFrames> |
</Storyboard> |
</BeginStoryboard> |
</EventTrigger.Actions> |
</EventTrigger> |
</Canvas.Triggers> |
</Canvas> |
</ControlTemplate> |
</Setter.Value> |
</Setter> |
</Style> |