A Forum run by Enthusiasts of MidNite Solar

The Open Source software/hardware corner => The Black Box project => Topic started by: dgd on April 27, 2015, 03:28:33 PM

Title: Graph displays
Post by: dgd 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 (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
Title: Re: Graph displays
Post by: atop8918 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

Title: Re: Graph displays
Post by: zoneblue 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.
Title: Re: Graph displays
Post by: dgd 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
Title: Re: Graph displays
Post by: paul alting 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
Title: Re: Graph displays
Post by: dgd 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
Title: Re: Graph displays
Post by: atop8918 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.

Title: Re: Graph displays
Post by: dgd 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