summaryrefslogtreecommitdiffstats
path: root/src/datasets
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-12-13 00:09:38 -0600
committerTimothy Pearson <tpearson@raptorengineeringinc.com>2015-12-13 00:09:38 -0600
commita233c63b7379fe04219b5d666877e71dec3ba9e0 (patch)
tree3bed8e38d799cffb590a8d605fab6f226f250159 /src/datasets
parentac2c7e05d104d1dc39ccf5391b13103dab7d251f (diff)
downloadzetacomponents-graph-master.zip
zetacomponents-graph-master.tar.gz
Add option to bound fill between the current dataset and the previous dataset on radar plotsHEADmaster
Diffstat (limited to 'src/datasets')
-rw-r--r--src/datasets/base.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/datasets/base.php b/src/datasets/base.php
index 219b3f9..5dc9ae6 100644
--- a/src/datasets/base.php
+++ b/src/datasets/base.php
@@ -40,6 +40,10 @@
* @property mixed $fillLine
* Interpretation depends on underlying chart type
* @see chart type fillLines option for details
+ * @property bool $boundFillToPreviousDataSet
+ * Only fill the region between the current data set
+ * and the previous data set. Only works for radar
+ * plots at this time. @see $fillLine property.
* @property int $displayType
* Display type of chart data
* @property string $url
@@ -114,6 +118,7 @@ abstract class ezcGraphDataSet implements ArrayAccess, Iterator, Countable
$this->properties['highlight']->default = false;
$this->properties['fillLine'] = false;
+ $this->properties['boundFillToPreviousDataSet'] = false;
}
/**
@@ -168,6 +173,10 @@ abstract class ezcGraphDataSet implements ArrayAccess, Iterator, Countable
: (int) $propertyValue );
break;
+ case 'boundFillToPreviousDataSet':
+ $this->properties[$propertyName] = $propertyValue;
+ break;
+
default:
throw new ezcBasePropertyNotFoundException( $propertyName );
break;
OpenPOWER on IntegriCloud