display different colors in the same series

Thread is closed for posting
2 posts, 0 answers
  1. Lynn
    Lynn avatar
    3 posts
    Member since:
    Nov 2011

    Posted 22 Dec 2011 Link to this post


    I have a Bar RadChart. The Bar above the threshold will display red color and the part of the Bar below the threshold will display green color. Can this be implemented?

  2. Petar Marchev
    Petar Marchev avatar
    1029 posts

    Posted 26 Dec 2011 Link to this post


    This can not be achieved by using Bar chart series type. However this behavior can be easily achieved with StackedBar series. I am not quite familiar with your scenario but from the attached image it seems that using a stacked bar series is more appropriate than using bar series.

    You can find information on stacked bar charts here.
    You can also see an example here (just select "Stacked Bar" in the combo box on the right).

    Petar Marchev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top