Thread: GoogleCharts
View Single Post
Old 02-01-2008, 04:06 AM   #18 (permalink)
thrash56
The Visitor
 
thrash56's Avatar
 
Join Date: Feb 2008
Posts: 1
Thanks: 1
thrash56 is on a distinguished road
Default

Excellent script, thank you so much for creating it. It is extremely simple to understand and very expandable.

If anyone is having trouble trying to switch encoding on the chart data, there is a small bug that needs correction in the ./GoogleChart.php file. Function setDataEncoding is missing a "m_" before "szDataEnocding." An example of the fix is below.

Code:
	public function setDataEncoding($szEncoding = self::SIMPLE_ENCODING)
	{
		$this->m_szDataEncoding = $szEncoding;
		return $this;
	}
thrash56 is offline  
Reply With Quote