Rounded edges on RadStackedDataBar

2 posts, 0 answers
  1. Naveen
    Naveen avatar
    1 posts
    Member since:
    May 2013

    Posted 05 Jun 2013 Link to this post

    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
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 10 Jun 2013 Link to this post

    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.

  3. DevCraft banner
Back to Top