Changeset 217774
- Timestamp:
- 03/15/2010 04:41:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cyclopress/branches/cp2/classes/cy_google_charts.php
r217769 r217774 120 120 // send off to google and cache the images 121 121 // check if it's a line chart or a bar chart and retrieve the right one 122 123 122 $chart->url = $this->get_line_chart($x_data, $y_data, false, true); 124 123 $chart->thumb_url = $this->get_line_chart($x_data, $y_data, true, true); 124 125 echo '<pre>' . print_r($x_data) . '</pre>'; 126 echo '<pre>' . print_r($y_data) . '</pre>'; 125 127 126 128 // save the chart's new hash and url … … 240 242 241 243 $url = $this->api_url . '?' . implode('&', $q); 242 243 echo '<pre>' . $url . '</pre>'; 244 244 245 245 // get the chart from google and cache the images 246 246 $chart_url = $this->get_google_image($url);
Note: See TracChangeset
for help on using the changeset viewer.