Download the PHP package noximo/php-colored-ascii-linechart without Composer
On this page you can find all versions of the php package noximo/php-colored-ascii-linechart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-colored-ascii-linechart
PHP-colored-ascii-linechart
Create beautiful, versatile ASCII line-charts within Terminal, written in PHP
.
- Create multiple lines in a single chart, each with its own color,
- Use points in your chart ,
- Scale the chart to a desired height or let it grow and shrink freely,
- Have multi-colored lines based on uptrends and downtrends,
- Print charts as ASCII colored text, a HTML snippet or png image,
- Use simple API that helps with animating sequence of charts.
Built upon kroitor/asciichart
Installation
Usage
Simple Output:
This will print a simple chart with a single point in default colors.
Advanced Output:
This will print out the chart shown in the heading.
HTML Output
Image Output
Images are a work in progress. You can look in /examples
folder for a beta implementation.
Development Pathway / To-Do
- Refactoring of colorizers and printers:
- single colorizer regardles of output type,
- chart class rewrite so $chart->toHtml(), $chart->toPng(), $chart->toAscii() etc. exists,
- Proper image support. Animated images through gifs,
- Better customization (backgrounds, borders),
- X axis with labels.
All versions of php-colored-ascii-linechart with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 7.1
ext-json Version >=1.3.7
ext-json Version >=1.3.7
The package noximo/php-colored-ascii-linechart contains the following files
Loading the files please wait ....