linechart/linechart

Define and render line charts based on data sets

dev-master 2016-05-10 11:56 UTC

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.

Build Status Coverage Status

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