The javascriptRRD package contains base three javascript modules:
The rrdFile module, used to extract information from RRD archives loaded as binary file objects.
The rrdMultiFile module, used to combine many rrdFile objects.
The binaryXHR module, used to retrieve binary files using the XMLHttpRequest API.
Together they can be used to implement AJAX style applications.
The rrdFilter module can be used to filter datasources (DSs) and apply user-customized filter objects such as mathematical operations. This module also has methods to Filter RRAs for time shifts (for timezone implementation) and/or Averaging (for creating new, averaged RRAs with different step sizes). See the rrdJFlotFilter.html (DS Filters) example and the rrdJFlotFilterRRA (RRA Filters) example.
The package also provides two classes, based on Flot, that automate most of the graphing needs:
The rrdFlot module can be used to plot a single RRD file.
See also the rrdJFlot.html example and the same graph with all rrdflot_defaults available options shown.
The rrdFlotMatrix module can be used to plot a list of RRD files.
See also the rrdMatrixFlot.html example.
More examples can be found on the examples web page, with mode helpful comments in the code.
The javascriptRRD package
is hosted at http://javascriptrrd.sourceforge.net.
|