jQWidgets Forums

jQuery UI Widgets Forums Gauges and Maps Gauges linear gauge pointer Reply To: linear gauge pointer

linear gauge pointer #68516

Gary
Participant

The confusion here is that the documentation reads:
“‘pointerType’ – specifies the pointer type. Possible values for this property are – ‘default’ and ‘rectangle’. If it’s value is ‘default’ the pointer will be arrow otherwise it’ll be rectangle”

This makes it sound like the only valid values are ‘default’ and ‘rectangle’.
This is made more confusing by the linear gauge example being called
“pointer is set to { pointerType: ‘arrow’, size: ‘5%’, visible: true, offset: 10 }”
but actually displaying type ‘rectangle’.

Worse, when the pointerType IS set to ‘arrow’ in this fiddle, the pointer is displayed at value 0 regardless of the actual value.