Binding Graphs Category and Value Axis with MVVM

2 posts, 0 answers
  1. Falafel Support
    Falafel Support avatar
    24 posts
    Member since:
    Sep 2009

    Posted 20 Apr 2015 Link to this post

    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 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?




  2. T. Tsonev
    T. Tsonev avatar
    2817 posts

    Posted 23 Apr 2015 Link to this post


    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.

    T. Tsonev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top