Hi
How do I change MAX scale on temp gauge (now it goes from: -20 to 80).
I want Max to be 50
And how do I delete digital numbers on the wind gauge
See test here:
See my attached file.
gauges.js.txt (133 KB)
Hi
How do I change MAX scale on temp gauge (now it goes from: -20 to 80).
I want Max to be 50
And how do I delete digital numbers on the wind gauge
See test here:
See my attached file.
gauges.js.txt (133 KB)
The temperature scale problem is because you have some character set issues that need resolving.
The script is seeing your temperature unit string as “°C”, which is messing up the logic.
You need to get everything into the UTF-8 character set for the gauges to work properly. I believe Ken has an update to the template available to do this.
Disabling the wind run display on the wind rose is the easy bit. At line 38 in gauges.js change…
showRoseGaugeOdo : true, //Show the optional Wind Rose gauge Windrun Odometer
to
showRoseGaugeOdo : false, //Show the optional Wind Rose gauge Windrun Odometer
No, it’s digits in winddir I want removed.
"You need to get everything into the UTF-8 character set for the gauges to work properly. I believe Ken has an update to the template available to do this.
"
Ok I will ask Ken.
OK, my mistake.
You need to add the following gauge initialisation parameter to the “drawDir” function…
params.lcdVisible = false;
Yes, thank you, that helped: lol:
How do I change design on winddir like the attachment?
Try…
params.roseVisible = true;
Yes, thanks
I have sent an email to Ken about the: UTF-8 character.
Steffen,
Your page displays a mix of ISO-8859-1 and UTF-8 because you are running V2 of the template set and not V3 – the support for UTF-8/HTML5 to run the gauges only applies to the V3 updates of the templates. I think that to fix the issue fully you will need to update your template set from V2 (not supported since January, 2011) and you can do that easily by using the V2->V3 upgrade tool.
Best regards,
Ken
Hi Ken
If I want to use my current layout is possible only to change some vital files (settings.php, footer.php, common.php, top.php, header.php)
Or shall all files change/replaced?