Skip to content

Commit

Permalink
fix doc about optionsRaw
Browse files Browse the repository at this point in the history
  • Loading branch information
fxcosta committed Jul 19, 2017
1 parent ef72b11 commit b2b1560
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand All @@ -71,7 +71,7 @@ Using the method optionsRaw(string) its possible to add a the options in raw for
}
}]
}
}";
}");
```

# Examples
Expand Down
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function options(array $options)
}

/**
*
*
* @param string $optionsRaw
* @return \self
*/
Expand Down

0 comments on commit b2b1560

Please sign in to comment.