2017 © Pedro Peláez
 

library laravel-highcharts

This is a package for generating a Highchart JSON config.

image

mauro-moreno/laravel-highcharts

This is a package for generating a Highchart JSON config.

  • Friday, February 5, 2016
  • by mauro-moreno
  • Repository
  • 4 Watchers
  • 14 Stars
  • 2,903 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

laravel-highcharts

This is a package for generating a Highchart JSON config., (*1)

Based in PHP Highcharts., (*2)

Installation

Run the following command and provide the latest stable version (e.g v2.4.15) :, (*3)

composer require mauro-moreno/laravel-highcharts

or add the following to your composer.json file :, (*4)

"mauro-moreno/laravel-highcharts": "^1.0.0"

Then register this service provider with Laravel :, (*5)

'providers' => [
    ...
    Aivo\Highchart\HighchartServiceProvider::class,
    ...
]

Usage

Create a chart:, (*6)

$chart = App::make('highchart')
    ->setTitle('Scatter plot with regression line')
    ->addSeries(
        array(
            ScatterSeries::factory()
                ->setName('Observations')
                ->addData(array(1, 1.5, 2.8, 3.5, 3.9, 4.2)),
            LineSeries::factory()
                ->setName('Regression line')
                ->addDataPoint(DataPoint::factory(0, 1.11))
                ->addDataPoint(DataPoint::factory(5, 4.51))
                ->getMarker()->setEnabled(false)->getSeries()
                ->setEnableMouseTracking(false),
        )
    )
;
$chart->render();

The Versions

05/02 2016

dev-master

9999999-dev

This is a package for generating a Highchart JSON config.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

laravel highcharts

05/02 2016

dev-develop

dev-develop

This is a package for generating a Highchart JSON config.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

laravel highcharts

05/02 2016

v1.0.0

1.0.0.0

This is a package for generating a Highchart JSON config.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

laravel highcharts