Help:ITS Dashboard

This wiki has a parser hook to embed ITS Dashboard metrics.

[edit] Instructions

To embed a metric, include the following on a page:

<ITSDashboard>metric</ITSDashboard>

where metric is the metric id of the dashboard.

For example,

<ITSDashboard>7</ITSDashboard>

will create

ITS Dashboard Metric 7

The display of the graph can be customized by specifying additional parameters to the ITSDashboard tag. Valid parameters are

  • span - Specifies the span of the graph. Must be one of {daily, monthly, yearly}. If not given, defaults to daily.
  • count - The number of entries to include. Must be a positive integer. Defaults to 20.
  • height - Specifies the height of the graph. Must be a positive integer. Defaults to 230.
  • width - Specifies the width of the graph. Must be a positive integer. Defaults to 320.
  • desc - Description/Title to display above the graph. If not given, no title will be displayed.

[edit] Examples

<ITSDashBoard span="monthly" desc="Email Spam Detected">7</ITSDashboard>
Email Spam Detected
ITS Dashboard Metric 7
<ITSDashBoard desc="Simultaneous Wireless Network Users" count="80" width="600">13</ITSDashboard>
Simultaneous Wireless Network Users
ITS Dashboard Metric 13

[edit] Side by side

Since the default width is only 230 pixels, there is enough room to put two dashboards side-by side on a page. To do this, create a table using wiki syntax:

{| 
| <ITSDashBoard span="monthly" desc="Email Spam Detected">7</ITSDashboard>
| <ITSDashBoard span="monthly" desc="Email Total Messages">6</ITSDashboard>
|}
 
Email Spam Detected
ITS Dashboard Metric 7
Email Total Messages
ITS Dashboard Metric 6
This page has been accessed 1,085 times.
This page was last modified 17:41, March 4, 2006 by Gregory Szorc.
About | Disclaimers