Set Series Color on Bound

2 posts, 0 answers
  1. Thao
    Thao avatar
    2 posts
    Member since:
    Jan 2012

    Posted 12 Jun 2012 Link to this post

    I have a bar chart from an SqlDataSource working well.  By default, all bars (series) are the same color.  I would to be able to set each color programatically as they are added to the chart.  How do I capture the series bounding event? 

    Thank you.

  2. Marin Bratanov
    Marin Bratanov avatar
    5925 posts

    Posted 13 Jun 2012 Link to this post

    Hello Ramon,

    Due to the fact the the RadHtmlChart is rendered entirely on the client it does not have an ItemDataBound event. The series currently support only items with the same color to handle the case where multiple series are present in the same chart. In case this feature becomes popular among the community we will consider its implementation.

    Marin Bratanov
    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