Since I do not want a static value in my gauge, I want to use some model value. By checking the documentation of the gauge, there is none example to bind it with a model. Is there any example to perform this in asp.net core?
1 Answer, 1 is accepted
answered on 31 Oct 2018, 07:41 AM
You can set the values of the Gauge directly from the ViewModel:
.Pointer(pointer => pointer.Value(Model))
.Scale(scale => scale
If the Gauge will be used within a template that will be evaluated on client-side and should be bound to a client model you could use the MVVM binding: