This is a migrated thread and some comments may be shown as answers.

Horizontal Bar Shadow and Border

1 Answer 30 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Chandana
Top achievements
Rank 1
Chandana asked on 29 Sep 2012, 12:28 AM
Hi,

There's a shadow (solid color) which appears on top of each bar in the Horizontal Bar chart. Is it possible to make the shadow appear at the bottom instead of top and change the color of the shadow to black and draw a border around the bar just like in the attached picture?

Regards,
Chandana

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 03 Oct 2012, 05:05 PM
Hello Chandana,

You need to rework the default mask overlay. Please check the attached project.
The gradient that you need to modify is the following:
<Rectangle.Fill>
    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="Transparent"/>
        <GradientStop Color="#19FFFFFF" Offset="0.2"/>
        <GradientStop Color="#B2FFFFFF" Offset="0.2"/>
        <GradientStop Color="Transparent" Offset="1"/>
    </LinearGradientBrush>
</Rectangle.Fill>

I hope that this helps.

Regards,
Sia
Tags
Chart
Asked by
Chandana
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or