From 15dde408db57009e1e4e26d969b9b3e6c1e0c255 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 4 Mar 2016 19:10:04 +0100 Subject: nms: Remove redundant files speedometer probably doesn't work now anyway until it's heavily updated. --- .../speedometer/c3-master/src/api.grid.js | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 web/nms.gathering.org/speedometer/c3-master/src/api.grid.js (limited to 'web/nms.gathering.org/speedometer/c3-master/src/api.grid.js') diff --git a/web/nms.gathering.org/speedometer/c3-master/src/api.grid.js b/web/nms.gathering.org/speedometer/c3-master/src/api.grid.js deleted file mode 100644 index 038aa6b..0000000 --- a/web/nms.gathering.org/speedometer/c3-master/src/api.grid.js +++ /dev/null @@ -1,31 +0,0 @@ -c3_chart_fn.xgrids = function (grids) { - var $$ = this.internal, config = $$.config; - if (! grids) { return config.grid_x_lines; } - config.grid_x_lines = grids; - $$.redrawWithoutRescale(); - return config.grid_x_lines; -}; -c3_chart_fn.xgrids.add = function (grids) { - var $$ = this.internal; - return this.xgrids($$.config.grid_x_lines.concat(grids ? grids : [])); -}; -c3_chart_fn.xgrids.remove = function (params) { // TODO: multiple - var $$ = this.internal; - $$.removeGridLines(params, true); -}; - -c3_chart_fn.ygrids = function (grids) { - var $$ = this.internal, config = $$.config; - if (! grids) { return config.grid_y_lines; } - config.grid_y_lines = grids; - $$.redrawWithoutRescale(); - return config.grid_y_lines; -}; -c3_chart_fn.ygrids.add = function (grids) { - var $$ = this.internal; - return this.ygrids($$.config.grid_y_lines.concat(grids ? grids : [])); -}; -c3_chart_fn.ygrids.remove = function (params) { // TODO: multiple - var $$ = this.internal; - $$.removeGridLines(params, false); -}; -- cgit v1.2.3