Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthomson authored Sep 14, 2024
1 parent ea56302 commit 4557ac7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ This package also supports older versions of Laravel and Chartjs. The previous s
```php
// Controller ExampleController.php

$chart = app()->chartjs
$chartjs = app()->chartjs
->name('pieChartTest')
->type('pie')
->size(['width' => 400, 'height' => 200])
Expand All @@ -323,12 +323,12 @@ $chart = app()->chartjs
])
->options([]);

return view('example', compact('chart'));
return view('example', compact('chartjs'));

// Blade example.blade.php

<div style="width:75%;">
{{ app()->chartjs()->render() }}
{!! $chartjs->render() !!}
</div>
```

Expand All @@ -339,4 +339,4 @@ This README, as well as the package, is in development, but will be constantly u
LaravelChartjs is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

# Provenance
Some of the original logic for this package was originally developed by Brian Faust. The main package from which this current version of the package is forked was primarily developed and maintained by Felix Costa. In 2024, the package was adopted by Icehouse Ventures which is an early-stage venture capital firm based in New Zealand. We use Chartjs heavily in our Laravel applications and want to give back to the Laravel community by making Chartjs fast and easy to implement across all major versions and to streamline the upgrade path.
Some of the original logic for this package was originally developed by Brian Faust. The main package from which this current version of the package is forked was primarily developed and maintained by Felix Costa. In 2024, the package was adopted by Icehouse Ventures which is an early-stage venture capital firm based in New Zealand. We use Chartjs heavily in our Laravel applications and want to give back to the Laravel community by making Chartjs fast and easy to implement across all major versions and to streamline the upgrade path.

0 comments on commit 4557ac7

Please sign in to comment.