code/DashboardChart.php
public static function create($title = null, $x_label = null, $y_label = null, $chartData = array ()) {
		self::$instances++;
		return new DashboardChart($title, $x_label, $y_label, $chartData);
	}
public static function create($title = null, $x_label = null, $y_label = null, $chartData = array ()) {
		self::$instances++;
		return new DashboardChart($title, $x_label, $y_label, $chartData);
	}
Creates a new instance of a DashboardChart

@param string The title of the chart
@param string The label of the X axis
@param string The label for the Y axis
@param array The chart data, in x/y pairs
@return DashboardChart