linechart / linechart
Define and render line charts based on data sets
dev-master
2016-05-10 11:56 UTC
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: ^4.8
This package is not auto-updated.
Last update: 2024-05-11 17:07:12 UTC
README
Build simple svg line charts based on an array of [x,y]
points.
Fetures
- Define one or more data sets (as a list of
(x,y)
points) - Automatically scale diagram to the range defined by the data sets
- Render data sets (as lines); render a grid (with a given number of horizontal/vertical lines)
Usage
See the example.php file.
TODO
- Print legends for data sets
- add labels to grid lines to indicate the values