Change bar color when clicked

2 posts, 0 answers
  1. William
    William avatar
    56 posts
    Member since:
    Sep 2008

    Posted 18 Jun 2013 Link to this post

    Is it possible to change the bar color when a bar is clicked?  If I have 5 orange bars I want to click on one and have it turn blue.  Then if I click a different one the blue one turn orange and the new clicked one turns blue.  Is this possible without having to generate the entire chart?
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 20 Jun 2013 Link to this post

    Hello William,

    Basically your scenario is not supported by Kendo UI Chart, however you could achieve it using additional code. As a possible approach I can suggest the following:

    For your convenience here is a simple jsBin example which demonstrates the suggested approach in action.
     
    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top