Hello Martin,
You need to set custom style to your doughnut as the one below:
<
Style
x:Key
=
"CustomDoughnut"
TargetType
=
"telerik:Doughnut"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:Doughnut"
>
<
Canvas
x:Name
=
"PART_MainContainer"
>
<
Ellipse
Clip
=
"{TemplateBinding FigurePath}"
Width
=
"{TemplateBinding ItemActualWidth}"
Height
=
"{TemplateBinding ItemActualHeight}"
StrokeThickness
=
"0"
Style
=
"{TemplateBinding ItemStyle}"
/>
<
Path
x:Name
=
"PART_DefiningGeometry"
Data
=
"{TemplateBinding FigurePath2}"
Fill
=
"Transparent"
Style
=
"{TemplateBinding ItemStyle}"
/>
<
Canvas.RenderTransform
>
<
TransformGroup
>
<
ScaleTransform
x:Name
=
"PART_AnimationTransform"
ScaleX
=
"0"
ScaleY
=
"0"
/>
<
TranslateTransform
x:Name
=
"PART_ExplodeTransform"
/>
</
TransformGroup
>
</
Canvas.RenderTransform
>
<
vsm:VisualStateManager.VisualStateGroups
>
<
vsm:VisualStateGroup
x:Name
=
"HoverStates"
>
<
vsm:VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
DoubleAnimation
To
=
"1.0"
Storyboard.TargetName
=
"PART_MainContainer"
Storyboard.TargetProperty
=
"Opacity"
Duration
=
"0.00:00:00.15"
/>
</
Storyboard
>
</
vsm:VisualState
>
<
vsm:VisualState
x:Name
=
"Hovered"
>
<
Storyboard
>
<
DoubleAnimation
To
=
"1.0"
Storyboard.TargetName
=
"PART_MainContainer"
Storyboard.TargetProperty
=
"Opacity"
Duration
=
"0.00:00:00.15"
/>
</
Storyboard
>
</
vsm:VisualState
>
<
vsm:VisualState
x:Name
=
"Hidden"
>
<
Storyboard
>
<
DoubleAnimation
To
=
"0.6"
Storyboard.TargetName
=
"PART_MainContainer"
Storyboard.TargetProperty
=
"Opacity"
Duration
=
"0.00:00:00.15"
/>
</
Storyboard
>
</
vsm:VisualState
>
</
vsm:VisualStateGroup
>
<
vsm:VisualStateGroup
x:Name
=
"SelectionStates"
>
<
vsm:VisualState
x:Name
=
"Unselected"
>
<
Storyboard
>
<
DoubleAnimation
Duration
=
"0.00:00:00.2"
Storyboard.TargetName
=
"PART_ExplodeTransform"
Storyboard.TargetProperty
=
"X"
To
=
"0"
/>
<
DoubleAnimation
Duration
=
"0.00:00:00.2"
Storyboard.TargetName
=
"PART_ExplodeTransform"
Storyboard.TargetProperty
=
"Y"
To
=
"0"
/>
</
Storyboard
>
</
vsm:VisualState
>
<
vsm:VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
DoubleAnimation
Duration
=
"0.00:00:00.2"
Storyboard.TargetName
=
"PART_ExplodeTransform"
Storyboard.TargetProperty
=
"X"
/>
<
DoubleAnimation
Duration
=
"0.00:00:00.2"
Storyboard.TargetName
=
"PART_ExplodeTransform"
Storyboard.TargetProperty
=
"Y"
/>
</
Storyboard
>
</
vsm:VisualState
>
</
vsm:VisualStateGroup
>
</
vsm:VisualStateManager.VisualStateGroups
>
</
Canvas
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Regards,
Sia
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items