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

Feature Request: Zero-based reversing #57

Open CrappyTan opened 4 years ago

CrappyTan commented 4 years ago

Hi,

I would like to use the ng-knob as a zero-based knob. For example, I have a knob which has a min/max of -100/100. I would like starting point to be zero. Any positive values would be on the right of the mid-point and any negative values will be on the left.

Usage example: Grid power consumption. If I am pushing power back into the grid (solar panels) it should swing on positive side and if I am using power it should be on the negative side.

Hoping someone brainier than I could help implement this?

OstertagM commented 3 years ago

Hey I search also for this. did you find any solution?