canvas-gauges
canvas-gauges copied to clipboard
compass gauge with int values
I need to create a compass gauge that display the integer value of the angle.
The compass should display both majorTicks ['0', '45', '90', '135', '180', '225', '270', '315', '']
and also compassMajorChars = ['N', '', 'E', '', 'S', '', 'W', '', ''];
in addition, I need to display the value box in the middle of the gauge.
for this task, it was nice if there were the additional following features:
-
valueBox.position
[ top | bottom | middle ] -
valueBox.padding
- I need less padding, to make more place for the ticksText... -
majorTicks.radiusPosition
[ percent of the gauge width ] -
majorAdditionalTicks
- array, can be the same array.length as majorTicks -
majorAdditionalTicks.radiusPosition
-
majorAdditionalTicks.font
(in my case, larger then majorTicks.font...)
您的邮件我已收到,谢谢!