mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
38 lines
876 B
PHP
Executable File
38 lines
876 B
PHP
Executable File
<?php namespace Fx3costa\LaravelChartJs\Providers;
|
|
|
|
use Fx3costa\LaravelChartJs\Builder;
|
|
use Fx3costa\LaravelChartJs\ChartBar;
|
|
use Fx3costa\LaravelChartJs\ChartLine;
|
|
use Fx3costa\LaravelChartJs\ChartPieAndDoughnut;
|
|
use Fx3costa\LaravelChartJs\ChartRadar;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class ChartjsServiceProvider extends ServiceProvider
|
|
{
|
|
|
|
/**
|
|
* Array with colours configuration of the chartjs config file
|
|
* @var array
|
|
*/
|
|
protected $colours = [];
|
|
|
|
public function boot()
|
|
{
|
|
$this->loadViewsFrom(__DIR__.'/../resources/views', 'chart-template');
|
|
$this->colours = config('chartjs.colours');
|
|
}
|
|
|
|
|
|
/**
|
|
* Register the service provider.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
$this->app->bind('chartjs', function() {
|
|
return new Builder();
|
|
});
|
|
}
|
|
}
|