Download the PHP package github2018/charts without Composer

On this page you can find all versions of the php package github2018/charts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package charts

DELETE vendor/github2018

charts2018

Charts is a multi-library chart package to create interactive charts using laravel.

StyleCI StyleCI StyleCI

Charts Logo

Table Of Contents

Installation

Video Tutorial

Video Tutorial

To install charts use composer

Download

Add service provider & alias

Add the following service provider to the array in:

Add the following alias to the array in:

Publish the assets

Default Settings

The file in: contains an array of settings, you can find the default settings in there.

Example Usage

Example Controller:

Example View:

Create Charts

Create Charts line area bar pie donut geo gauge temp percentage progressbar
chartjs x x x x x - - - - -
highcharts x x x x x x - - - -
google x x x x x x x - - -
material x - x - - - - - - -
chartist x x x x x - - - - -
fusioncharts x x x x x - - - - -
morris x x x - x - - - - -
plottablejs x x x x x - - - - -
minimalist x x x x x - - - - -
canvas-gauges - - - - - - x x - -
justgage - - - - - - x - x -
progressbarjs - - - - - - - - x x

The first argument of the create method is the chart type, and the second is the library

Multi Datasets Chart

Multi Dataset Charts line area bar pie donut geo gauge temp percentage progressbar
chartjs x x x - - - - - - -
highcharts x x x - - - - - - -
google x x x - - - - - - -
material x - x - - - - - - -
chartist x x x - - - - - - -
fusioncharts x x x - - - - - - -
morris x x x - - - - - - -
plottablejs x x x - - - - - - -
minimalist x x x - - - - - - -
canvas-gauges - - - - - - - - - -
justgage - - - - - - - - - -
progressbarjs - - - - - - - - - -

To create multi-dataset charts simply add the values using the function!

Database Charts

You can also generate database charts with simple setup!

Example data: Example Data

Note: You are required to use a specific group method before rendering the chart!

Important: To work with the GroupByYear, GroupByMonth, GroupByDay, lastByYear, lastByMonth & lastByDay you'll need the column in the data rows.

The available methods are:

Realtime Charts

Realtime Chart Example

Realtime Charts line area bar pie donut geo gauge temp percentage progressbar
chartjs - - - - - - - - - -
highcharts x x x - - - - - - -
google - - - - - - x - - -
material - - - - - - - - - -
chartist - - - - - - - - - -
fusioncharts - - - - - - - - - -
morris - - - - - - - - - -
plottablejs - - - - - - - - - -
minimalist - - - - - - - - - -
canvas-gauges - - - - - - x x - -
justgage - - - - - - x - x -
progressbarjs - - - - - - - - x x

You can create realtime charts.

Example json:

'value' can be changed to diferent index name with

Note: The interval is set in ms

The available methods are:

Math Functions Charts

You can create math function charts.

Math Functions Example

The function is , the interval is and the amplitude is

Charts Functions

Available Chart Settings:

Extend your way!

You can create your own Charts by forking this repository. The folder contains all the current charts, but you can add yours like this:

Create a new file

Create a new file, the syntax is:

if your chart library is called: and your template is for the line chart: Then you create a file like this:

To call it later, just use:

You will need to add the CSS / JS to the includes.php file found in the folder.

You have plenty of examples to see how to put the data so just take a closer look at all the included templates before doing yours!


All versions of charts with dependencies

PHP Build Version
Package Version
Requires consoletvs/charts Version 5.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package github2018/charts contains the following files

Loading the files please wait ....