treewide: import utility classes explicitly
[project/luci.git] / applications / luci-app-statistics / htdocs / luci-static / resources / statistics / rrdtool / definitions / irq.js
1 /* Licensed to the public under the Apache License 2.0. */
2
3 'use strict';
4 'require baseclass';
5
6 return baseclass.extend({
7 title: _('Interrupts'),
8
9 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
10 return {
11 title: "%H: Interrupts", vlabel: "Issues/s",
12 number_format: "%5.0lf", data: {
13 types: [ "irq" ],
14 options: {
15 irq: { title: "IRQ %di", noarea: true }
16 }
17 }
18 };
19 }
20 });