diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-03-04 19:10:04 +0100 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-03-04 19:10:04 +0100 |
commit | 15dde408db57009e1e4e26d969b9b3e6c1e0c255 (patch) | |
tree | bed87bc591f44dbdc7967c2c9f8b26dd1b040f49 /web/nms.gathering.org/speedometer/c3-master/src/api.data.js | |
parent | 2e808e318a7b9abd09bf93116dae5368025c3611 (diff) |
nms: Remove redundant files
speedometer probably doesn't work now anyway until it's heavily updated.
Diffstat (limited to 'web/nms.gathering.org/speedometer/c3-master/src/api.data.js')
-rw-r--r-- | web/nms.gathering.org/speedometer/c3-master/src/api.data.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/web/nms.gathering.org/speedometer/c3-master/src/api.data.js b/web/nms.gathering.org/speedometer/c3-master/src/api.data.js deleted file mode 100644 index be5b8f7..0000000 --- a/web/nms.gathering.org/speedometer/c3-master/src/api.data.js +++ /dev/null @@ -1,27 +0,0 @@ -c3_chart_fn.data = function (targetIds) { - var targets = this.internal.data.targets; - return typeof targetIds === 'undefined' ? targets : targets.filter(function (t) { - return [].concat(targetIds).indexOf(t.id) >= 0; - }); -}; -c3_chart_fn.data.shown = function (targetIds) { - return this.internal.filterTargetsToShow(this.data(targetIds)); -}; -c3_chart_fn.data.values = function (targetId) { - var targets, values = null; - if (targetId) { - targets = this.data(targetId); - values = targets[0] ? targets[0].values.map(function (d) { return d.value; }) : null; - } - return values; -}; -c3_chart_fn.data.names = function (names) { - this.internal.clearLegendItemTextBoxCache(); - return this.internal.updateDataAttributes('names', names); -}; -c3_chart_fn.data.colors = function (colors) { - return this.internal.updateDataAttributes('colors', colors); -}; -c3_chart_fn.data.axes = function (axes) { - return this.internal.updateDataAttributes('axes', axes); -}; |