diff --git a/README.md b/README.md index 4cf6035..cb10973 100755 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Since the current version allows it to add simple json string based options, it Using the method optionsRaw(string) its possible to add a the options in raw format: ```php - $chart->optionsRaw = "{ + $chart->optionsRaw("{ legend: { display:false }, @@ -71,7 +71,7 @@ Using the method optionsRaw(string) its possible to add a the options in raw for } }] } - }"; + }"); ``` # Examples diff --git a/src/Builder.php b/src/Builder.php index 0f2245e..ac98da8 100644 --- a/src/Builder.php +++ b/src/Builder.php @@ -124,7 +124,7 @@ public function options(array $options) } /** - * + * * @param string $optionsRaw * @return \self */