Download the PHP package jaxon-php/jaxon-flot without Composer

On this page you can find all versions of the php package jaxon-php/jaxon-flot. 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 jaxon-flot

Javascript charts for Jaxon with Flot

Javascript charts for Jaxon with the Flot library. https://www.flotcharts.org

See the plugin in action with sample code.

Installation

Install this package with Composer.

Draw graphs

Create a new card to be displayed in a div with a given id, eg. "flot-container".

Add a graph in the card, and set its parameters.

The options are defined in the API docs.

Multiple data series can be added to a graph.

Each series can be defined using an array of points.

Or a javascript loop expression. The loop goes from a start to an end value, with the specified step. The last parameter is a Javascript function defined in the app, which takes a point as parameter and returns the corresponding value.

The X axis and Y axis options can also be set. Multiple X axis and Y axis can be added. For each axis, the labels can be optionally set either with an array of points, or with a loop expression.

Set the dimensions of the card.

Finally, draw the graph.

You can add as many graphs as you need in a single card, and you can draw many cards in a single page.

Draw a pie

Drawing a pie chart requires the pie plugin for Flot to be loaded. Call this PHP code before loading the page, or add the Flot pie plugin manually.

Create a new card to be displayed in a div with a given id, eg. "flot-container".

Set the card options.

Add the pie to the card

Finally, draw the graph.

Only one pie can be added to a card.

Contribute

License

The project is licensed under the BSD license.


All versions of jaxon-flot with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
jaxon-php/jaxon-core Version ^5.3
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 jaxon-php/jaxon-flot contains the following files

Loading the files please wait ...