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

Rounded edges on RadStackedDataBar

1 Answer 70 Views
DataBar
This is a migrated thread and some comments may be shown as answers.
Naveen
Top achievements
Rank 1
Naveen asked on 05 Jun 2013, 10:50 AM
Hi!

I had a requirement wrt RadStackedDataBar that it has to be rounded on the either corners.

I tried the following, but was unable to achieve it
<Border CornerRadius="10,10,10,10" BorderThickness="1" BorderBrush="White" HorizontalAlignment="Left">
<telerik:RadStackedDataBar  Height="20" ItemsSource="{Binding CList}" ValuePath="Value" ToolTipPath="ToolTip" ShowToolTips="True" Maximum="100" >
                                <telerik:RadStackedDataBar.BarBrushes>
                                    <dataBars:BrushCollection>
                                        <SolidColorBrush Color="Red" />
                                        <SolidColorBrush Color="Blue" />
                                    </dataBars:BrushCollection>
                                </telerik:RadStackedDataBar.BarBrushes>
                            </telerik:RadStackedDataBar>
</Border>
 
PFA image with the result of the following

Any help on this regard is welcome

BR,
/Nav

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 10 Jun 2013, 10:15 AM
Hi Naveen,

 Currently you can't achieve this with our DataBar control due to the way DataBarShape is implemented. We are sorry for the inconvenience this may have caused.

Regards,
Evgenia
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DataBar
Asked by
Naveen
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or