<?php
/**
* @version	$Id: chart_helper.php 14241 2011-03-16 20:24:35Z alex $
* @package	In-Portal
* @copyright	Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
* @license      GNU/GPL
* In-Portal is Open Source software.
* This means that this software may have been modified pursuant
* the GNU General Public License, and as distributed it includes
* or is derivative of works licensed under the GNU General Public License
* or other free or open source software licenses.
* See http://www.in-portal.org/license for copyright notices and details.
*/

	defined('FULL_PATH') or die('restricted access!');

	class kChartHelper extends kHelper {

		function kChartHelper()
		{
			parent::kHelper();
			$prefix = realpath(dirname(__FILE__).'/../').'/general/libchart/classes/';

			require_once $prefix.'model/Point.php';
			require_once $prefix.'model/DataSet.php';
			require_once $prefix.'model/XYDataSet.php';
			require_once $prefix.'model/XYSeriesDataSet.php';

			require_once $prefix.'view/primitive/Padding.php';
			require_once $prefix.'view/primitive/Rectangle.php';
			require_once $prefix.'view/primitive/Primitive.php';
			require_once $prefix.'view/text/Text.php';
			require_once $prefix.'view/color/Color.php';
			require_once $prefix.'view/color/ColorSet.php';
			require_once $prefix.'view/color/Palette.php';
			require_once $prefix.'view/axis/Bound.php';
			require_once $prefix.'view/axis/Axis.php';
			require_once $prefix.'view/plot/Plot.php';
			require_once $prefix.'view/caption/Caption.php';
			require_once $prefix.'view/chart/Chart.php';
			require_once $prefix.'view/chart/BarChart.php';
			require_once $prefix.'view/chart/VerticalBarChart.php';
			require_once $prefix.'view/chart/HorizontalBarChart.php';
			require_once $prefix.'view/chart/LineChart.php';
			require_once $prefix.'view/chart/PieChart.php';
		}

	}