Page 1 of 1

Steel Gauges wind speed without decimal place

Posted: Thu Jun 01, 2017 6:58 am
by colinpb
I’m running Steel Gauges version 2.5.18 and wondered if it’s possible to change the wind speed to whole numbers without a decimal place.

Colin

Re: Steel Gauges wind speed without decimal place

Posted: Thu Jun 01, 2017 11:42 am
by mcrossley
Hi Colin, on the gauge itself, or in the pop-up text?

Re: Steel Gauges wind speed without decimal place

Posted: Thu Jun 01, 2017 5:11 pm
by colinpb
Hi Mark

On the gauge itself

Colin

Re: Steel Gauges wind speed without decimal place

Posted: Sat Jun 03, 2017 9:48 am
by mcrossley
I'm out this weekend at the Tattoo Classic & Sports Car show so I'll pick this up on Sunday evening.

Re: Steel Gauges wind speed without decimal place

Posted: Mon Jul 10, 2017 7:25 pm
by wi3x
In the gauges.js file I just changed....
lcdDecimals : 1, to
lcdDecimals : 0,

http://weather.wi3x.com/gauges-ss.htm

=======================================================================================
commonParams = {
// Common parameters for all the SteelSeries gauges
fullScaleDeflectionTime : 5, //Bigger numbers (seconds) slow the gauge pointer movements more
gaugeType : gauge.gaugeType,
minValue : 0,
niceScale : true,
ledVisible : false,
frameDesign : gauge.frameDesign,
backgroundColor : gauge.background,
foregroundType : gauge.foreground,
pointerType : gauge.pointer,
pointerColor : gauge.pointerColour,
knobType : gauge.knob,
knobStyle : gauge.knobStyle,
lcdColor : gauge.lcdColour,
lcdDecimals : 0,
digitalFont : config.digitalFont,
tickLabelOrientation : gauge.tickLabelOrientation,
labelNumberFormat : gauge.labelFormat