How to style the bars of a RadChartView?

2 posts, 0 answers
  1. Leigh
    Leigh avatar
    1 posts
    Member since:
    Jun 2013

    Posted 19 Feb 2015 Link to this post

    I'm struggling to find anything in the documentation about how to style the bars in a bar chart.

    I'd like the bars to look as per the attachment, with a shadow to the bottom and to the right.

    With series defined as a BarSeries, I tried this, but it had no effect on the appearance of the bars:

    series.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders
    series.BorderBottomShadowColor = Color.Gray
    series.BorderRightShadowColor = Color.Gray
    series.BorderRightWidth = 20
    series.BorderBottomWidth = 40

    Please could you let me know how to achieve this?

  2. Dimitar
    Dimitar avatar
    1871 posts

    Posted 24 Feb 2015 Link to this post

    Hello Leigh,

    Thank you for writing.

    This is not supported out of the box, but can be achieved by using custom renderer. The attached example shows sample implementation for this. 

    Please let me know if there is something else I can help you with. 

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top