Gauges

These widgets show a variety of information, depending on which gauge you’re looking at.  Most of the gauges will have three colors on their dials.  Here’s what those colors indicate:

red Covers the range 95% of maximum to 110% of maximum hits over the period
orange Covers the range 85% of maximum to 95% of maximum hits over the period
green Centered at the mean hits, and extends +/- 1 standard deviation above and below

Values displayed, as well as the positions on the dial, are rounded to the nearest integer when the quantity is an integer valued one.

Last24 Gauges

This widget shows the average hits/hour over the entire time period in question in the “Avg” gauge and the projected hits/hour for the current hour in the “Hits/Hr” gauge.  Options include:

Last24 Gauges
Widget Name Parameter Desription
last24_gauges items A comma separated list indicating which gauges to show.  It can contain the values:

  • avg
  • current
last24_gauges width
height
float
These work as in other widgets.  Note that the gauges will align either vertically or horizontally depending on the width and height of the container.  This alignment happens automatically.

The projected hits/hr are computed using the previous hour’s hits along with those of the current hour.  The equation looks like:

currentMinutes = (new Date()).getMinutes();
currentHph = hits we've received this hour;
previousHph = hits received in the previous hour;
projectedHph = ((currentMinutes*currentHph) + (60-currentMinutes)*previousHph)/60;

Live Gauges

This widget shows the current number of viewers or the total number of actions they’ve taken.  For example, if you have 10 viewers and they each have viewed 3 pages, the gauge rendered with items=’viewers’  will indicate 10 and the gauge rendered by items=’actions’  will indicate 30.

Live Gauges
Widget Name Parameter Description
live_gauge items One of either “viewers” or “actions”

 

Speak Your Mind