Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

cumulus 188 graph color

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

cumulus 188 graph color

Post by aeropic »

Hi Steve,

I've installed the 1.8.8 beta version and played a bit with it.
Everything seems to work fine. I've just a concern with the default color for inside temperature which is black.
I tried to modify it from the graph page ==> OK I can set it to green for instance, but this color is lost when restarting cumulus.
I tried to manually edit the cumulus.ini file at that level:
InsideTempColour=0

but everytime cumulus is restarted this value is reset to 0 ...

Any solution to set another default color ?

Thaks
Alain
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus 188 graph color

Post by steve »

Thanks - I'd put in the code to save the setting to the ini file, but forgotten to read it in again. I'll fix it in the next build.
Steve
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

Re: cumulus 188 graph color

Post by aeropic »

cool !

thanks for your quick answer

Alain
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

Re: cumulus 188 graph color

Post by aeropic »

Hi Steve,

It's now working fine in build 861

btw everything on this new release is OK with my WH1080 station.

Thanks

Alain
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus 188 graph color

Post by steve »

OK - thanks. Incidentally, while I was fixing the inside temp graph colour, I noticed that there was no option to change the colour of the average wind direction. I tried to fix that, but for some reason I can't get it to work, so I've taken it out again. I guess I must have had the same problem in the past.
Steve
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

Re: cumulus 188 graph color

Post by aeropic »

You're right, I've just tried to change this color wothout success. It should be the same piece of code as for inside and outside humidity ?

Nevertheless, In my opinion, it does not really worth to invest to much energy on this as the default colors are quite perfect ;-)

regards
Alain
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus 188 graph color

Post by steve »

aeropic wrote:You're right, I've just tried to change this color wothout success. It should be the same piece of code as for inside and outside humidity ?
No, it's different because it's a different type of chart; the wind direction chart is a scatter chart, and most of the others are line charts. But what I really can't understand is how I can change the colour of the wind direction plot (the little crosses - that does work, yes?) but not the average wind direction plot (the circles). The same code doesn't work!
Steve
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

Re: cumulus 188 graph color

Post by aeropic »

Hum ... strange behaviour !

I changed the wind direction color to pink and , surprise, I lost the crosses !
In fact it looks like the crossed moved to the location of the average circles and were drawn under the circles with the new color.

And now I cannot get back to the original drawing with crosses and circles :cry:
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

Re: cumulus 188 graph color

Post by aeropic »

Even after a re-install of cumulus, the crosses and circles remain one on the other !!!!
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus 188 graph color

Post by steve »

When you restart Cumulus, there is initially only one set of directions to plot - both the station and Cumulus only log one direction value. So the two plots coincide. It's only while running Cumulus that it calculates the average direction, so there are two plots.
Steve
aeropic
Posts: 58
Joined: Sat 10 Oct 2009 4:24 pm
Weather Station: WH1080
Contact:

Re: cumulus 188 graph color

Post by aeropic »

OK I've got it.
So the color change is working for the crosses.

Alain
weather station weatherwise WH1080
http://aeropic.free.fr/meteo
User avatar
akasonny
Posts: 232
Joined: Mon 15 Jun 2009 4:43 am
Weather Station: Zephyr TD-1000
Operating System: Windows 10
Location: Sahuarita, AZ, USA
Contact:

Re: cumulus 188 graph color

Post by akasonny »

When i change the color of the crosses and then, later, stop and restart C1, the crosses return to the original color. That is to say the new color isn't saved. I haven't looked to find where this info may be stored...doubt its in C.ini...but I've noticed this since the first build I tried months ago.

Its not a big issued but it appears to be a bug somewhere.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus 188 graph color

Post by steve »

I suspect that's related to why I can't get the average direction colour to change at all. I don't really understand what's going on.

If you look at the colour selection dialogue that comes up when you change the colour, you'll see that it's set to the colour you last changed it to, rather than the default red. So it's saving the chosen colour and restoring it correctly, but for some reason the code that sets the colour when you display the graph for the first time after a restart doesn't manage to change the colour of the graph, while the identical code which sets the colour immediately after you change it, does. Baffling.
Steve
User avatar
akasonny
Posts: 232
Joined: Mon 15 Jun 2009 4:43 am
Weather Station: Zephyr TD-1000
Operating System: Windows 10
Location: Sahuarita, AZ, USA
Contact:

Re: cumulus 188 graph color

Post by akasonny »

Yes it is.

Here's how it feels to me:

* Obviously the color "red" is hard-coded somewhere so that when C1 is first fired-up it defaults to red.

* It would seem that this hard-coding overrides any other variable color that may be entered in some config file but only each time C1 is re-initialized... as if a) the .exe file fails to read the data in the config file or b) the data in the config file is properly read but then it very quickly gets over-ridden thereafter as the hard-coding in the .exe file continues to run.

This is all kind of abstract to try to envision and hard to explain but I'm pretty sure you follow my thinking here...

I'm not familiar with PERL or C+++ or whatever you're using ... my programming training was waaaay back when those languages didn't exist. But I think the same logic still applies.




steve wrote:I suspect that's related to why I can't get the average direction colour to change at all. I don't really understand what's going on.

If you look at the colour selection dialogue that comes up when you change the colour, you'll see that it's set to the colour you last changed it to, rather than the default red. So it's saving the chosen colour and restoring it correctly, but for some reason the code that sets the colour when you display the graph for the first time after a restart doesn't manage to change the colour of the graph, while the identical code which sets the colour immediately after you change it, does. Baffling.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus 188 graph color

Post by steve »

Yes, that's pretty much it. The chart is declared with a default value for the colour, in this case red. Cumulus reads the configured value from the cumulus.ini file at start up (this bit is clearly working, as evidenced by the dialogue defaulting to the configured colour) , and then when the graphs window is opened, it changes the colour to the configured value. Except for some reason it doesn't work.

When you use the right-click menu to change the colour, it changes the chart colour using exactly the same code as the "when the window is opened" code, but this time it does work. Could be a bug in the chart component.
Steve
Post Reply