RadMie / ng-knob

Angular.js directive to Knob component powered by d3.js (without jQuery)
http://radmie.github.io/ng-knob
MIT License
117 stars 48 forks source link

How to stop knob value at maximum limit? #49

Open srinivasvardhan opened 7 years ago

srinivasvardhan commented 7 years ago

The knob moves to 0 after rotating it to the max value. Is there a way to stop rotating the knob after reaching the maximum or minimum value?

andplusblaw commented 7 years ago

I want to know if this is possible as well, I want to display a full knob but only allow the user to rotate to a certain point. I can draw 2 knobs, once is read only and the other does the rotating and place the rotating on top the readonly, but that seems a tad bit hacky, is there an option to do something like this?