Yes from all that you have written, this is what makes sense and this is 
what you want to change. 

I will probably release a new version (2.2.0) by the end of this week, 
which will include your first proposed improvement, the configurable yScale 
delta. The second improvement will hit in the next release. Thank you for 
your feedback!
luca.mo...@gmail.com schrieb am Sonntag, 14. August 2022 um 09:51:09 UTC+2:

> I read in https://www.weewx.com/docs/customizing.htm :
>
> *aggregate_interval*
>
> *The time period over which the data should be aggregated, in seconds. 
> Required if aggregate_type has been set. Alternatively, the time can be 
> specified by using one of the "shortcuts" (that is, hour, day, week, month, 
> or year).*
> So, you would like to implement in your code the "aggregate_interval".
> At this moment the value of aggregate_interval is "coded" inside the 
> software.
> You would like to let the user to be able to set this value for each 
> contex/observation.
>
> This is probably the correct and most "elegant" solution.
>
> I agree with you. 
>
>
>
>
> Il giorno sab 13 ago 2022 alle ore 16:22 David Bätge <david....@gmail.com> 
> ha scritto:
>
>> I think we are talking about slightly different things. Let me explain:
>>
>> The values for
>>
>>
>>
>>
>> *Today = last 24 hoursWeek = last 168 hoursMonth = last 31 daysYear = 
>> last 365 days*
>>
>> will not change and will not be changeable by the user because this would 
>> not make any sense. Last week will consist of the last 7 days, not 6, not 
>> 8. Every time period is a constant.
>>
>> *Currently each chart consists of 48 values (every 30 min per daily 
>> chart) (except for rain and evotranspiration)*
>>
>> Only the charts on the index page consist of 48 points:
>>
>> The index page, has a time span of 24h, aggregate_interval of 30min, so 
>> 24/0.5 = *48 points*
>> The weekly page, has a time span of 7 days (168h), aggregate_interval of 
>> 2h, so 168/2 = *84 points*
>> The monthly pages, have a time span of 31 days (744h), aggregate_interval 
>> of 6h, so 744/6 = *124 points*
>> As I said, the aggregate_interval for the stats page (alltime) gets 
>> calculated automatically to not make the graphs too heavy by producing too 
>> many points (currently the max is 100 points on the stats page).
>>
>> What you want to change is the aggregate_interval, that is what you call 
>> *resolution*. 
>>
>> This should be changeable for 
>> 1. The context, eg. index, weekly, monthly, yearly
>> 2. The observation (You are right, this should be changeable for every 
>> single graph (observation).)
>>
>> However, I tend to implement the aggregate_interval, and not a multiplier 
>> for multiple reasons:
>> - weewx also uses this in the image generator so users should/could know 
>> about this
>> - To accomplish a specific resolution, the user would need to calculate 
>> the specific multiplier, with a aggregate_interval it is much easier I 
>> think!?
>> - with the aggregate_interval, the user would be really "free" in what to 
>> configure (like everything is possible)
>>
>> Please let me know what you think about that. And by the way, your 
>> English isn't bad at all ;)
>> Best regards
>> luca.mo...@gmail.com schrieb am Freitag, 12. August 2022 um 16:56:19 
>> UTC+2:
>>
>>> > Currently, there are predefined aggregate_intervals for each page 
>>> (index, week, month, year and stats) that should make sense. I thought 
>>> about making it possible (opt-in) to change these values for every page.
>>>
>>> Probably this does not have much sense and needs much effort in 
>>> programming.
>>> I think that:
>>> Today = last 24 hours
>>> Week = last 168 hours
>>> Month = last 31 days
>>> Year = last 365 days
>>> are correct values.
>>>
>>> Currently each chart consists of 48 values (every 30 min per daily chart) 
>>> (except for rain and evotranspiration)
>>> With this resolution sometimes the graphs are not correct and not 
>>> sufficiently explanatory
>>>
>>> [image: image.png]
>>>
>>> In my opinion the user should be able (for each single graph) to add a 
>>> "resolution multiplier" (values 1, 2 or 3). This value should multiply the 
>>> calculated resolution.
>>> i.e. 48 (x1), 96 (x2) or 144 (x3) values for daily, 84 (x1), 168 (x2) or 
>>> 252 (x3) values for weekly, etc.
>>>
>>> I apologize for my bad English.
>>>
>>> Best regards.
>>>
>>> Il giorno ven 12 ago 2022 alle ore 02:13 David Bätge <
>>> david....@gmail.com> ha scritto:
>>>
>>>> OK, I just wanted to make sure we are talking about the same.
>>>>
>>>> Currently, there are predefined aggregate_intervals for each page 
>>>> (index, week, month, year and stats) that should make sense. I thought 
>>>> about making it possible (opt-in) to change these values for every page. 
>>>> Actually, on the stats page, the interval gets automatically calculated to 
>>>> make the diagrams not too heavy.
>>>>
>>>> Sorry, but I don't get what you mean by threshold, should the skin then 
>>>> decide what's best? Like on the index page it could be 10 minutes and on 
>>>> the monthly page 60 minutes? 
>>>>
>>>> luca.mo...@gmail.com schrieb am Donnerstag, 11. August 2022 um 
>>>> 08:19:06 UTC+2:
>>>>
>>>>> My fault. 30 minutes is the actual value.
>>>>>
>>>>> I think it would be better to impose a lower and upper threshold (for 
>>>>> example max 10 minutes and min 60 minutes)
>>>>> Without these thresholds the web page can become too heavy
>>>>>
>>>>> [image: width=] 
>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>>>  Privo 
>>>>> di virus.www.avast.com 
>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>>>  
>>>>> <#m_2721223907455709450_m_-1410818193756560698_m_-2243566614819322018_m_-1649220862571718601_m_-7511653341036107372_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>
>>>>> Il giorno gio 11 ago 2022 alle ore 01:46 David Bätge <
>>>>> david....@gmail.com> ha scritto:
>>>>>
>>>>>> And that's another reasonable improvement! That's the so-called 
>>>>>> aggregate_interval. 
>>>>>> I added another issue (
>>>>>> https://github.com/Daveiano/weewx-wdc/issues/55), which will be 
>>>>>> available in a future release.
>>>>>>
>>>>>> But where do you observe a 15 minutes interval? On the index page, it 
>>>>>> should be set to 30 minutes. 
>>>>>> luca.mo...@gmail.com schrieb am Mittwoch, 10. August 2022 um 
>>>>>> 15:52:00 UTC+2:
>>>>>>
>>>>>>> I would like to propose a further improvement.
>>>>>>> Currently the graphs have a resolution of 15 minutes.
>>>>>>> It would be interesting to be able to customize this resolution for 
>>>>>>> each individual chart.
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Il giorno lunedì 8 agosto 2022 alle 04:57:55 UTC+2 
>>>>>>> david....@gmail.com ha scritto:
>>>>>>>
>>>>>>>> Hi there, I am the creator of this skin. 
>>>>>>>>
>>>>>>>> The graphs are getting generated via Javascript, not via the weewx 
>>>>>>>> image generator, so setting these options will not have any effect. 
>>>>>>>>
>>>>>>>> You are right, currently, the yScale delta is tied to the 
>>>>>>>> observation, in that case, temperature, which has a defined delta of 3 
>>>>>>>> in 
>>>>>>>> the skin. Another user also requested to change this, so I think it 
>>>>>>>> would 
>>>>>>>> be good to add this option to the skin. I added a quick issue for that 
>>>>>>>> to 
>>>>>>>> track the progress: https://github.com/Daveiano/weewx-wdc/issues/49
>>>>>>>> Will be available in an upcoming release!
>>>>>>>> luca.mo...@gmail.com schrieb am Sonntag, 7. August 2022 um 
>>>>>>>> 22:11:43 UTC+2:
>>>>>>>>
>>>>>>>>> I've tried to add
>>>>>>>>>  
>>>>>>>>>        [[[inTemp]]]
>>>>>>>>>             yscale = None, None, 0.02
>>>>>>>>>  
>>>>>>>>> to skin.conf
>>>>>>>>>
>>>>>>>>> But it doesn't works.
>>>>>>>>>
>>>>>>>>> In wdc skin seems that the "data-obs" variable (that define the 
>>>>>>>>> type of graph) with value "temp" drive all the parameters of the 
>>>>>>>>> graph.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>> Il giorno domenica 7 agosto 2022 alle 20:40:52 UTC+2 
>>>>>>>>> peterq...@gmail.com ha scritto:
>>>>>>>>>
>>>>>>>>>> I don't know that skin - and I took a quick look at it and it 
>>>>>>>>>> looks like you'd find this defined in the skin.conf file. One thing 
>>>>>>>>>> you 
>>>>>>>>>> should look at is the customization doc with regards to y axis 
>>>>>>>>>> scaling 
>>>>>>>>>> here: https://www.weewx.com/docs/customizing.htm#Image_files
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Aug 7, 2022 at 11:18 AM Montefiori Luca <
>>>>>>>>>> luca.mo...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> I hope this is the right place for this question.
>>>>>>>>>>>
>>>>>>>>>>> I'm using WDC Skin versione 2.0.1
>>>>>>>>>>>  
>>>>>>>>>>> [image: Inside_Temperature.jpg]
>>>>>>>>>>> In each "temp" graph there is a 3° "delta" in top and low scale.
>>>>>>>>>>> I would like to know if there is the possibility to adjust this 
>>>>>>>>>>> delta to other values (i.e 1 or 0)
>>>>>>>>>>>
>>>>>>>>>>> Thanks in advance for your answer.
>>>>>>>>>>>
>>>>>>>>>>> -- 
>>>>>>>>>>> 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+...@googlegroups.com.
>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/54ad85d7-674a-4c89-8e78-f66263e8f106n%40googlegroups.com
>>>>>>>>>>>  
>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/54ad85d7-674a-4c89-8e78-f66263e8f106n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> Peter Quinn
>>>>>>>>>> (415)794-2264 <(415)%20794-2264>
>>>>>>>>>>
>>>>>>>>> -- 
>>>>>>
>>>>> You received this message because you are subscribed to a topic in the 
>>>>>> Google Groups "weewx-user" group.
>>>>>> To unsubscribe from this topic, visit 
>>>>>> https://groups.google.com/d/topic/weewx-user/L0IlIQmpa-8/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> weewx-user+...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/11c63821-f200-49e5-9136-cf0d4374cc4an%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/11c63821-f200-49e5-9136-cf0d4374cc4an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> ---------------------------------------
>>>>> Luca Montefiori
>>>>> Via Campalmonte,11
>>>>> 48032 Casola Valsenio (RA)
>>>>> ---------------------------------------
>>>>> e-mail: luca.mo...@gmail.com
>>>>> PEC: luca.mo...@pec.it
>>>>> Tel. 0546 73890
>>>>> Cell. 347 9151191 <(347)%20915-1191>
>>>>> ---------------------------------------
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "weewx-user" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/weewx-user/L0IlIQmpa-8/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> weewx-user+...@googlegroups.com.
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/3c5a4113-4f6e-4025-944d-bb6bf0ad29cbn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/3c5a4113-4f6e-4025-944d-bb6bf0ad29cbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> ---------------------------------------
>>> Luca Montefiori
>>> Via Campalmonte,11
>>> 48032 Casola Valsenio (RA)
>>> ---------------------------------------
>>> e-mail: luca.mo...@gmail.com
>>> PEC: luca.mo...@pec.it
>>> Tel. 0546 73890
>>> Cell. 347 9151191 <(347)%20915-1191>
>>> ---------------------------------------
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/L0IlIQmpa-8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/56688189-d20c-43a1-9a5b-1eea76de2398n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/56688189-d20c-43a1-9a5b-1eea76de2398n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> ---------------------------------------
> Luca Montefiori
> Via Campalmonte,11
> 48032 Casola Valsenio (RA)
> ---------------------------------------
> e-mail: luca.mo...@gmail.com
> PEC: luca.mo...@pec.it
> Tel. 0546 73890
> Cell. 347 9151191 <(347)%20915-1191>
> ---------------------------------------
>

-- 
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/f16d625e-7cb3-4739-a343-6054015c127dn%40googlegroups.com.

Reply via email to