summaryrefslogtreecommitdiffstats
path: root/src/palette
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-09-20 08:55:31 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-09-20 08:55:31 +0000
commit593169b297351ac5f2a40b800a308eed4fd99955 (patch)
treeac946b2db453c4e362c26af3c99ea4e8a658498a /src/palette
parent4d278aa89532d652027b135a10dbf66449d0e439 (diff)
downloadzetacomponents-graph-593169b297351ac5f2a40b800a308eed4fd99955.zip
zetacomponents-graph-593169b297351ac5f2a40b800a308eed4fd99955.tar.gz
- Added two small test for palettes ez and ezBlue
- Fixes shadows in 3d renderer - Added ez palette
Diffstat (limited to 'src/palette')
-rw-r--r--src/palette/ez.php89
1 files changed, 89 insertions, 0 deletions
diff --git a/src/palette/ez.php b/src/palette/ez.php
new file mode 100644
index 0000000..9cfef1d
--- /dev/null
+++ b/src/palette/ez.php
@@ -0,0 +1,89 @@
+<?php
+/**
+ * File containing the abstract ezcGraphPaletteEz class
+ *
+ * @package Graph
+ * @version //autogentag//
+ * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+/**
+ * Color pallet for ezcGraph based on eZ color scheme
+ *
+ * @package Graph
+ */
+class ezcGraphPaletteEz extends ezcGraphPalette
+{
+ /**
+ * Axiscolor
+ *
+ * @var ezcGraphColor
+ */
+ protected $axisColor = '#1E1E1E';
+
+ /**
+ * Array with colors for datasets
+ *
+ * @var array
+ */
+ protected $dataSetColor = array(
+ '#C60C30',
+ '#C90062',
+ '#E05206',
+ '#F0AB00',
+ '#D4BA00',
+ '#9C9A00',
+ '#3C8A2E',
+ '#006983',
+ '#0098C3',
+ '#21578A',
+ '#55517B',
+ '#4E7D5B',
+ );
+
+ /**
+ * Array with symbols for datasets
+ *
+ * @var array
+ */
+ protected $dataSetSymbol = array(
+ ezcGraph::BULLET,
+ );
+
+ /**
+ * Name of font to use
+ *
+ * @var string
+ */
+ protected $fontName = 'sans-serif';
+
+ /**
+ * Fontcolor
+ *
+ * @var ezcGraphColor
+ */
+ protected $fontColor = '#1E1E1E';
+
+ /**
+ * Backgroundcolor for chart
+ *
+ * @var ezcGraphColor
+ */
+ protected $chartBackground = '#FFFFFFFF';
+
+ /**
+ * Padding in elements
+ *
+ * @var integer
+ */
+ protected $padding = 1;
+
+ /**
+ * Margin of elements
+ *
+ * @var integer
+ */
+ protected $margin = 0;
+}
+
+?>
OpenPOWER on IntegriCloud