Download the PHP package vemcogroup/nova-charts without Composer

On this page you can find all versions of the php package vemcogroup/nova-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 nova-charts

A Nova card to use add ChartJS charts

Latest Version on Packagist Total Downloads

This card tool gives the possibility to add cards with charts from Chart.js.

Screenshot 2019-12-13 at 09 55 37

Installation

You can install the nova tool in to a Laravel app that uses Nova via composer:

Usage

You can now use add card with charts from your resources data.

First you need to add the trait HasGraphData to the models that should show chart data.

The trait has 2 functions which can be extended to show chart data:

When adding the chart card to a resource these options are available:

At the moment its only possible to use chart on resource detail page

Title

You can set the title of the card.

Description

You can set the description of the card which will be shown below title.

Type

There are at the moment 3 types of charts available:

You can set your chart type like this, default is bar

Labels

If you dont want to display labels on the chart, you able to hide them.

Legends

If you dont want to display legends on the chart, you able to hide them.

Selections

You are able to create a section of selections below the chart that, when clicked, will change the data with the selection ex. selections of years.

By default selections are hidden until set.

You are also able to select which selection to start from.

Model (v3.x)

Only for version 3.x

Its required to set the model from where you want the data.

Resource (2.x | 1.x)

Only for version 1.x | 2.x

If you want to show a chart on a dashboard the chart dont know what resources to take data from, this can be defined by this option.

Remember to type resource as plural, ex companies

When using a chart on dashboard remember to override the function chartDashboardData($selection)


All versions of nova-charts with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version ^6.0|^7.0|^8.0|^9.0
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 vemcogroup/nova-charts contains the following files

Loading the files please wait ....