Hi team,
i dont know hot to apply style of removing the gradient on horizontal bar chart,
<
Style
x:Key
=
"MyBarStyleBars"
TargetType
=
"telerik:HorizontalBar"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:HorizontalBar"
>
<
Canvas
Opacity
=
"0"
x:Name
=
"PART_MainContainer"
>
<
Rectangle
x:Name
=
"PART_DefiningGeometry"
Height
=
"{TemplateBinding ItemActualHeight}"
Width
=
"{TemplateBinding ItemActualWidth}"
Style
=
"{TemplateBinding ItemStyle}"
>
</
Rectangle
>
<
Canvas.RenderTransform
>
<
ScaleTransform
x:Name
=
"PART_AnimationTransform"
ScaleY
=
"0"
/>
</
Canvas.RenderTransform
>
</
Canvas
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
telerik:HorizontalBarSeriesDefinition
SeriesItemLabelStyle
=
"{StaticResource SeriesItemLabelStyle}"
LegendDisplayMode
=
"DataPointLabel"
ItemStyle
=
"{StaticResource MyBarStyleBars}"
ShowItemLabels
=
"True"
>
</
telerik:HorizontalBarSeriesDefinition
>
but is working when when i change to TargetType="telerikBar" to ordinary bar chart what should i do ?
Thanks
Saravanan