1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Code cleanup

This commit is contained in:
Cameron
2015-02-15 02:37:36 -08:00
parent 5be1cbe67f
commit 027a74f5b0
55 changed files with 211 additions and 174 deletions

View File

@@ -207,10 +207,11 @@ class e_chart
{
return json_encode($this->options);
}
/**
* Set the type of graph
* @param string $type - line | bar | pie | radar | doughnut | polar
* @param string $type - line | bar | pie | radar | doughnut | polar
* @return $this
*/
public function setType($type)
{
@@ -223,6 +224,7 @@ class e_chart
* Set the data values
* @param array $data
* @param string $id of canvas element
* @return $this
*/
public function setData($data)
{