Added the following to support manual control of gauge color and text:
setIndicatorColor()
, set the color of the indicator and change the color mode to manualsetText()
, set the text displayed in the gauge and change the display mode to textArcGauge.COLOR_MODE_MANUAL
, new option foroptions.colorMode
, the color of the indicator will not automatically change based on the valueArcGauge.DISPLAY_TEXT
, new option foroptions.textDisplayMode
, the text on the gauge will not automatically change to the valuedemo()
, returns the instance of the ArcGauge that it is operating upon.
The demo has been updated to demonstrate setIndicatorColor()
and setText()
.