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

Set category axis title dynamically

2 Answers 89 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Artur
Top achievements
Rank 1
Artur asked on 02 Nov 2015, 12:20 PM

Hi,

I want to change dynamically category axis tile. I'm using angular and want to do that angular way. Here is code: http://dojo.telerik.com/@arturkula/ulOgI/13

When clicking on category radios the category axis title should change. 

The title changes only when i'm using jquery.

Can it be achieved not using jquery?

Thanks for your help.

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 04 Nov 2015, 09:13 AM
Hello,

Yes, it is possible by using the k-rebind attribute. I updated the example. The other option to avoid using jQuery is to set the widget instance to the scope and use the setOptions method.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Artur
Top achievements
Rank 1
answered on 04 Nov 2015, 10:20 AM
Thank you very much for your help! :)
Tags
Charts
Asked by
Artur
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Artur
Top achievements
Rank 1
Share this question
or