Have two colors in bar chart

Thread is closed for posting
2 posts, 0 answers
  1. Sagar
    Sagar avatar
    18 posts
    Member since:
    Dec 2011

    Posted 23 May 2013 Link to this post

    Hi,
          Is it possible to have two colors in a single bar in bar chart (one on top of the other)? Say, if there is a bar with Y value of 100, i want to show 50 of it in red and the top 50 in blue. Is it possible ?

    Thanks.
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 27 May 2013 Link to this post

    Hi Sagar,

     Why don't you use a StackedBar (choose Stacked Bar from the DropDownList ) series to achieve this? Having two series where the YValue of the first item of each is 50 will lead to what you required.

    Regards,
    Evgenia
    Telerik
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top