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

Can I somehow bind to a radial gauge?

2 Answers 59 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Veteran
Steve asked on 16 Jun 2012, 05:46 PM
Can MVVM be applied to a Radial Gauge?

I can't seem to get a data-role to do anything, and if I initalize it in code, I cant data-bind the value either

...custom binder if it's not supported out of the box?

2 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 20 Jun 2012, 02:18 PM
Hi Steve,

In order to create Kendo Radial Gauge you need to do following:

<div id="gauge" data-role="radialgauge"></div>   
<script>                                         
    kendo.bind($("#gauge"), {}, kendo.dataviz.ui);
</script>
Specify the namespace of the control that you want to create(by default is kendo.web.ui).

I will add this in our documentation.

Greetings,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Steve
Top achievements
Rank 2
Veteran
answered on 20 Jun 2012, 02:19 PM
Oh fantastic thanks, can you hook this up into a demo too perhaps (MVVM->dataviz)
Tags
MVVM
Asked by
Steve
Top achievements
Rank 2
Veteran
Answers by
Hristo Germanov
Telerik team
Steve
Top achievements
Rank 2
Veteran
Share this question
or