diff options
-rw-r--r-- | src/interfaces/element.php | 2 | ||||
-rw-r--r-- | src/options/chart.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/element.php b/src/interfaces/element.php index c05090b..9d5a678 100644 --- a/src/interfaces/element.php +++ b/src/interfaces/element.php @@ -133,7 +133,7 @@ abstract class ezcGraphChartElement extends ezcBaseOptions $this->properties['fontCloned'] = true; } - $this->properties['font']->font = $propertyValue; + $this->properties['font']->path = $propertyValue; } else { diff --git a/src/options/chart.php b/src/options/chart.php index 818a1df..717fd14 100644 --- a/src/options/chart.php +++ b/src/options/chart.php @@ -48,7 +48,7 @@ class ezcGraphChartOptions extends ezcBaseOptions $this->properties['height'] = max( 1, (int) $propertyValue ); break; case 'font': - $this->properties['font']->font = $propertyValue; + $this->properties['font']->path = $propertyValue; break; default: throw new ezcBasePropertyNotFoundException( $propertyName ); |