All Projects → ArielMejiaDev → Larapex Charts

ArielMejiaDev / Larapex Charts

Licence: mit
A Laravel wrapper for apex charts

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Larapex Charts

Charts
⚡ Laravel Charts — Build charts using laravel. The laravel adapter for Chartisan.
Stars: ✭ 2,337 (+2858.23%)
Mutual labels:  laravel, charts
Laravel Coreui Vue
Boilerplate for Single Page Application, powered by Laravel, CoreUI, Vue
Stars: ✭ 78 (-1.27%)
Mutual labels:  laravel
Laravel Apps
Laravel multi-application support.
Stars: ✭ 75 (-5.06%)
Mutual labels:  laravel
Laravel Country State
A helper to list countries & states in English in Laravel 5.1+
Stars: ✭ 77 (-2.53%)
Mutual labels:  laravel
Aliyun Oss Php Sdk Laravel
A Laravel service provider for the AliCloud OSS SDK for PHP
Stars: ✭ 76 (-3.8%)
Mutual labels:  laravel
Livechart
Android library to draw beautiful and rich line charts.
Stars: ✭ 78 (-1.27%)
Mutual labels:  charts
Laravel Multistep Forms
Responsable Multistep Form Builder for Laravel
Stars: ✭ 76 (-3.8%)
Mutual labels:  laravel
Wechat
Deprecated 微信公众平台企业号 SDK
Stars: ✭ 78 (-1.27%)
Mutual labels:  laravel
Voten
The code that powers voten.co
Stars: ✭ 1,215 (+1437.97%)
Mutual labels:  laravel
Laravel Impersonate
Laravel Impersonate is a plugin that allows you to authenticate as your users.
Stars: ✭ 1,201 (+1420.25%)
Mutual labels:  laravel
Db Seeder
A database seeder app for MySQL
Stars: ✭ 77 (-2.53%)
Mutual labels:  laravel
Ac D3
Javascript Library for building Audiovisual Charts in D3
Stars: ✭ 76 (-3.8%)
Mutual labels:  charts
Adminkit
laravel和Uikit开发的后台管理系统雏形 自带完整oauth授权管理模块
Stars: ✭ 78 (-1.27%)
Mutual labels:  laravel
Laravel 5 Messenger
A Simple Laravel 5, 6, 7 & 8 Messenger with Pusher Capabilities
Stars: ✭ 75 (-5.06%)
Mutual labels:  laravel
Requent
A GraphQL like interface to map a request to eloquent query with data transformation for Laravel.
Stars: ✭ 78 (-1.27%)
Mutual labels:  laravel
Laravel Log To Db
Custom Laravel and Lumen 5.6+ Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel/Monolog native logging functionality.
Stars: ✭ 76 (-3.8%)
Mutual labels:  laravel
Upload
Ajax Upload Large File Support jQuery-File-Upload, FileApi, Plupload, Dropzone Support framework Laravel 5
Stars: ✭ 76 (-3.8%)
Mutual labels:  laravel
Laravel Schedulable
Schedule and unschedule eloquent models elegantly without cron jobs
Stars: ✭ 78 (-1.27%)
Mutual labels:  laravel
Awesome Laravel
A curated list of delightful Laravel PHP framework packages and resources
Stars: ✭ 1,219 (+1443.04%)
Mutual labels:  laravel
Laravel Property Bag
Add settings to any Laravel model.
Stars: ✭ 78 (-1.27%)
Mutual labels:  laravel

Larapex Charts

MadeWithLaravel.com shield

Latest Stable Version

Total Downloads

Latest Unstable Version

License

A Laravel wrapper for apex charts library Check the documentation on: Larapex Chart Docs.

Installation

Use composer.

composer require arielmejiadev/larapex-charts

Usage

Basic example

In your controller add:

$chart = (new 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>

More complex example

$chart = (new 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.

More examples

Check the documentation on: Larapex Chart Docs

Contributing

The author Ariel Mejia Dev.

License

MIT

Support the project

Hey 👋 thanks for considering making a donation, with these donations I can continue working to contribute to opensource projects.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].