# Custom chart
`laravel-admin 1.5` has removed all the chart components. If you want to add chart components to the page, you can refer to the following process
Use `chartjs` for example, first download [chartjs](http://chartjs.org/), put it under the public directory, such as in the `public/vendor/chartjs` directory
Then import the component in `app/Admin/bootstrap.php`:
```php
use Encore\Admin\Facades\Admin;
Admin::js('/vendor/chartjs/dist/Chart.min.js');
```
Create a new view file `resources/views/admin/charts/bar.blade.php`
```php
```
And then you can introduce this chart view anywhere on the page:
```php
public function index()
{
return Admin::content(function (Content $content) {
$content->header('chart');
$content->description('.....');
$content->body(view('admin.charts.bar'));
});
}
```
In the above way you can introduce any chart library. multi-chart page layout, refer to [view layout] (/en/layout.md)