Conditional formatting on column series

3 posts, 1 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 23 Mar 2015 Link to this post

    Hi,

    I'd like to conditionally format data in a column series.

    The demo for this that is in the demos section purports to being conditional formatting but it isn't.  It is actually simple series formatting.(http://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/custombarcolor/defaultvb.aspx?show-source=true).  I don't want to have to have two series merged into one or to fiddle with the sql code.

    I want to be able to do the following:
    Value is above 90 colour the column green
    Between 70 and 90 colour it orange
    Below 70 colour it red

    That is conditional formatting.  I am happy doing it in a data bound type event however there are no samples that I could see for this.  Please could one be generated and added to the demo lists.

    Regards

    Jon
  2. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 23 Mar 2015 Link to this post

    Hi Jon,

    You can set conditional color for series items by defining functions, as illustrated in this feedback item - http://feedback.telerik.com/Project/108/Feedback/Details/154102

    I have also updated your Telerik points for sharing your ideas with us.

    Regards,
    Danail Vasilev
    Telerik
     

    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 23 Mar 2015 in reply to Danail Vasilev Link to this post

    Hi Danail

    That works perfectly thank you.  It would be great to see more of these work around type functions shown as demos, I've seen so many of them now that they really do enchance what you can do.

    I was going to say you probably don't need it as an integrated option but you do because obviously people will want to have the charts in reports and the kendo JS functions won't help there will they.

    Thanks again for your help.

    Jon
Back to Top