Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Change zoom charts
Moderator: HansR
- Dador
- Posts: 188
- Joined: Thu 24 Nov 2011 2:22 pm
- Weather Station: Davis VP2 Plus & Ecowitt
- Operating System: Windows 10
- Location: Rybnik, Poland
- Contact:
Change zoom charts
Hi HansR,
Quick question. Is it possible to add values e.g. 12h, 24h in the zoom options on the charts?
I admit that I would be more interested in a 24-hour chart than, for example, on an 18 or 36-hour chart.
Quick question. Is it possible to add values e.g. 12h, 24h in the zoom options on the charts?
I admit that I would be more interested in a 24-hour chart than, for example, on an 18 or 36-hour chart.
- HansR
- Posts: 5871
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bullseye
- Location: Wagenborgen (NL)
- Contact:
Re: Change zoom charts
Hi Dador,
The zoom options for the ChartsCompiler charts (I assume from your website that is what you are talking about) are governed by the nr of hours you are plotting (CMX setting: Station Settings=>Graphs=>Graph hours). The first button gives [nr of hrs]/4, the second button gives [nr of hrs/2.
So if you set your nr of hours to 48, you get your 12 and 24 hr buttons.
Hope this helps, I will add a note in the Wiki for the CDL
The zoom options for the ChartsCompiler charts (I assume from your website that is what you are talking about) are governed by the nr of hours you are plotting (CMX setting: Station Settings=>Graphs=>Graph hours). The first button gives [nr of hrs]/4, the second button gives [nr of hrs/2.
So if you set your nr of hours to 48, you get your 12 and 24 hr buttons.
Hope this helps, I will add a note in the Wiki for the CDL
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- Dador
- Posts: 188
- Joined: Thu 24 Nov 2011 2:22 pm
- Weather Station: Davis VP2 Plus & Ecowitt
- Operating System: Windows 10
- Location: Rybnik, Poland
- Contact:
Re: Change zoom charts
Thanks a lot. I had no idea it worked that way.
- Dador
- Posts: 188
- Joined: Thu 24 Nov 2011 2:22 pm
- Weather Station: Davis VP2 Plus & Ecowitt
- Operating System: Windows 10
- Location: Rybnik, Poland
- Contact:
Re: Change zoom charts
Hans,
I currently have 96h, 48h and 24h set. Is it possible for the graph window to open with a 24h zoom instead of 96h? This can be easily set in CMX options, but how is cutils? Can something be changed in the code or added?
I currently have 96h, 48h and 24h set. Is it possible for the graph window to open with a 24h zoom instead of 96h? This can be easily set in CMX options, but how is cutils? Can something be changed in the code or added?
- HansR
- Posts: 5871
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bullseye
- Location: Wagenborgen (NL)
- Contact:
Re: Change zoom charts
Hi,
CumulusUtils uses the number of hours as defined by CMX. You want the 96 as possible but start with with 24? The charts always open to the highest nr of hrs in Cutils. I have no idea how to configure that in CMX. Could you point me how I do configure that in CMX, than I could use that parameter to do the same in CUtils. Or is it configured in the CMX standard website?
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- Dador
- Posts: 188
- Joined: Thu 24 Nov 2011 2:22 pm
- Weather Station: Davis VP2 Plus & Ecowitt
- Operating System: Windows 10
- Location: Rybnik, Poland
- Contact:
Re: Change zoom charts
Sample my settings for C:\CumulusMX\interface\js\charts.js
Zoom effects visible to the page https://pogodarybnik.pl/cumulusMX/trends.htm
I wish I had something similar for the chart generated by Utils, right here - https://pogodarybnik.pl/cumulusMX/extrachart.htm
Code: Select all
var myRanges = {
buttons: [{
count: 6,
type: 'hour',
text: '6h'
}, {
count: 12,
type: 'hour',
text: '12h'
}, {
count: 24,
type: 'hour',
text: '24h'
}, {
count: 2,
type: 'day',
text: '2d'
}, {
type: 'all',
text: 'All'
}],
inputEnabled: false,
selected: 2
};
I wish I had something similar for the chart generated by Utils, right here - https://pogodarybnik.pl/cumulusMX/extrachart.htm
- HansR
- Posts: 5871
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bullseye
- Location: Wagenborgen (NL)
- Contact:
Re: Change zoom charts
Aha. Yes that's possible but it will require either a cookie (remember usersetting) or a parameter.
I'll think about this one. You definitely can't configure it this way: the idea of CumulusUtils is that you don't touch the generated code
I'll think about this one. You definitely can't configure it this way: the idea of CumulusUtils is that you don't touch the generated code
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- Dador
- Posts: 188
- Joined: Thu 24 Nov 2011 2:22 pm
- Weather Station: Davis VP2 Plus & Ecowitt
- Operating System: Windows 10
- Location: Rybnik, Poland
- Contact:
Re: Change zoom charts
No problem.Aha. Yes that's possible but it will require either a cookie (remember usersetting) or a parameter.
Would be greatI'll think about this one.
I thought so, that's why I askYou definitely can't configure it this way: the idea of CumulusUtils is that you don't touch the generated code
- HansR
- Posts: 5871
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bullseye
- Location: Wagenborgen (NL)
- Contact:
Re: Change zoom charts
Zoom keyword has been added to 6.12.1 that should do the trick.
For you, if you want the 24 hr as default, add the following line before the first PLOT line:
See the Wiki
For you, if you want the 24 hr as default, add the following line before the first PLOT line:
Code: Select all
Zoom 1
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- Dador
- Posts: 188
- Joined: Thu 24 Nov 2011 2:22 pm
- Weather Station: Davis VP2 Plus & Ecowitt
- Operating System: Windows 10
- Location: Rybnik, Poland
- Contact:
Re: Change zoom charts
Works! ThanksHansR wrote: ↑Wed 28 Sep 2022 12:11 pm Zoom keyword has been added to 6.12.1 that should do the trick.
For you, if you want the 24 hr as default, add the following line before the first PLOT line:See the WikiCode: Select all
Zoom 1
- HansR
- Posts: 5871
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bullseye
- Location: Wagenborgen (NL)
- Contact:
Re: Change zoom charts
Good.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3