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

Binding Graphs Category and Value Axis with MVVM

1 Answer 108 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Falafel Support
Top achievements
Rank 1
Falafel Support asked on 21 Apr 2015, 04:19 AM

I have a requirement where the number of graphs, graph data and information related to graph are all bound via a web service call.

 I am trying to find if there is a way to bind Graph's Category, Value Axis' Titles and Graph Title from a web service call. Please see http://dojo.telerik.com/OyEVi for an example of what I am trying to accomplish. I am dynamically trying to bind category and value axis titles to "GraphValueAxisTitle" and "GraphCategoryAxisTitle". Just wondering if its possible to data bind this information via MVVM?

 

Thanks

Venkata

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 23 Apr 2015, 07:23 AM
Hello,

Only properties bound through data-bind will track the model. Everything else is static configuration with data-* syntax.

In order to apply the dynamic configuration you'll either need to call setOptions({ ... }) on the widget or recreate it entirely.

I hope this helps.

Regards,
T. Tsonev
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
Falafel Support
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or