Support for creating and displaying line, point and bar graphs
Version 2.0.0b1:
- New: Graphs are now drawn with Apache ECharts 6.1 instead of Flot 0.8.3
- New: Graphs with no data points show a "No data for this period" message
- New: ECharts is loaded the first time a graph is displayed - it is no longer included in the site JS for every page
- New: Graphs resize with their container, including graphs first drawn in a hidden modal window
- Bug Fix: "lineWidth" and "fillColor" graph options were lost when changing the graph history length in the graph modal window
- Bug Fix: Graph legend was not shown after changing the graph history length in the graph modal window
- Bug Fix: Graph points are numbers again (as with Flot) - after changing the graph days, hovering a point gave "i.datapoint[1].toFixed is not a function" because the values arrived as strings
- Developer: Unit tests for zero filling and graph series options
- Developer: Pie charts no longer load a separate Javascript file
- Developer: jrGraph_get_resize_listener_js() is deprecated and no longer needed
- Developer: Flot plugins other than time, pie, categories, stack, symbol and resize are not supported
Version 1.2.3:
- Change: Changed method 'get' to 'post' for loading graphs from the dashboard
Version 1.2.2:
- New: 'graph_data' event triggered with JSON graph data before displaying
Version 1.2.1:
- New: "graph_parameters" event trigger fired before creating a graph
- Bug Fix: In-filling of zero values was not working correctly on some loaded data sets
Version 1.2.0:
- New: Support for graph history length selection in modal graph window
- Change: Updates and tweaks to work better with PHP 8.1+
Version 1.1.7:
- Bug Fix: In-filling of zero values was not working correctly on sparse data sets
- Bug Fix: Hovering over graph values may not show underlying value in graph header
Version 1.1.6:
- Bug Fix: "lineWidth" parameter for setting width of line in graphs was not working
Version 1.1.5:
- Change: Updated Graph Javascript function to allow for additional parameters
Version 1.1.4:
- Change: Updated graph date axis to use System Core configured Time zone
Version 1.1.3:
- Change: Updated to work better with PHP 8
Version 1.1.2:
- Change: Move hardcoded "item" div element from pie chart function to plot.tpl file
Version 1.1.1:
- New: Support for "precision" parameter to set decimal point precision
Version 1.1.0:
- New: "pointRadius" graph config option can now be set to "0" (zero)
- New: "zerofill" graph option for filling in missing data points in graph data set
- Change: "zerofill" is no longer active by default
Version 1.0.8:
- Change: Improved "zero fill" function to better handle time gaps in data sets
Version 1.0.7:
- Change: Small change in Javascript function to allow additional graph parameters
Version 1.0.6:
- New: "nofill" graph parameter to not auto-fill missing time chunks in data series
- Bug Fix: Setting "days" value in graph config was not working properly
Version 1.0.5:
- New: Added a Plot function to allow graphs that do not have a timestamp as the x value
Version 1.0.4:
- New: New module icon
- Change: Name changed to "Graph Core"
Version 1.0.3:
- Bug Fix: Hourly graphs were not working correctly
Version 1.0.2:
- New: support for URL parameters for registered graph functions
Version 1.0.1:
- Bug Fix: Some graphs could be off by 1 day
Version 1.0.0:
- Initial release