Page 1 of 1
Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 3:08 pm
by jh1013@aol.com
On the"Pressure" gauge I see two red-tinted 'wings' that I believe are intended to show minimum and maximum experienced atmospheric pressure. On my gauge they go from 29.710 downward and from 29.770 upward (I just installed build 4220 yesterday, so I believe the gauge reset its minimum and maximum). Is there anyway I can disable these 'wings' without being a coding guru? Thanks in advance!
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 3:09 pm
by jh1013@aol.com
(I meant build 4022)
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 3:10 pm
by HansR
Do you have a link to your site?
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 3:29 pm
by mcrossley
jh1013@aol.com wrote: ↑Thu 16 May 2024 3:08 pm
so I believe the gauge reset its minimum and maximum).
It means MX does not have any of your historic data, did you migrate it from v3?
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 6:24 pm
by jh1013@aol.com
mcrossley: no, I just did a clean install of V4
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 6:38 pm
by mcrossley
Ok, they will fairly quickly push back as you record a range of pressures, so if you can put up with them for while they will soon look less intrusive.
If not then you would have to edit the gauges.js file and remove them from the pressure gauge.
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 6:53 pm
by jh1013@aol.com
I took a look at the gauges.js file and see two lines:
params.minValue = cache.minValue;
params.maxValue = cache.maxValue;
that I suspect are the players, but I'm a bit hesitant to do anything to them unless the change would be fairly simple (I am a true neophite).
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Thu 16 May 2024 9:41 pm
by mcrossley
Edited, for simpler soln...
Comment out lines 1671,1672, 1694
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Fri 17 May 2024 3:05 pm
by jh1013@aol.com
Thanks Mark - Do I do that with the 'edit' feature? When I do that, I don't see any line numbering; where woud I find that?
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Fri 17 May 2024 4:51 pm
by mcrossley
Edit the file using a decent text editor eg Notepad++, any deviant editor will normally show the line numbers.
Even the old Windows Notepad, though it did not show line numbers had a Goto Line option.
Re: Minimum/Maximum Display of Pressure Gauge
Posted: Fri 17 May 2024 8:33 pm
by jh1013@aol.com
Thanks Mark, that did it, even with an amateur driving!