Color of baritem.

2 posts, 0 answers
  1. Simon
    Simon avatar
    7 posts
    Member since:
    Mar 2012

    Posted 15 Sep 2014 Link to this post

    I have a question about the Colour's of bars in my RadHtmlChart.

    Is it possible to only one of the bars to a different colour?
    I want one of  my bars to be a different colour depending on the name of the dataItem name. 
  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 17 Sep 2014 Link to this post

    Hi Simon,

    It is possible to customize colors of bar items from a series. For a data bound chart you can use the ColorField property (see this online demo), while for a declaratively/programmatically created chart you can use the BackgroundColor property of the item.

    Danail Vasilev

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top