ciao Raf, a questa pagina c'è un test con il barometro "grande"
http://www.meteobellaria.it/stazione1/gaugesSSraf.php
Sorry If I speak Italian, I told raf to go to the web page: I made a test
I made a "new" gauges_raf.js with some modification
Code: Select all
$('#canvas_dew').parent().remove();
$('#canvas_hum').parent().remove();
$('#canvasGauge').parent().remove();
$('#canvas_dir').parent().remove();
$('#canvas_rain').parent().remove();
$('#canvas_rrate').parent().remove();
$('#canvas_temp').parent().remove();
$('#canvas_wind').parent().remove();
set the dimension of the only gauge displayed
Code: Select all
gaugeSize : 599, //size of gauges (default 221) - Odd numbers tend to render better than even
and added comment to these lines because they give me problem with countown
Code: Select all
// _gaugeWind.setUnitString(data.windunit);
// _gaugeWind.setValue(0);
the web page with only baro should use NOT gauges.js but gauges_raf.js
Code: Select all
<script src="steelseries/scripts_beta4/gaugesraf.js"></script>
and the dimension of canvas_baro shlud be modified
Code: Select all
<canvas id="canvas_baro" width="600" height="600"></canvas>