laravel-enso / Charts by aocneanu

Server-side data builder for Chart.js, with a VueJS component for the frontend.
56,674
17
7
Package Data
Maintainer Username: aocneanu
Maintainer Contact: aocneanu@gmail.com (Adrian Ocneanu)
Package Create Date: 2017-03-19
Package Last Update: 2024-08-08
Home Page: https://docs.laravel-enso.com/packages/charts.html
Language: PHP
License: MIT
Last Refreshed: 2024-11-20 03:02:56
Package Statistics
Total Downloads: 56,674
Monthly Downloads: 592
Daily Downloads: 20
Total Stars: 17
Total Watchers: 7
Total Forks: 5
Total Open Issues: 0

Charts

Codacy Badge StyleCI License Total Downloads Latest Stable Version

Server-side data builder for charts.

This package can work independently of the Enso ecosystem.

The front end implementation that utilizes this api is present in the enso-ui/charts package.

For live examples and demos, you may visit laravel-enso.com

Watch the demo

click on the photo to view a short demo in compatible browsers

Installation

Comes pre-installed in Enso.

To install outside of Enso:

  1. composer require laravel-enso/charts

  2. publish the config with php artisan vendor:publish --tag=charts-config and customize as needed

  3. install the api implementation for the front end: yarn add @enso-ui/charts

Features

  • it supports Bar, Bubble, Line, Pie, Doughnut, Polar Area and Radar chart types
  • it creates properly formatted data structures, specific for each supported type of chart from a given data-set
  • the used colors are configurable through the publishable config file
  • can translate labels, legends and data series
  • can download the graphical representation of the graph, as a PNG file

Configuration & Usage

Be sure to check out the full documentation for this package available at docs.laravel-enso.com

Contributions

are welcome. Pull requests are great, but issues are good too.

License

This package is released under the MIT license.