Changeset 217581
- Timestamp:
- 03/14/2010 08:10:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cyclopress/branches/cp2/classes/cy_google_charts.php
r217580 r217581 154 154 // get nice tick ranges for the data 155 155 $range = $max - $min; 156 $smart_min = ($min > $range) ? floor($min - ($range*0.1)) : 0; // avoid too much space at the bottom of the chart156 $smart_min = ($min > ($range*0.1)) ? floor($min - ($range*0.1)) : 0; // avoid too much space at the bottom of the chart 157 157 list($x_tick_range, $x_lower_bound, $x_upper_bound) = $this->get_chart_step_size(7, (count($x_data)-1), 1); 158 158 list($y_tick_range, $y_lower_bound, $y_upper_bound) = $this->get_chart_step_size(8, $max, $smart_min);
Note: See TracChangeset
for help on using the changeset viewer.