Download the PHP package wladiz2001/visjs without Composer
On this page you can find all versions of the php package wladiz2001/visjs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wladiz2001/visjs
More information about wladiz2001/visjs
Files in wladiz2001/visjs
Package visjs
Short Description Visjs 4 Integration for Laravel > 5.5
License MIT
Homepage https://github.com/wladiz2001/visjs
Informations about the package visjs
Visjs
Simple package to facilitate and automate the use of (network) charts in Laravel 5.x
using Visjs.
Code is 'inspired' from laravel-chartjs.
Installation
Via Composer
Finaly, for now, you must install and add to your layouts / templates the Visjs library that can be easily found for download at: http://visjs.org/. This setting will also be improved.
Usage
You can request to Service Container the service responsible for building the charts and passing through fluent interface the chart settings.
For now the builder needs the name of the chart, the type of chart that can be anything that is supported by visjs and the other custom configurations like, datasets, size and options.
In the dataset interface you can pass any configuration and option to your chart. All options available in visjs documentation are supported. Just write the configuration with php array notations and its work!
Advanced visjs options
Since the current version allows it to add simple json string based options, it is not possible to generate options like:
Using the method optionsRaw(string) its possible to add a the options in raw format:
Examples
1 - Network Chart:
OBS:
This README as well as the package is in development but will be constantly updated and will keep you informed as soon as are ready for production. Thank you for understanding.
Any questions or suggestions preferably open a issue!
License
VisJs is open-sourced software licensed under the MIT license.
Change log
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
- author name
- All Contributors