Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.4.0 (build 3064) - 19 February 2020.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    UV and Ozone

    Discussion of Mark Crossley's HTML5/Javascript gauges

    Moderator: mcrossley

    User avatar
    BeaumarisWX
    Posts: 197
    Joined: Mon 09 Apr 2012 2:38 pm
    Weather Station: Davis VP2 Plus - 24hr FARS
    Operating System: Windows 10 Home (64bit)
    Location: Beaumaris Tasmania
    Contact:

    Re: UV and Ozone

    Post by BeaumarisWX » Sun 29 May 2016 8:31 am

    Hi Jeremy,

    Well this last season saw our Min/Max Scale being hit regularly, so i expanded both Gauge Scale and GFS Map Scale.

    Now does full range as per your earlier post, just added more gradients in case you want it.

    Code below;

    Code: Select all

    ozoneGaugeScaleMin     : 100,              //Min value to be shown on the ozone column
    ozoneGaugeScaleMax     : 500,              //Max value to be shown on the ozone column
    
    ================================
    cache.sections = [		   
    steelseries.Section(100, 130, 'rgba(10,0,10, 1)'),
    steelseries.Section(130, 140, 'rgba(36,0,36, 1)'),
    steelseries.Section(140, 150, 'rgba(63,0,63, 1)'),
    steelseries.Section(150, 160, 'rgba(106,0,106, 1)'),
    steelseries.Section(160, 170, 'rgba(123,0,123, 1)'),
    steelseries.Section(170, 180, 'rgba(140,0,140, 1)'),
    steelseries.Section(180, 190, 'rgba(124,10,164, 1)'),
    steelseries.Section(190, 200, 'rgba(109,20,189, 1)'),
    steelseries.Section(200, 210, 'rgba(94,30,214, 1)'),
    steelseries.Section(210, 220, 'rgba(67,31,227, 1)'),
    steelseries.Section(220, 230, 'rgba(41,33,241, 1)'),
    steelseries.Section(230, 240, 'rgba(15,35,255, 1)'),
    steelseries.Section(240, 250, 'rgba(5,91,241, 1)'),
    steelseries.Section(250, 260, 'rgba(0,120,235, 1)'),
    steelseries.Section(260, 270, 'rgba(0,142,220, 1)'),
    steelseries.Section(270, 275, 'rgba(0,165,205, 1)'),
    steelseries.Section(275, 280, 'rgba(0,188,191, 1)'),
    steelseries.Section(280, 285, 'rgba(0,210,212, 1)'),
    steelseries.Section(285, 290, 'rgba(0,232,233, 1)'),
    steelseries.Section(290, 295, 'rgba(0,255,255, 1)'),
    steelseries.Section(295, 300, 'rgba(38,255,187, 1)'),
    steelseries.Section(300, 310, 'rgba(76,255,120, 1)'),
    steelseries.Section(310, 320, 'rgba(114,255,53, 1)'),
    steelseries.Section(320, 330, 'rgba(76,255,35, 1)'),
    steelseries.Section(330, 340, 'rgba(38,255,17, 1)'),
    steelseries.Section(340, 350, 'rgba(0,255,0, 1)'),
    steelseries.Section(350, 360, 'rgba(64,247,0, 1)'),
    steelseries.Section(360, 370, 'rgba(192,233,0, 1)'),
    steelseries.Section(370, 380, 'rgba(233,244,0, 1)'),
    steelseries.Section(380, 390, 'rgba(255,255,0, 1)'),			   
    steelseries.Section(390, 400, 'rgba(255,221,0, 1)'),
    steelseries.Section(400, 410, 'rgba(255,188,0, 1)'),			   
    steelseries.Section(410, 420, 'rgba(255,155,0, 1)'),
    steelseries.Section(420, 430, 'rgba(238,117,0, 1)'),
    steelseries.Section(430, 440, 'rgba(222,80,0, 1)'),
    steelseries.Section(440, 450, 'rgba(206,43,0, 1)'),
    steelseries.Section(450, 460, 'rgba(165,31,11, 1)'),
    steelseries.Section(460, 470, 'rgba(125,20,22, 1)'),
    steelseries.Section(470, 480, 'rgba(90,15,16, 1)'),
    steelseries.Section(480, 500, 'rgba(55,10,10, 1)')		   
    ];
    http://hrvistaweather.com/weather/wxssgauges.php
    http://hrvistaweather.com/weather/wxuvforecast.php
    http://hrvistaweather.com/weather/wxgfs_ozone.php

    regards,
    You do not have the required permissions to view the files attached to this post.
    Tony

    Post Reply