r/ASPNET • • Apr 09 '13
Kendo UI Gauge -- Using local data
Hi
I asked this question on Stackoverflow but had no luck, was hoping someone here could help: http://stackoverflow.com/questions/15882939/binding-a-kendo-gauge-to-local-data
EDIT -- What we actually want is to bind a datasource to the gauge and allow the gauge to be refreshed periodically seperate to the rest of the page, do you know how to do this?
<div id="operatorGauge">
@(Html.Kendo().RadialGauge()
.Name("gauge")
.Pointer(pointer =>pointer.Value(VARIABLE_FROM_CONTROLLER) )
.Scale(scale => scale
.MinorUnit(5)
.StartAngle(-30)
.EndAngle(210)
.Max(180)
)
</div>
5
Upvotes
View all comments
Show parent comment
1
u/[deleted] Apr 10 '13
Thanks for this, but I may have worded my post a little wrong after discussing with a colleague.
What we actually want is to bind a datasource to the gauge and allow the gauge to be refreshed periodically seperate to the rest of the page, do you know how to do this?