function visitors_get_chart_width in Visitors 7.0
Same name and namespace in other branches
- 8 visitors.chart.inc \visitors_get_chart_width()
- 7.2 visitors.chart.inc \visitors_get_chart_width()
- 7 visitors.chart.inc \visitors_get_chart_width()
Get chart width.
Return value
int chart width
4 calls to visitors_get_chart_width()
- 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 19
Code
function visitors_get_chart_width() {
$width = (int) variable_get('visitors_chart_width', 700);
return $width <= 0 ? 700 : $width;
}