Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

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

Sparklines... and how to add them to your webpage(s)

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by dazza1223 »

hey i dont understand how to to set the time on them <#RecentTS <#RecentOutsideTemp ?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
mitmania
Posts: 37
Joined: Tue 07 Feb 2012 11:51 am
Weather Station: WS2350 & Davis VP2
Operating System: Win 7
Location: Italy
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by mitmania »

Hi everyone, I installed the script and I have to say that it works. I do not understand why the graph that is displayed is not linear is with many peaks and extremes high and low. Where am I wrong?
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by dazza1223 »

I will have a look to moz
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
mitmania
Posts: 37
Joined: Tue 07 Feb 2012 11:51 am
Weather Station: WS2350 & Davis VP2
Operating System: Win 7
Location: Italy
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by mitmania »

Hello to all .... I think I understand the problem ... the values that are displayed to me have a comma and not the point.

  In my website I read:

- var recent_outside_temp = [-0.6, -0.6, -0.6, -0.6,
                         -0.6, -0.6, -0.6, -0.8,
                         -0.6, -0.6, -0.6, -0.8];

In the other sites I read:

-var recent_outside_temp = [-0.3, -0.3, -0.3, -0.4,
-0.3, -0.3, -0.2,0.0,
0.1,0.2,0.4,0.4];

Is there a cure for this problem? Thank you!
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Sparklines... and how to add them to your webpage(s)

Post by sfws »

mitmania wrote:have a comma
see wiki http://wiki.sandaysoft.com/a/Webtags#No_Commas
mitmania
Posts: 37
Joined: Tue 07 Feb 2012 11:51 am
Weather Station: WS2350 & Davis VP2
Operating System: Win 7
Location: Italy
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by mitmania »

Thank's!!!!!!
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by dazza1223 »

hi dose any one know how to change colour on the box when u hover over the charts?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
deanpegal
Posts: 1
Joined: Mon 19 Mar 2018 11:45 am
Weather Station: Cooper & Baseline
Operating System: window 7
Contact:

Re: Sparklines... and how to add them to your webpage(s)

Post by deanpegal »

Very Impressive Mike, Thank you
Post Reply