Skip to content

Commit b266f96

Browse files
committed
bug #197 Chartjs 3 docs tweaks (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- Chartjs 3 docs tweaks | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | none | License | MIT Changes in Chart.js v3 - I got these when testing the docs just now :). Cheers! Commits ------- 73cb18d tweaking Chart.js README for changes in chart.js v3
2 parents 09fca7d + 73cb18d commit b266f96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Chartjs/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ class HomeController extends AbstractController
5252

5353
$chart->setOptions([
5454
'scales' => [
55-
'yAxes' => [
56-
['ticks' => ['min' => 0, 'max' => 100]],
55+
'y' => [
56+
'suggestedMin' => 0,
57+
'suggestedMax' => 100,
5758
],
5859
],
5960
]);

0 commit comments

Comments
 (0)