Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Highcharts Graphs

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
User avatar
Mapantz
Posts: 446
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Highcharts Graphs

Postby Mapantz » Sun Aug 13, 2017 7:58 pm

jlmr731 wrote:
Mapantz wrote:
Could you upload or link me to your .js for me, i'll have a look.



here is the script, as you can see its pretty much the default cumulusmx script only change i made was to add in a few more buttons on the temp graph and to a php file to get data from mysql

http://www.youngstownweather.com/js/mycumuluscharts.js


What's the graph page that uses that .js? I need to see what's happening, re the buttons disappearing..

Edit: Are you talking about the buttons being greyed out so you can't click them? If so, that would because you don't have enough data to show at those time/date ranges.
Image
Image

jlmr731
Posts: 111
Joined: Sat Aug 27, 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: Highcharts Graphs

Postby jlmr731 » Sun Aug 13, 2017 9:06 pm

Mapantz wrote:
jlmr731 wrote:
Mapantz wrote:
Could you upload or link me to your .js for me, i'll have a look.



here is the script, as you can see its pretty much the default cumulusmx script only change i made was to add in a few more buttons on the temp graph and to a php file to get data from mysql

http://www.youngstownweather.com/js/mycumuluscharts.js


What's the graph page that uses that .js? I need to see what's happening, re the buttons disappearing..

Edit: Are you talking about the buttons being greyed out so you can't click them? If so, that would because you don't have enough data to show at those time/date ranges.


Sorry thought you wanted the js page
The main page would be http://www.youngstownweather.com/trends1.php
right now the selected: 0 is in there where you thought it should go
It will show the graph as expected but dont get the buttons to change range

User avatar
Mapantz
Posts: 446
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Highcharts Graphs

Postby Mapantz » Sun Aug 13, 2017 9:27 pm

Change the 0 to a 1, 2 or 3.

If you move the range selector along the bottom of the graph, the buttons appear. :D
Image
Image

jlmr731
Posts: 111
Joined: Sat Aug 27, 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: Highcharts Graphs

Postby jlmr731 » Sun Aug 13, 2017 10:30 pm

Strange that they appear after movement, and changing the option does not help that.

Atleast im getting somewhere with it.
thanks

UncleBuck
Posts: 37
Joined: Sat Dec 29, 2012 10:27 pm
Weather Station: Davis VP2+
Operating System: MAC Mini - OSX El Capitan
Location: Victoria, Australia

Re: Highcharts Graphs

Postby UncleBuck » Thu Aug 31, 2017 12:45 am

Hi Mark,
I was wondering if you would be willing to share your table structure and trigger you use with the "comfort" graph?
I have it nearly all working now but that one graph is causing me grief as it appears to have changed quite significantly from the very first incantation of it.

Regards,
Colin.

billy
Posts: 31
Joined: Mon Nov 30, 2015 10:54 am
Weather Station: WMR200
Operating System: RPi jessie
Location: Perth, Australia

Re: Highcharts Graphs

Postby billy » Sun Sep 10, 2017 1:44 pm

I can't find the right way of getting the source code of utils/realtimeLogSql.php for the recent graphs. I can run it from Mark's web site but can't download it as I have been able to do with all the php scripts for the historic graphs. Help would be appreciated.

billy
Posts: 31
Joined: Mon Nov 30, 2015 10:54 am
Weather Station: WMR200
Operating System: RPi jessie
Location: Perth, Australia

Re: Highcharts Graphs

Postby billy » Mon Sep 11, 2017 1:36 am

I'll answer my own question: http://weather.wilmslowastro.com/utils/realtimeLogSql.php?view=sce. It's the subtle variations in parameter settings you idiot. :groan:


Return to “3rd Party Tools”

Who is online

Users browsing this forum: No registered users and 2 guests