HG612 graphing

Written by Stephen Todd using dygraph.

Please choose input file before continuing. #fields to load:
(possibly copy/paste name from below). Initial graph uses very concocted demo data. Scroll down page for more usage information.



Pending opening file ...
from ...
to ...
mingap hidegap
See dygraphs user specs for possible values to enter here.


This reads a local file as generated by Bald_Eagle's HG612 stats collection and plots graphs using dygraph. It is faster and more interactive than Bald_Eagle's graphing scripts.

To use, you must first select the local file. This is a slightly irritating step needed because of HTML's security rules. Any suggestions of an easier may to arrange this, please let me know.

  1. Triple click the 'C:\HG612_Modem_stats\Ongoing_Stats\modem_stats.log' line (for windows users) to get likely location of stats file.
  2. Copy with ctrl-C.
  3. Click the 'Choose File' button.
  4. Paste the file address.
  5. Hit Enter to open the file.
  6. An initial graph will be drawn

If you have used a different installation directory or different OS, you will have to navigate to find the stats file.

You can click on the various data columns collected to display or hide them from the graph. The first column will be the x axis. The y axis scale will be taken from the second column. Other columns will be scaled to fit the graph in the area. The scale for these columns will not be displayed on the graph, but as you hover over the graph the correct value will be shown in the hover feedback.

You can zoom into the graph by dragging out an x range or y range with the mouse. Double click to go back to original full graph.

You can control the datapoints drawn on the graph with 'from' (start time), 'to' (end time), and 'mingap'. From and to will be clamped to data available in the logile. Mingap forces the use of only some data, mainly to speed up plotting. For example, mingap 10 will take only the first reading from each 10 minute interval; or mingap 60 the first hourly readings.

Graph details can be controlled by the specs field. See dygraphs user specs for possible values to enter here. The syntax is in standard javascript map syntax (name:value, name:value, ...): the code inserts the surrounding braces.