47 lines
1004 B
PHP
47 lines
1004 B
PHP
<?php
|
|
|
|
namespace Khill\Lavacharts\Charts;
|
|
|
|
use \Khill\Lavacharts\Support\Traits\PngRenderableTrait as PngRenderable;
|
|
|
|
/**
|
|
* PieChart Class
|
|
*
|
|
* A pie chart that is rendered within the browser using SVG or VML. Displays
|
|
* tooltips when hovering over slices.
|
|
*
|
|
*
|
|
* @package Khill\Lavacharts\Charts
|
|
* @since 1.0.0
|
|
* @author Kevin Hill <kevinkhill@gmail.com>
|
|
* @copyright (c) 2017, KHill Designs
|
|
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
|
|
* @link http://lavacharts.com Official Docs Site
|
|
* @license http://opensource.org/licenses/MIT MIT
|
|
*/
|
|
class PieChart extends Chart
|
|
{
|
|
use PngRenderable;
|
|
|
|
/**
|
|
* Javascript chart type.
|
|
*
|
|
* @var string
|
|
*/
|
|
const TYPE = 'PieChart';
|
|
|
|
/**
|
|
* Javascript chart version.
|
|
*
|
|
* @var string
|
|
*/
|
|
const VERSION = '1';
|
|
|
|
/**
|
|
* Javascript chart package.
|
|
*
|
|
* @var string
|
|
*/
|
|
const VISUALIZATION_PACKAGE = 'corechart';
|
|
}
|