Mult fixed my problem, though I hadn't implemented it correctly.  However I 
agree with your change to the test.

On Friday, 5 March 2021 at 12:00:18 UTC michael.k...@gmx.at wrote:

> I think the problem is with the comparisons:
>
> if (value >= (float(c[0])*mult)) and (value <= (float(c[1])*mult)): 
>
> this should probably be:
> if (value >= (float(c[0])*mult)) and (value < (float(c[1])*mult)):  
>  
> With the >= and <= certain values match two colors
> michael.k...@gmx.at schrieb am Freitag, 5. März 2021 um 12:52:30 UTC+1:
>
>> I'll take a look at it. I can reproduce the double-double-quot issue. For 
>> the color and maximum days: that's related to your (or the default) 
>> configuration.
>>
>> Auchtermuchty Weather schrieb am Freitag, 5. März 2021 um 12:46:34 UTC+1:
>>
>>> And of course my initial fix isn't quite right...
>>>
>>> On Friday, 5 March 2021 at 11:39:24 UTC Auchtermuchty Weather wrote:
>>>
>>>> I reported an issue with the Days of rain table which turned out to be 
>>>> caused by the maximum value for colour coding being 50, and there almost 
>>>> always being more than 50 days of rain per year where I live.  I've put my 
>>>> fixed code in the 'issues':
>>>>
>>>> LiveCharts - Days of Rain errors · Issue #60 · brewster76/fuzzy-archer 
>>>> (github.com) <https://github.com/brewster76/fuzzy-archer/issues/60#> 
>>>>  
>>>>
>>>> On Thursday, 4 March 2021 at 09:59:08 UTC michael.k...@gmx.at wrote:
>>>>
>>>>> There is no out-of-the-box template for displaying these values. The 
>>>>> way you did this, is one of several possible ways to go. Adapting the 
>>>>> templates to your own, customized needs, is always possible.
>>>>>
>>>>> For the missing template in the installer: thank you, I fixed it.
>>>>> Michael schrieb am Donnerstag, 4. März 2021 um 09:20:25 UTC+1:
>>>>>
>>>>>> Is there a (hopefully simple) way to display the values of the gauge 
>>>>>> in tabular form (e.g. as they are displayed in the Seasons skin)?
>>>>>> For this display I have added the lines to the file 
>>>>>> livegauges.html.tmpl
>>>>>>
>>>>>>                   <tr>
>>>>>>                     <td>$Labels.Generic.outTemp</td>
>>>>>>                     <td>23 °C / 57%</td>
>>>>>>                   </tr>
>>>>>>
>>>>>> Example:
>>>>>> [image: Screenshot.png]
>>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3f550f3c-9761-42aa-bbd5-a8a845ae4313n%40googlegroups.com.

Reply via email to