Upgrade ui_gauge Library

#1

Hi there,
are you thinking of updating the underlying lib for gauges?

I'm looking for the possibility to configure more than 3 sectors in the gauge.

The latest https://github.com/toorshia/justgage would be from September 26, 2016. - release 1.2.9, currently there's 1.2.2 integrated.

best,
Oliver

0 Likes

#2

Well the latest on npm is still 1.2.2 so not really easy. :slight_smile:
Also there are currently no plans to add extra segments to the configuration ui.

0 Likes

#3

Thanks for the info, I contacted the maintainer what he thinks about updating his npm package.

More segments should be possible by passing the config directly to justgage - as your documentation suggests:

The gauge options can accept any of the Justgage parameters for example:

{"options":{"pointer":false,"gaugeWidthScale":1.5}}
{"options":{"pointer":true,"gaugeWidthScale":0.4,"reverse":true}}

0 Likes

#4

cool - worth a try - let us know how you get on with both.

1 Like