Graphs

Related to the Portal
Post Reply
User avatar
jsclownfish
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis

Graphs

Post by jsclownfish »

I was looking at the graphs of my moonphase lighting patterns using the http://forum.reefangel.com/status/chart ... ilter=PWMA option and at first I thought my ino code was incorrect, but then I realized the graphing tool stops displaying data when the value is 0. I've noticed it on other graphs as well now. Is this something that can be changed in the graphing tool? I suppose I could just have it drop down to 1 instead of 0 and then it would display as well.

-Jon
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Graphs

Post by rimai »

Sorry, it's the way I designed the database to avoid overgrowth too fast.
I don't store zeros or the database would be filled with zeros :(
Roberto.
User avatar
jsclownfish
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis

Re: Graphs

Post by jsclownfish »

A couple of more questions as it relates to graphs. I use this command a lot to look at the flow rates over time. http://forum.reefangel.com/status/chart ... &filter=C1
Can I use the filter to display more than one of the custom variables on the same graph? I tried using a wild card, like C*, but that doesn't seem to work.
Also, it would be great to be able to access the actual data as an option. I could then pull it to my computer each week to generate graphs that extend beyond 7 days. I don't have the client to do this at home as we have a Mac.

Thanks,
Jon
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Graphs

Post by rimai »

There is no way of charting multiple filters at once :(.
You can download JSON data though.
http://forum.reefangel.com/status/jsonp ... &filter=C1
That's what the chart component uses to plot the graph.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Graphs

Post by rimai »

You could create your own html page too.
Please look at the attached file.
I added C1, C2 and C3. You can customize to plot whatever filter you want. Just add them to the array.
Attachments
test.zip
(1.83 KiB) Downloaded 536 times
Roberto.
User avatar
jsclownfish
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis

Re: Graphs

Post by jsclownfish »

Awesome! :D Thanks.
-Jon
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: Graphs

Post by alexwbush »

how did you find these charts? I'd love to see daylight and actinic LED charts on the portal. I know it's mostly the same day to day, but my actinic also power my moonlights, so I'd be able to see that as well.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Graphs

Post by rimai »

Roberto.
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: Graphs

Post by alexwbush »

perfect Roberto. I am so impressed with portal! I don't know why I was away from these forums for so long! I think I've worked the kinks out of my code for my temporary tank (moving and leaving a temp tank at a friend's place).

How come these charts are another drop down on the portal? Are the ATO float switches graphed the same?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Graphs

Post by rimai »

Roberto.
alexwbush
Posts: 327
Joined: Tue Mar 22, 2011 12:45 am
Location: San Diego, CA

Re: Graphs

Post by alexwbush »

Perfect, thanks Roberto.

It would be really cool if we could add graphs to the portal (maybe under another tab or something). 8-)
Post Reply