summaryrefslogtreecommitdiffstats
path: root/src/palette
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/palette
parentc925b7cbd916a294e96d361585c396cd107a827e (diff)
downloadzetacomponents-graph-51bbe683d53acf187ebaca6af0e8dcf8dc2db6e7.zip
zetacomponents-graph-51bbe683d53acf187ebaca6af0e8dcf8dc2db6e7.tar.gz
- Added outomatic colorization from pallets
Diffstat (limited to 'src/palette')
-rw-r--r--src/palette/black.php23
-rw-r--r--src/palette/tango.php29
2 files changed, 41 insertions, 11 deletions
diff --git a/src/palette/black.php b/src/palette/black.php
index 3c97294..d53edbe 100644
--- a/src/palette/black.php
+++ b/src/palette/black.php
@@ -68,19 +68,34 @@ class ezcGraphPaletteBlack extends ezcGraphPalette
protected $fontColor = '#D3D7CF';
/**
- * Bordercolor
+ * Bordercolor the chart
*
* @var ezcGraphColor
*/
- protected $borderColor = '#555753';
+ protected $chartBorderColor = '#555753';
/**
- * Borderwidth
+ * Borderwidth for the chart
*
* @var integer
* @access protected
*/
- protected $borderWidth = 0;
+ protected $chartBorderWidth = 1;
+
+ /**
+ * Bordercolor for elements
+ *
+ * @var ezcGraphColor
+ */
+ protected $elementBorderColor = '#555753';
+
+ /**
+ * Borderwidth for elements
+ *
+ * @var integer
+ * @access protected
+ */
+ protected $elementBorderWidth = 0;
/**
* Padding in elements
diff --git a/src/palette/tango.php b/src/palette/tango.php
index 08f6746..2e3d1ce 100644
--- a/src/palette/tango.php
+++ b/src/palette/tango.php
@@ -51,7 +51,7 @@ class ezcGraphPaletteTango extends ezcGraphPalette
* @var array
*/
protected $dataSetSymbol = array(
- ezcGraph::BULLET,
+ ezcGraph::NO_SYMBOL,
);
/**
@@ -66,22 +66,37 @@ class ezcGraphPaletteTango extends ezcGraphPalette
*
* @var ezcGraphColor
*/
- protected $fontColor = '#888A85';
+ protected $fontColor = '#555753';
/**
- * Bordercolor
+ * Bordercolor the chart
*
* @var ezcGraphColor
*/
- protected $borderColor = '#BABDB6';
+ protected $chartBorderColor = '#BABDB6';
/**
- * Borderwidth
+ * Borderwidth for the chart
*
* @var integer
* @access protected
*/
- protected $borderWidth = 0;
+ protected $chartBorderWidth = 1;
+
+ /**
+ * Bordercolor for elements
+ *
+ * @var ezcGraphColor
+ */
+ protected $elementBorderColor = '#BABDB6';
+
+ /**
+ * Borderwidth for elements
+ *
+ * @var integer
+ * @access protected
+ */
+ protected $elementBorderWidth = 0;
/**
* Padding in elements
@@ -95,7 +110,7 @@ class ezcGraphPaletteTango extends ezcGraphPalette
*
* @var integer
*/
- protected $margin = 1;
+ protected $margin = 0;
}
?>
OpenPOWER on IntegriCloud