Page 1 of 1

Charts Mouse Flyover Order

Posted: Thu 28 Jan 2021 3:46 pm
by galfert
There doesn't seem to be a consistent order of which data is shown with the mouse flyover on the charts. In most cases the Min is on top and the Max on the bottom.
But Pressure does it right (see last image). Also for the Recent Charts / Daily Temp the AVG is listed first and then Min and Max.

I feel the order should reflect the underlying graphing line order...meaning Max first and then Avg if applicable followed by Min.

It just looks incongruent like this:
CMX Order1.jpg
CMX Order2.jpg
CMX Order3.jpg
CMX Order5.jpg

But there are exceptions like Pressure does it right:
CMX Order4.jpg

Re: Charts Mouse Flyover Order

Posted: Thu 28 Jan 2021 3:55 pm
by mcrossley
Noted.

Re: Charts Mouse Flyover Order

Posted: Thu 28 Jan 2021 4:01 pm
by sfws
galfert wrote: Thu 28 Jan 2021 3:46 pm There doesn't seem to be a consistent order of which data is shown
The answer is actually historic and related to early development of the original Cumulus software, we now call Cumulus 1. Because the processing of different variables was added over a period of time Steve Loft forgot what he had done before and so, as you say, only pressure puts Highest before Lowest. The historic sequence has been preserved in all subsequent coding whether for charts or elsewhere.

The inconsistency is everywhere, see the sequence of fields for temperature and pressure in dayfile.txt, see the order in which items appear on the example web templates provided with Cumulus, or read the source code.

If you are prepared to hunt, you will find earlier posts in this forum making the same complaint. You may even find suggestions in the Cumulus 2 and MX beta sections of the forum, that some of the inconsistencies of how Cumulus 1 was designed should be removed from his later flavours. Who knows, perhaps if Steve Loft had not settled in France and had continued to work on MX, then perhaps MX might have righted more of the early design errors. But I suspect the resequence of large amounts of coding would be right at the bottom of any to do list held by current developer!

EDIT: Mark has replied while I was typing this, but his answer does not affect anything but my last sentence!

Re: Charts Mouse Flyover Order

Posted: Thu 28 Jan 2021 4:57 pm
by galfert
Thank you for the history lesson, makes perfect sense now how things came to be. Hopefully it won't be too much trouble to fix some of these issues.