diff --git a/src/Chart/Pie.php b/src/Chart/Pie.php index 83a9757..907eed8 100644 --- a/src/Chart/Pie.php +++ b/src/Chart/Pie.php @@ -1156,7 +1156,7 @@ public function drawPieLegend($X, $Y, array $Format = []) } } - $this->Shadow = $RestoreShadow; + $this->pChartObject->Shadow = $RestoreShadow; } /** diff --git a/src/Chart/Scatter.php b/src/Chart/Scatter.php index e7c606f..0b1853a 100644 --- a/src/Chart/Scatter.php +++ b/src/Chart/Scatter.php @@ -1416,7 +1416,7 @@ public function drawScatterLegend($X, $Y, array $Format = []) ); } $RestoreShadow = $this->pChartObject->Shadow; - $this->Shadow = false; + $this->pChartObject->Shadow = false; foreach ($Data["ScatterSeries"] as $Key => $Series) { if ($Series["isDrawable"] == true) { $R = $Series["Color"]["R"]; @@ -1535,7 +1535,7 @@ public function drawScatterLegend($X, $Y, array $Format = []) } } - $this->Shadow = $RestoreShadow; + $this->pChartObject->Shadow = $RestoreShadow; } /** @@ -2244,7 +2244,7 @@ public function drawScatterThresholdArea($Value1, $Value2, array $Format = []) ] ); if ($DisableShadowOnArea) { - $this->Shadow = false; + $$this->pChartObject->Shadow = false; } } diff --git a/src/Chart/Spring.php b/src/Chart/Spring.php index 6797b1f..229000e 100644 --- a/src/Chart/Spring.php +++ b/src/Chart/Spring.php @@ -74,6 +74,21 @@ class Spring */ public $AutoComputeFreeZone = false; + /** + * @var int|float + */ + private $MagneticForceA; + + /** + * @var int|float + */ + private $MagneticForceR; + + /** + * @var int|float + */ + private $RingSize; + public function __construct() { /* Set nodes defaults */