This is a migrated thread and some comments may be shown as answers.

Change bar color when clicked

1 Answer 269 Views
Charts
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 19 Jun 2013, 12:42 AM
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?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 20 Jun 2013, 02:03 PM
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!
Tags
Charts
Asked by
William
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or