function visitors_get_chart_height in Visitors 7.0
Same name and namespace in other branches
- 8 visitors.chart.inc \visitors_get_chart_height()
- 7.2 visitors.chart.inc \visitors_get_chart_height()
- 7 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 
- @file Monthly history report for the visitors module.
File
- ./visitors.chart.inc, line 30 
Code
function visitors_get_chart_height() {
  $height = (int) variable_get('visitors_chart_height', 430);
  return $height <= 0 ? 430 : $height;
}