You are here

function visitors_get_chart_height in Visitors 7

Same name and namespace in other branches
  1. 8 visitors.chart.inc \visitors_get_chart_height()
  2. 7.2 visitors.chart.inc \visitors_get_chart_height()
  3. 7.0 visitors.chart.inc \visitors_get_chart_height()

Get chart height.

Return value

int chart height

4 calls to visitors_get_chart_height()
visitors_chart in ./visitors.chart.inc
Draw chart.
visitors_days_of_month in reports/days_of_month.inc
Display days of month report.
visitors_days_of_week in reports/days_of_week.inc
Display days of week report.
visitors_monthly_history in reports/monthly_history.inc
Display monthly history report.

File

./visitors.chart.inc, line 31

Code

function visitors_get_chart_height() {
  $height = (int) variable_get('visitors_chart_height', 430);
  return $height <= 0 ? 430 : $height;
}