Author Topic: Graph displays  (Read 3154 times)

dgd

  • Hero Member
  • *****
  • Posts: 1722
    • Lorylink
Graph displays
« on: April 27, 2015, 03:28:33 PM »
Has anyone here looked at or installed any of the graphs from highcharts.com?
These look familiar and may be  what the local app and mymidnite are using - if not then it's a darn close coincidence especially the real time multichannel graph that is the basis of mymidnite
Look at the demos at highcharts.com.
Also here is one from the Arduino forum
http://forum.arduino.cc/index.php?action=dlattach;topic=213058.0;attach=66726

All available as free js and doesn't look too difficult to Use a log file of classic or kid data gathered by a blackbox system

Dgd
Classic 250, 150,  20 140w, 6 250w PVs, 2Kw turbine, MN ac Clipper, Epanel/MNdc, Trace SW3024E (1997), Century 1050Ah 24V FLA (1999). Arduino power monitoring and web server.  Off grid since 4/2000
West Auckland, New Zealand

atop8918

  • Sr. Member
  • ****
  • Posts: 479
Re: Graph displays
« Reply #1 on: April 27, 2015, 03:36:13 PM »
The Local App uses Open Flash Chart 2 by teethgrinder:

http://teethgrinder.co.uk/open-flash-chart-2/


MyMidNite uses FLOT

https://code.google.com/p/flot/

You can check out the about page for MyMidNite to see the other open source libraries and tools I used to build them.

https://mymidnite.com/drupal/?q=node/2


zoneblue

  • Hero Member
  • *****
  • Posts: 964
Re: Graph displays
« Reply #2 on: April 27, 2015, 06:13:50 PM »
Theres a comparison table here:
http://www.fusioncharts.com/javascript-charting-comparison/

Highcharts has licensing issues.

Sure would be nice to have ls graphing in BB.
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

dgd

  • Hero Member
  • *****
  • Posts: 1722
    • Lorylink
Re: Graph displays
« Reply #3 on: April 27, 2015, 06:30:10 PM »
Andrew
That open-flash looks nice, and easy to include, I must try it  :)

Zb,
Maybe it did have licensing issues at one time but according to their web site its says free FREE for non-profit and personal web site use
otherwise its doubtful the Arduino support forums would recommend it.
The graph in the Arduino link just looks 99% like the mymidnite real(ish) time graph with sliding time windows.

I will be trying to get that one working on my cubie2.

dgd
Classic 250, 150,  20 140w, 6 250w PVs, 2Kw turbine, MN ac Clipper, Epanel/MNdc, Trace SW3024E (1997), Century 1050Ah 24V FLA (1999). Arduino power monitoring and web server.  Off grid since 4/2000
West Auckland, New Zealand

paul alting

  • Jr. Member
  • **
  • Posts: 66
    • http://paulalting.com
Re: Graph displays
« Reply #4 on: June 06, 2015, 03:01:17 AM »
Hi David,

You asked:'Has anyone here looked at or installed any of the graphs from highcharts.com?'
Yes, it is all I every use in my javascript, as it seems to have many features.
I have been able to bend it to doing what I want and am generally pleased with what can be done with HighCharts.
I think I use the HighStock part for my charts on my site now, as you can do some other things that charts don't do.
I recall HighStock is HighChart with extra options.
____
Paul
6 x 200W PV into home-brew 6 stage MOSFET charge controller : Microhydro 220Vac 3 phase IMAG
8 x 400Ah LiFeYPO4 Winston : Latronics LS2412 inverter
QuadlogSCADA control and monitoring system : Tasmania, Australia : http://paulalting.com

dgd

  • Hero Member
  • *****
  • Posts: 1722
    • Lorylink
Re: Graph displays
« Reply #5 on: June 06, 2015, 08:53:52 PM »
Paul,
Thanks for reply. I spent a few days looking at highchart and some of the stuff is real  nice. I managed to get the Highstock graph for Arduino (see link in my prev post) to work and it looks 90% like the MyMidnite display. However I'm not going to use it as its just too sophisticated for a 'simple' uncluttered graph of voltages and currents
Instead I have found some full source svg based graphs that I want to modify to fit into my arduino server - which I want to work without the need for a full internet connection to retreive graphing javascript and associated libs.
(I realize I could copy most of this to a local filesystem but the SD card is just so darn slow at loading files that initialising Highchart stuff would be very painful)
Although when I move everything the the Cubie that will not be a concern.
Sort of embedded system, Arduino/SD, vs proper data processing system, Cubie/hdd

dgd
Classic 250, 150,  20 140w, 6 250w PVs, 2Kw turbine, MN ac Clipper, Epanel/MNdc, Trace SW3024E (1997), Century 1050Ah 24V FLA (1999). Arduino power monitoring and web server.  Off grid since 4/2000
West Auckland, New Zealand

atop8918

  • Sr. Member
  • ****
  • Posts: 479
Re: Graph displays
« Reply #6 on: June 07, 2015, 02:26:36 PM »
High charts was high on my list, but since we don't charge for mymidnite I had to keep the costs as close to nothing as possible. FLOT is very nice and with no licensing issues at the moment and so it won out, High charts was my original first choice.


dgd

  • Hero Member
  • *****
  • Posts: 1722
    • Lorylink
Re: Graph displays
« Reply #7 on: June 09, 2015, 04:21:02 AM »
I had a good look at FLOT and again some real nice graphs, they are a good choice for mymidnite. Also not too difficult to include the js and provide the configuration data.
dgd
Classic 250, 150,  20 140w, 6 250w PVs, 2Kw turbine, MN ac Clipper, Epanel/MNdc, Trace SW3024E (1997), Century 1050Ah 24V FLA (1999). Arduino power monitoring and web server.  Off grid since 4/2000
West Auckland, New Zealand