Page 2 of 2

Re: Can not find the realtime.log file in realtimehighcharts

Posted: Thu 18 Aug 2016 9:51 am
by mcrossley
You need to change the default delimiters in realtimeCumulus.js as well. They are currently set to...

Code: Select all

		// The various delimiters used in your version of realtime.txt
		dateDelimiter = '/',
		timeDelimiter = ':',
For your realtime.txt they should be...

Code: Select all

		// The various delimiters used in your version of realtime.txt
		dateDelimiter = '.',
		timeDelimiter = ':',
The graph will auto-update every minute.

Re: Can not find the realtime.log file in realtimehighcharts

Posted: Fri 19 Aug 2016 8:51 am
by mcrossley
Can you use the forum for questions, it keeps everything in one place, thanks...
happyweather123 wrote:When i open the realtimegraph on the website it shows all correct, but when it updates by itself it shows blank space inside the graph, but if i hover the mouse over it shows values like before, What should i do
On your 'live' page you have not edited realtimeCumulus.js like I posted above, you still have the default 'dateDelimiter' set.
happyweather123 wrote:And what should i do to change the unit mph to km/H ?
Edit realtimeCumulus.js, lines 113, and 177...

Code: Select all

					title: { text: 'wind speed (mph)' },
...
					tooltip: { valueSuffix: ' mph' }

Re: Can not find the realtime.log file in realtimehighcharts

Posted: Tue 28 Aug 2018 6:34 am
by griffo42
Hi

Can I have some help please? I am running Cumulus v1.9.4 (build 1099) - Nov 28 2014 and am trying to get Mark Crossley's Highcharts Graph from realtime.txt working but not quite there yet.

I have done what I think is necessary from posts here and the Wiki - Dynamically Updating a Highcharts Graph from Realtime.txt.

Where I am at can be seen at:

kstwx.net/cu/index.htm and
http://kstwx.net/cu/realtimeCumulus.htm

I don't understand the function of realtimeLogParser.php as it doesn't seem (I may have missed it) to be referenced by any of the other scripts/programs. I am interested in its function.

Thanks

Keith G
Brisbane, Queensland, Australia
kstwx.net/cu/index.htm