| Recommend this page to a friend! | 
| Info | Documentation | Demos | Screenshots | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 50 | All time:  10,720 This week: 62 | ||||
| Version | License | PHP version | Categories | |||
| larapex-charts 1.0.4 | Custom (specified... | 7.0 | PHP 5, Graphics | 
| Description | Author  | ||||||||||||||||||||||
This package can be used to display charts on a page using APEXCharts library.  | 
  | ||||||||||||||||||||||
A Laravel wrapper for apex charts library.
Use composer.
composer require arielmejiadev/larapex-charts
In your controller add:
$chart = LarapexChart::setTitle('Posts')
                   ->setDataset([150, 120])
                   ->setLabels(['Published', 'No Published']);
Remember to import the Facade to your controller with
use ArielMejiaDev\LarapexCharts\Facades\LarapexChart
Or importing the LarapexChart class:
use ArielMejiaDev\LarapexCharts\LarapexChart;
Then in your view (Blade file) add:
 <!doctype html>
 <html lang="en">
 <head>
     <meta charset="UTF-8">
     <meta name="viewport"
           content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
     <title>Chart Sample</title>
 </head>
 <body>
 
     {!! $chart->container() !!}
 
     <script src="{{ $chart->cdn() }}"></script>
 
     {{ $chart->script() }}
 </body>
 </html>
$chart = LarapexChart::setType('area')
        ->setTitle('Total Users Monthly')
        ->setSubtitle('From January to March')
        ->setXAxis([
            'Jan', 'Feb', 'Mar'
        ])
        ->setDataset([
            [
                'name'  =>  'Active Users',
                'data'  =>  [250, 700, 1200]
            ]
        ]);
You can create a variety of charts including: Line, Area, Bar, Horizantal Bar, Heatmap, pie, donut and Radialbar.
Check the documentation on: Larapex Chart Docs
The author Ariel Mejia Dev.
| Screenshots (1) | ||
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| / | .idea | 
| File | Role | Description | 
|---|---|---|
|    | 
Data | Auxiliary data | 
|    | 
Data | Auxiliary data | 
|    | 
Data | Auxiliary data | 
|    | 
Data | Auxiliary data | 
|    | 
Data | Auxiliary data | 
|    | 
Data | Auxiliary data | 
|    | 
Data | Auxiliary data | 
| / | resources | / | views | / | chart | 
| File | Role | Description | 
|---|---|---|
|    | 
Aux. | Auxiliary script | 
|    | 
Aux. | Auxiliary script | 
|    | 
Aux. | Auxiliary script | 
| / | src | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Class | Class source | ||
|    | 
Class | Class source | ||
| / | tests | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Class | Class source | ||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 95% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.