summaryrefslogtreecommitdiffstats
path: root/src/graph.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-06 14:33:35 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-06 14:33:35 +0000
commit51bbe683d53acf187ebaca6af0e8dcf8dc2db6e7 (patch)
treec210178cbb44bd302e4dc2decc447468f2852961 /src/graph.php
parentc925b7cbd916a294e96d361585c396cd107a827e (diff)
downloadzetacomponents-graph-51bbe683d53acf187ebaca6af0e8dcf8dc2db6e7.zip
zetacomponents-graph-51bbe683d53acf187ebaca6af0e8dcf8dc2db6e7.tar.gz
- Added outomatic colorization from pallets
Diffstat (limited to 'src/graph.php')
-rw-r--r--src/graph.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graph.php b/src/graph.php
index dd868cd..244dd5f 100644
--- a/src/graph.php
+++ b/src/graph.php
@@ -54,6 +54,12 @@ class ezcGraph
}
}
+ /**
+ * Creates a palette from given name
+ *
+ * @param string $name Name of the palette
+ * @return ezcGraphPalette Created palette
+ */
static public function createPalette( $name )
{
$className = 'ezcGraphPalette' . $name;
OpenPOWER on IntegriCloud